Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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 )
share|improve this question
    
i would be led to think that the button is called 10 .. but in binary form.. (which translates to the number 2 in base10 :) this isn't an answer.. just an attempt at clarification .. i suggest it.. but i may be wrong ! and i honestly don't know where to write this.. :) –  marc-andre benoit Mar 6 '12 at 6:52
    
Have you tried "b:10" instead of "Button10"? –  Seth Jan 26 '13 at 2:44
    
I'm choosing Button10 from a drop-down in the graphical dialog, not typing it in. If I edit the field with the text-box dialog, and type "b:10" it reverts to "Disabled". –  P-Nuts Jan 27 '13 at 22:46
    
@P-Nuts could you add xinput list --long 10 to your output? –  Braiam Aug 17 '13 at 17:59
    
Have you trid bindng it to say button 1 just for kicks to make sure it works out that way? to make sure everything else is set properly? PPL please feel free yto rephrase what I'm trying to say... –  Bellini Mar 6 at 16:36

1 Answer 1

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.

share|improve this answer
    
I don't believe it's possible to use mouse buttons in that keyboard settings window. –  P-Nuts Sep 23 '13 at 19:12
    
@P-Nuts I do believe you might be correct. I should have investigated further. Sorry about the wrong info... –  SoCalDiegoRob Sep 23 '13 at 19:27

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.