gebaar-libinput
gebaar-libinput copied to clipboard
When started from window manager, gebaard does not exit after exiting WM session
I'm starting gebaard via i3's support to launch programs on startup via a config file:
exec --no-startup-id gebaard
The program starts just fine and works well. But when I exit i3, and thus my X11 session, gebaard sticks around. All other programs started by i3 shut down when I exit, so this seems like a bug specific to gebaard.
Okay, so I dug into this a bit more. Looks like i3 simply starts the gebaard executable and does nothing to shut it down on exit (or any other processes for that matter). The main problem I have is that if I log out and log back in, there will be two gebaard processes.
I wonder what the best way forward is. Either exit cleanly when X11/my window manager exits, or make sure that only one gebaard process can run at once.
My solution was to start gebaard in my .xinitrc
instead of my i3 config.