PDA

View Full Version : [SOLVED] wmctrl + xbindkeys: strange behavior



netwalkman
August 1st, 2011, 08:40 AM
I use wmctrl and xbindkeys to quickly switch between windows. This is my .xbindkeysrc file


"wmctrl -xa Terminal || gnome-terminal"
Mod4 + T

"wmctrl -xa Firefox || firefox"
Mod4 + B

"wmctrl -xa gvim || gvim"
Mod4 + V


The keybindings work for the first few switchings, and then stop working. No such problem with Debian or Fedora. It may be caused by compiz, but I think there is no conflicting keybindings.

netwalkman
August 1st, 2011, 10:04 AM
If this can't be fixed, is there a substitute?

enimeizoo
August 1st, 2011, 06:54 PM
I have troubles with xbindkeys crashing, but I didn't find out why (looks random atm). Is xbindkeys still running when it stops working?

To work-around, I have defined a custom kde shortcut that launches xbindkeys. It sure isn't the best solution, but it works fine.

netwalkman
August 1st, 2011, 07:45 PM
It works now, except with Nautilus.
I added the following


"wmctrl -xa nautilus || nautilus"
Mod4 + F
.

But it doesn't work at all.

netwalkman
August 6th, 2011, 08:07 PM
Problem solved by building the newest xbindkeys from source.