I have tried a number of options to reload xbindkeys after changing the configuration file (my configuration file is located at ~/.xbindkeysrc). Nothing seems to work. The configuration file should be reloading automatically after a change according to the man page. How can I force a reload of the file? In Arch Linux it appears you can use xbindkeys --poll-rc to reload the configuration but this is not working for me in Ubuntu.
Asked
Active
Viewed 6,442 times
8
Snap Shot
- 511
- 4
- 7
2 Answers
8
If xbindkeys is not reloading automatically after a change you can force it to reload the configuration by using the following command:
killall -HUP xbindkeys
Snap Shot
- 511
- 4
- 7
-
2What does `-HUP` stand for? neither of these arguments stand in the `man` page... – Johannes Lemonde Oct 20 '19 at 08:21
-
2@JohannesLemonde `-HUP` is a signal defined in `man 7 signal` - usually it results in the process getting kicked and reloaded, at least for xbindkeys. Different apps do different things when they receive a `HUP` signal. – Thomas Ward Dec 15 '19 at 02:18
1
xbindkeysreload its configuration file each time it has changed. But if you want to force it reloading its configuration file, you can send a HUP signal:
killall -HUP xbindkeysWhen
HUPsignal is send to xbindkeys, changes in$HOME/.xbindkeysrctakes effect only after moving mouse.
ExistMe
- 121
- 2