Difference between revisions of "FAQ/i3wm"
From GalliumOS Wiki
< FAQ
(Created page with "also new!") |
(just trying to get the page started, covered the big snags we encountered during the switch over tonight.) |
||
| Line 1: | Line 1: | ||
| − | + | =Gallium OS setup with i3wm= | |
| + | |||
| + | * Install: `apt-get install i3 xss-lock lightdm` | ||
| + | * login manager: lightdm | ||
| + | * power button: create menu for standard power commands, open with power button. | ||
| + | * audio keys: set f8-f10 to amixer commands | ||
| + | * auto lock: xss-lock+i3lock | ||
| + | |||
| + | ==`~/.config/i3/config`== | ||
| + | |||
| + | Add this to the end of your i3config file. | ||
| + | |||
| + | nset $mode_system System (l) lock, (e) logout, (s) suspend, (r) reboot, (Shift+s) shutdown | ||
| + | mode "$mode_system" { | ||
| + | bindsym l exec --no-startup-id xscreensaver-command -lock, mode "default" | ||
| + | bindsym e exec --no-startup-id i3-msg exit, mode "default" | ||
| + | bindsym s exec --no-startup-id gksu pm-suspend, mode "default" | ||
| + | bindsym r exec --no-startup-id reboot, mode "default" | ||
| + | bindsym Shift+s exec --no-startup-id /sbin/poweroff, mode "default" | ||
| + | |||
| + | # back to normal: Enter or Escape | ||
| + | bindsym Return mode "default" | ||
| + | bindsym Escape mode "default" | ||
| + | } | ||
| + | |||
| + | bindsym XF86PowerOff mode "$mode_system" | ||
| + | bindsym F8 exec amixer -q -D pulse sset Master toggle | ||
| + | bindsym F9 exec amixer -q -D pulse sset Master 5%- on | ||
| + | bindsym F10 exec amixer -q -D pulse sset Master 5%+ on | ||
| + | exec_always --no-startup-id xscreensaver-command -exit & | ||
| + | exec_always --no-startup-id xscreensaver -no-splash & | ||
| + | exec_always --no-startup-id xss-lock -- i3lock & | ||
Revision as of 07:37, 16 March 2018
Gallium OS setup with i3wm
- Install: `apt-get install i3 xss-lock lightdm`
- login manager: lightdm
- power button: create menu for standard power commands, open with power button.
- audio keys: set f8-f10 to amixer commands
- auto lock: xss-lock+i3lock
`~/.config/i3/config`
Add this to the end of your i3config file.
nset $mode_system System (l) lock, (e) logout, (s) suspend, (r) reboot, (Shift+s) shutdown
mode "$mode_system" {
bindsym l exec --no-startup-id xscreensaver-command -lock, mode "default"
bindsym e exec --no-startup-id i3-msg exit, mode "default"
bindsym s exec --no-startup-id gksu pm-suspend, mode "default"
bindsym r exec --no-startup-id reboot, mode "default"
bindsym Shift+s exec --no-startup-id /sbin/poweroff, mode "default"
# back to normal: Enter or Escape
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym XF86PowerOff mode "$mode_system"
bindsym F8 exec amixer -q -D pulse sset Master toggle
bindsym F9 exec amixer -q -D pulse sset Master 5%- on
bindsym F10 exec amixer -q -D pulse sset Master 5%+ on
exec_always --no-startup-id xscreensaver-command -exit &
exec_always --no-startup-id xscreensaver -no-splash &
exec_always --no-startup-id xss-lock -- i3lock &