Install i3 with

   1 sudo qubes-dom0-update i3 i3-settings-qubes

Include xscreensaver (as it has a better lock screen than i3lock)

   1 sudo qubes-dom0-update xscreensaver

You can also optionally add in Conky or Redshift.

The basic config file will be placed in /home/$USER/.config/i3/config.

Add these lines to the end of your config file if needed

#Lock screen using mod (usually windows) shift z
bindsym $mod+Shift+z exec "xscreensaver-command -lock"

#Create a new dom0 terminal using mod shift return
bindsym $mod+Shift+return "xfce4-terminal"

#Start the screen saver at startup
exec --no-startup-id "xscreensaver -no-splash"

#Lock the screen after inactivity
exec --no-startup-id "xautolock -detectsleep -time 3 -locker 'xscreensaver-command -lock' -notify 30 -notifier \"notify-send -t 2000 'Locking screen in 30 seconds'\""

HowTo/i3 (last edited 2018-11-26 12:11:31 by admin)