Results 1 to 5 of 5

Thread: wmctrl + xbindkeys: strange behavior

  1. #1
    Join Date
    Jun 2008
    Beans
    19

    wmctrl + xbindkeys: strange behavior

    I use wmctrl and xbindkeys to quickly switch between windows. This is my .xbindkeysrc file
    Code:
    "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.

  2. #2
    Join Date
    Jun 2008
    Beans
    19

    Re: wmctrl + xbindkeys: strange behavior

    If this can't be fixed, is there a substitute?

  3. #3
    Join Date
    Nov 2010
    Beans
    160
    Distro
    Kubuntu 11.04 Natty Narwhal

    Re: wmctrl + xbindkeys: strange behavior

    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.

  4. #4
    Join Date
    Jun 2008
    Beans
    19

    Re: wmctrl + xbindkeys: strange behavior

    It works now, except with Nautilus.
    I added the following
    Code:
    "wmctrl -xa nautilus || nautilus"
    Mod4 + F
    .

    But it doesn't work at all.

  5. #5
    Join Date
    Jun 2008
    Beans
    19

    Re: wmctrl + xbindkeys: strange behavior

    Problem solved by building the newest xbindkeys from source.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •