unclechu / xlib-keys-hack

Keyboard behavior customization utility
GNU General Public License v3.0
9 stars 1 forks source link

Broken pipe error #6

Closed unclechu closed 7 years ago

unclechu commented 7 years ago

Sometimes at start of the applications I get error:

xlib-keys-hack: /home/unclechu/.xmonad/xmobar.fifo: hFlushAll: resource vanished (Broken pipe)
unclechu commented 7 years ago

Maybe because I break previous session by ^C or killing and it doesn't close file handler before terminating and it gets this effect. In that case solution could be handling SIGTERM and closing every opened handler before terminate.

unclechu commented 7 years ago

Also if it will happen again I could separate it to own sub-process like I did with watcher of window focus events.

unclechu commented 7 years ago

Pipe file was replaced with DBus, so, this issue isn't relevant anymore.