Xorg session agent
x-agent starts sibling window manager process(WM) and provides
keybinds to control this process. If WM crashes or exits for some
reason, x-agent starts WM again.
Handy for window manager developers.
- C-Sh-F6 - Kill
WMwith SIGABORT signal, this will causeWMto dump core for futher investigation. - C-Sh-F9 - Kill
WMwith SIGKILL signal, this will causeWMto always exit. - C-Sh-F11 - Kill
WMwith SIGTERM signal, this will causeWMto terminate normally. - C-Sh-ESC - Exit x-agent.
Example of using x-agent with EXWM
$ cat ~/.xinitrc
xrdb -merge $HOME/.Xdefaults
xmodmap $HOME/.Xmodmap
xset s off -dpms
xset m 5 3
xset r rate 250 50
unclutter -idle 1 &
xterm &
exec x-agent -f $HOME/.emacs.d/emacs.log -- emacs -L $HOME/.emacs.d/modules