kbdd
kbdd copied to clipboard
Stops working when spawning terminal is closed
I experience this issue for quite a long time, but only now I managed to understand how to reproduce it.
Open terminal emulator (mine is urxvt), start kbdd (as a daemon). Everything works. Once you exit the shell in terminal emulator kbdd stops switching layouts.
Environment: archlinux, awesome wm
$ kbdd --v
kbdd 0.7, see -h/--help for brief info
$ kbdd -n
:main Connecting to the Session D-Bus.
:main Regiresting the well-known name (ru.gentoo.KbddService)
:main RequestName returned (null).
:main Creating one MKbddService Object
:main Registering project to D-Bus.
Ready to serve requests
EWMH is supported
Initializing EWHM event listeners
just grabbed v0.7, removed all fprintf, printf and g_print calls, built it without dbus and now even after closing the term it works.
after some time hanging around daemon stops working (few days on laptop)