gebaar-libinput icon indicating copy to clipboard operation
gebaar-libinput copied to clipboard

When started from window manager, gebaard does not exit after exiting WM session

Open mystal opened this issue 5 years ago • 2 comments

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.

mystal avatar Jul 19 '19 16:07 mystal

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.

mystal avatar Jul 19 '19 20:07 mystal

My solution was to start gebaard in my .xinitrc instead of my i3 config.

RageKnify avatar Jul 19 '19 20:07 RageKnify