Ubuntu – How to rebind “Initiate Window Move” to mouse button 10

compizmousewindow-manager

I am trying to use button 10 on my mouse to drag windows around. I have installed CCSM and changed the initiate button in the plugin "Move Window" to "Button10" (with no modifier, though adding modifier keys to test does not help).

I know that the desired button is number 10 because xev reports

ButtonPress event, serial 36, synthetic NO, window 0x4000001,
    root 0x15d, subw 0x0, time 8361012, (77,129), root:(1812,182),
    state 0x0, button 10, same_screen YES

ButtonRelease event, serial 36, synthetic NO, window 0x4000001,
root 0x15d, subw 0x0, time 8361286, (77,129), root:(1812,182),
    state 0x0, button 10, same_screen YES

when I click that button in its window.

There is no effect when pressing button 10 with these settings. However, I know that I'm changing the correct setting, as switching from the default of Alt+Button1 to e.g. Ctrl+Alt+Button1 does take effect.

Edit: output of xinput list --long 10 as requested by Braiam.

Logitech Gaming Mouse G400                  id=10   [slave  pointer  (2)]
    Reporting 5 classes:
        Class originated from: 10. Type: XIButtonClass
        Buttons supported: 16
        Button labels: "Button Left" "Button Middle" "Button Right" "Button Wheel Up" "Button Wheel Down" "Button Horiz Wheel Left" "Button Horiz Wheel Right" "Button Side" "Button Extra" "Button Forward" "Button Back" "Button Task" "Button Unknown" "Button Unknown" "Button Unknown" "Button Unknown"
        Button state:
        Class originated from: 10. Type: XIValuatorClass
        Detail for Valuator 0:
          Label: Rel X
          Range: -1.000000 - -1.000000
          Resolution: 1 units/m
          Mode: relative
        Class originated from: 10. Type: XIValuatorClass
        Detail for Valuator 1:
          Label: Rel Y
          Range: -1.000000 - -1.000000
          Resolution: 1 units/m
          Mode: relative
        Class originated from: 10. Type: XIValuatorClass
        Detail for Valuator 2:
          Label: Rel Vert Wheel
          Range: -1.000000 - -1.000000
          Resolution: 1 units/m
          Mode: relative
        Class originated from: 10. Type: XIScrollClass
        Scroll info for Valuator 2
          type: 1 (vertical)
          increment: -1.000000
          flags: 0x2 ( preferred )

Best Answer

How are you setting the setting in CCSM? Try <ALT> Button 10. I believe you might have to use the ALT button to initiate the move. "Do not quote me". I am just taking a guess.