FAQ/i3wm
From GalliumOS Wiki
< FAQ
Revision as of 23:46, 17 April 2018 by M00n (talk | contribs) (→`~/.config/i3/config`: fixed typo (nset->set on 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.
set $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 &