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
WM
with SIGABORT signal, this will causeWM
to dump core for futher investigation. - C-Sh-F9 - Kill
WM
with SIGKILL signal, this will causeWM
to always exit. - C-Sh-F11 - Kill
WM
with SIGTERM signal, this will causeWM
to 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