0

I am trying to set key bindings for my mouse buttons with xbindkeys and I'd like to set one of them to spread the windows as if I'd pressed Super+W but for some reason this one won't bind properly it just registers as a regular press of the w key. I've tried every other combination of super+__ and they all work fine and unfortunately CCSM no longer allows rebinding this combination in 12.04. Does anyone know why this one combination wouldn't work or how I can remap the spread windows action to another set of keys?

snoop
  • 4,110
  • 9
  • 41
  • 58

2 Answers2

0

Autokey-Qt might be able to map that key combo for you, however, Autokey will execute it and then the operating system will perform its task afterwards. This annoyed me enough that I moved my shortcut. :(

Krista K
  • 353
0

You can do this with CCSM (Compiz Configurations Settings Manager) under the "Scale" plugin.

  1. Install ccsm by typing this in a terminal:

    sudo apt install compizconfig-settings-manager

  2. Launch ccsm

  3. Scroll down to the Scale plugin and click it. It's under the Window Management section.
  4. Click on the Bindings tab.
  5. Find the mouse icon with the words Initiate Window Picker next to it.
  6. There is a button to the right of that which says Disabled (the default setting). Click that button.
  7. In the window that pops up, check the Enabled check-box.
  8. That window will expand with a bunch of options. Click the drop-down list at the bottom of the window that should say something like Button1.
  9. Select the button you want associated with this action. I use Button10, which is the "press-down" thumb button on my mouse.

Here are a couple useful things I do that make this a great tweak.

  1. Enable the Button Bindings Toggle Scale Mode check-box up at the top of the Bindings tab of the Scale plugin.
  2. I highly recommend binding the mouse button to Initiate Window Picker for All Windows (Shift-Super-W) instead of Initiate Window Picker (Super-W). This should bring in the windows from other workspaces as well.

Enjoy the your newfound efficiency! I rate this as one of my top 10 efficiency tweaks to Linux, I absolutely love it. The only thing I use the taskbar for any more is launching programs.

SunnyDaze
  • 1,416