Updated posts with proper markup
This commit is contained in:
parent
8850c0bcc5
commit
9fa059a16b
2 changed files with 114 additions and 133 deletions
|
@ -11,13 +11,13 @@ body:
|
||||||
<table border="0" cellpadding="0" cellspacing="0" id="string_entity" style="width:100%">
|
<table border="0" cellpadding="0" cellspacing="0" id="string_entity" style="width:100%">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="4"><strong>String entity</strong></td>
|
<th colspan="4"><strong>String entity</strong></th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong>Type</strong></td>
|
<th><strong>Type</strong></th>
|
||||||
<td><strong>Name</strong></td>
|
<th><strong>Name</strong></th>
|
||||||
<td><strong>Description</strong></td>
|
<th><strong>Description</strong></th>
|
||||||
<td><strong>Null value</strong></td>
|
<th><strong>Null value</strong></th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>uint16</td>
|
<td>uint16</td>
|
||||||
|
@ -34,17 +34,15 @@ body:
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<table border="0" cellpadding="0" cellspacing="0" id="property_entity" style="width:100%">
|
<table border="0" cellpadding="0" cellspacing="0" id="property_entity" style="width:100%">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="3"><strong>Property entity</strong></td>
|
<th colspan="3"><strong>Property entity</strong></th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong>Type</strong></td>
|
<th><strong>Type</strong></th>
|
||||||
<td><strong>Name</strong></td>
|
<th><strong>Name</strong></th>
|
||||||
<td><strong>Description</strong></td>
|
<th><strong>Description</strong></th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="#string_entity">string</a></td>
|
<td><a href="#string_entity">string</a></td>
|
||||||
|
@ -59,18 +57,16 @@ body:
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<p> </p>
|
|
||||||
|
|
||||||
<table border="0" cellpadding="0" cellspacing="0" style="width:100%">
|
<table border="0" cellpadding="0" cellspacing="0" style="width:100%">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="4"><strong>Record entity</strong></td>
|
<th colspan="4"><strong>Record entity</strong></th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><strong>Type</strong></td>
|
<th><strong>Type</strong></th>
|
||||||
<td><strong>Field name</strong></td>
|
<th><strong>Field name</strong></th>
|
||||||
<td><strong>Description</strong></td>
|
<th><strong>Description</strong></th>
|
||||||
<td><strong>Null value</strong></td>
|
<th><strong>Null value</strong></th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="#string_entity">string</a></td>
|
<td><a href="#string_entity">string</a></td>
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
title: The penguin trials after two weeks
|
title: The penguin trials after two weeks
|
||||||
---
|
---
|
||||||
body:
|
body:
|
||||||
|
@ -19,23 +18,21 @@ not so long ago when I tried to install linux on my home computer and that
|
||||||
happened, luckily it had a solution, I just needed to install `lightdm-gtk-
|
happened, luckily it had a solution, I just needed to install `lightdm-gtk-
|
||||||
greeter` and replace it at the lightdm configuration.
|
greeter` and replace it at the lightdm configuration.
|
||||||
|
|
||||||
|
``` text
|
||||||
|
|
||||||
# /etc/lightdm/lightdm.conf
|
# /etc/lightdm/lightdm.conf
|
||||||
# ...
|
# ...
|
||||||
greeter-session=lightdm-gtk-greeter
|
greeter-session=lightdm-gtk-greeter
|
||||||
# ...
|
# ...
|
||||||
|
```
|
||||||
|
|
||||||
### Better font rendering for i3
|
### Better font rendering for i3
|
||||||
|
|
||||||
The default fonts for the i3bar and so on are a bit clunky for my personal
|
The default fonts for the i3bar and so on are a bit clunky for my personal
|
||||||
taste so I changed the rendering from `pango` to `xft` and now it looks nice.
|
taste so I changed the rendering from `pango` to `xft` and now it looks nice.
|
||||||
|
|
||||||
|
``` text
|
||||||
|
|
||||||
font xft:monospace 8
|
font xft:monospace 8
|
||||||
|
```
|
||||||
|
|
||||||
### Better font rendering system wide (ala. OS X)
|
### Better font rendering system wide (ala. OS X)
|
||||||
|
|
||||||
|
@ -50,10 +47,9 @@ Wiki entry](https://wiki.archlinux.org/index.php/Infinality) on the subject
|
||||||
and used the setup for the _Soft of OS X_ appareance editing the
|
and used the setup for the _Soft of OS X_ appareance editing the
|
||||||
`/etc/profile.d/infinality-settings.sh` using the `ultimate5` configuration.
|
`/etc/profile.d/infinality-settings.sh` using the `ultimate5` configuration.
|
||||||
|
|
||||||
|
``` text
|
||||||
|
|
||||||
export INFINALITY_FT="ultimate5"
|
export INFINALITY_FT="ultimate5"
|
||||||
|
```
|
||||||
|
|
||||||
Just restart X to the settings to take effect. I haven't seen problems with
|
Just restart X to the settings to take effect. I haven't seen problems with
|
||||||
the infinality patch until now.
|
the infinality patch until now.
|
||||||
|
@ -68,10 +64,9 @@ file and use that as wallpaper.
|
||||||
|
|
||||||
Just adding this to my i3 config file:
|
Just adding this to my i3 config file:
|
||||||
|
|
||||||
|
``` text
|
||||||
|
|
||||||
exec_always feh --bg ~/.config/i3/wallpaper.png
|
exec_always feh --bg ~/.config/i3/wallpaper.png
|
||||||
|
```
|
||||||
|
|
||||||
I want to improve it having a script that will iterate over png images inside
|
I want to improve it having a script that will iterate over png images inside
|
||||||
a folder and using one at random but since I don't need fancy stuff this will
|
a folder and using one at random but since I don't need fancy stuff this will
|
||||||
|
@ -82,11 +77,10 @@ work for now.
|
||||||
To start programs when you log in at your session adding them to your i3
|
To start programs when you log in at your session adding them to your i3
|
||||||
configuration seems like the way to go:
|
configuration seems like the way to go:
|
||||||
|
|
||||||
|
``` text
|
||||||
|
|
||||||
# Startup programs
|
# Startup programs
|
||||||
exec dropbox
|
exec dropbox
|
||||||
|
```
|
||||||
|
|
||||||
### Adding a lock screen with i3lock
|
### Adding a lock screen with i3lock
|
||||||
|
|
||||||
|
@ -95,8 +89,7 @@ one can, just say, put a David Hasselhoff wallpaper on it or something, so
|
||||||
with `i3lock`, `scrut`, a bash script and a key binding I have a very nice
|
with `i3lock`, `scrut`, a bash script and a key binding I have a very nice
|
||||||
screen locker in place!
|
screen locker in place!
|
||||||
|
|
||||||
|
``` text
|
||||||
|
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# Take screenshot
|
# Take screenshot
|
||||||
|
@ -107,14 +100,13 @@ screen locker in place!
|
||||||
|
|
||||||
# Lock screen with the image
|
# Lock screen with the image
|
||||||
i3lock -i /tmp/lockscreen.png
|
i3lock -i /tmp/lockscreen.png
|
||||||
|
```
|
||||||
|
|
||||||
And in the i3 config file:
|
And in the i3 config file:
|
||||||
|
|
||||||
|
``` text
|
||||||
|
|
||||||
bindsym $mod+l ~/.config/i3/i3lock.sh
|
bindsym $mod+l ~/.config/i3/i3lock.sh
|
||||||
|
```
|
||||||
|
|
||||||
### More integrated notifications with dunst
|
### More integrated notifications with dunst
|
||||||
|
|
||||||
|
@ -133,12 +125,11 @@ This was easy since I just need to bind the X media volume up and down to the
|
||||||
alsa mixer control app so I can use the keyboard to control the system volume
|
alsa mixer control app so I can use the keyboard to control the system volume
|
||||||
easily.
|
easily.
|
||||||
|
|
||||||
|
``` text
|
||||||
|
|
||||||
# Media keys
|
# Media keys
|
||||||
bindsym XF86AudioRaiseVolume exec amixer -q set Master 4%+ unmute
|
bindsym XF86AudioRaiseVolume exec amixer -q set Master 4%+ unmute
|
||||||
bindsym XF86AudioLowerVolume exec amixer -q set Master 4%- unmute
|
bindsym XF86AudioLowerVolume exec amixer -q set Master 4%- unmute
|
||||||
|
```
|
||||||
|
|
||||||
### Using the media keys for media players with playerctl
|
### Using the media keys for media players with playerctl
|
||||||
|
|
||||||
|
@ -148,14 +139,13 @@ Just installed `playerctl` and every app I used until now worked out of the
|
||||||
box. Even the forward/backwards keys for `mpv` which wasn't working for mpv
|
box. Even the forward/backwards keys for `mpv` which wasn't working for mpv
|
||||||
with mps-youtube on OS X are functional on my linux box!
|
with mps-youtube on OS X are functional on my linux box!
|
||||||
|
|
||||||
|
``` text
|
||||||
|
|
||||||
# Media player controls
|
# Media player controls
|
||||||
bindsym XF86AudioPlay exec playerctl play-pause
|
bindsym XF86AudioPlay exec playerctl play-pause
|
||||||
# bindsym XF86AudioPause exec playerctl pause
|
# bindsym XF86AudioPause exec playerctl pause
|
||||||
bindsym XF86AudioNext exec playerctl next
|
bindsym XF86AudioNext exec playerctl next
|
||||||
bindsym XF86AudioPrev exec playerctl previous
|
bindsym XF86AudioPrev exec playerctl previous
|
||||||
|
```
|
||||||
|
|
||||||
### Removing the title bars for the windows
|
### Removing the title bars for the windows
|
||||||
|
|
||||||
|
@ -164,11 +154,10 @@ at the titlebar of the app you're using? Some like the browsers didn't even
|
||||||
have one! So I've removed the titlebars and left only 2px borders for the
|
have one! So I've removed the titlebars and left only 2px borders for the
|
||||||
application windows.
|
application windows.
|
||||||
|
|
||||||
|
``` text
|
||||||
|
|
||||||
# Windows without titlebars
|
# Windows without titlebars
|
||||||
for_window [class="^.*"] border pixel 2
|
for_window [class="^.*"] border pixel 2
|
||||||
|
```
|
||||||
|
|
||||||
### Auto enable floating for pop-up windows
|
### Auto enable floating for pop-up windows
|
||||||
|
|
||||||
|
@ -176,11 +165,10 @@ It was really annoying watching a google login window take half of the desktop
|
||||||
just for a moment to login into a service, so every window with the role of
|
just for a moment to login into a service, so every window with the role of
|
||||||
popup is now floating by default.
|
popup is now floating by default.
|
||||||
|
|
||||||
|
``` text
|
||||||
|
|
||||||
# Browser popups floating
|
# Browser popups floating
|
||||||
for_window [window_role="pop-up"] floating enable
|
for_window [window_role="pop-up"] floating enable
|
||||||
|
```
|
||||||
|
|
||||||
### Using a custom i3bar with i3pystatus
|
### Using a custom i3bar with i3pystatus
|
||||||
|
|
||||||
|
@ -188,8 +176,7 @@ Since most of the default information the i3bar was unnecesary I found out
|
||||||
about i3pystatus that allows you to use python modules to customize the i3bar
|
about i3pystatus that allows you to use python modules to customize the i3bar
|
||||||
at will. Below are my config file and the i3bar.py I use for it.
|
at will. Below are my config file and the i3bar.py I use for it.
|
||||||
|
|
||||||
|
``` python
|
||||||
|
|
||||||
from i3pystatus import Status
|
from i3pystatus import Status
|
||||||
from i3pystatus.updates import pacman, yaourt
|
from i3pystatus.updates import pacman, yaourt
|
||||||
|
|
||||||
|
@ -232,15 +219,15 @@ at will. Below are my config file and the i3bar.py I use for it.
|
||||||
format="♪{volume}",)
|
format="♪{volume}",)
|
||||||
|
|
||||||
status.run()
|
status.run()
|
||||||
|
```
|
||||||
|
|
||||||
|
``` text
|
||||||
|
|
||||||
# .config/i3/config
|
# .config/i3/config
|
||||||
bar {
|
bar {
|
||||||
status_command ~/.config/i3/i3bar.py
|
status_command ~/.config/i3/i3bar.py
|
||||||
position up
|
position up
|
||||||
}
|
}
|
||||||
|
```
|
||||||
|
|
||||||
### Hide the mouse cursor when not needed
|
### Hide the mouse cursor when not needed
|
||||||
|
|
||||||
|
@ -251,17 +238,16 @@ there when I don't need it so I installed
|
||||||
[unclutter](https://wiki.archlinux.org/index.php/unclutter) and running it on
|
[unclutter](https://wiki.archlinux.org/index.php/unclutter) and running it on
|
||||||
startup was very relieving.
|
startup was very relieving.
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
|
||||||
# .config/i3/unclutter.sh
|
# .config/i3/unclutter.sh
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
unclutter &
|
unclutter &
|
||||||
|
```
|
||||||
|
|
||||||
|
``` text
|
||||||
|
|
||||||
# .config/i3/config
|
# .config/i3/config
|
||||||
exec ~/.config/i3/unclutter.sh
|
exec ~/.config/i3/unclutter.sh
|
||||||
|
```
|
||||||
|
|
||||||
## What's next?
|
## What's next?
|
||||||
|
|
||||||
|
@ -277,7 +263,6 @@ customization is far from over! There are still stuff I miss a lot, like:
|
||||||
|
|
||||||
See ya in two weeks!
|
See ya in two weeks!
|
||||||
|
|
||||||
|
|
||||||
---
|
---
|
||||||
pub_date: 2016-04-27
|
pub_date: 2016-04-27
|
||||||
---
|
---
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue