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 really like some of my shortcuts but I find at times there are other ways I would like to invoke the same shortcut.

For example:

Ctrl + Alt + Left/Right

Switches workspaces left/right respectively.

I want a mouse click to perform this same functionality. My mouse wheel can go left/right and I want to map this to go left/right in my workspaces but I also want the keyboard shortcut to remain.

share|improve this question
add comment

2 Answers

up vote 5 down vote accepted

If you are using Compiz (chances are that you are) you can install Advanced Desktop Effects Settings (ccsm), either from the Software Center or from the command line

sudo apt-get install compizconfig-settings-manager

Now go to System-> Prererences-> CompizConfig Settings Manager.

Click on the Viewport Switcher icon. The window should change, go to the Desktop-bases Viewport Switching. Click on the buttons after Move Prev and Move Next (labeled Disabled on the screenshot). A new window will open, click enabled, another one will open, here you can select a mouse button for each action there, always or only when the mouse is in some screen places or when a special key is pressed.

screenshot

another scrennshot

share|improve this answer
    
Very verbose answer, much appreciated. Intuitive too to assume I am using compiz. :-) –  Chris Sep 7 '10 at 11:37
    
Alternatively, you can install it via the Software Center, if we didn't assume that already. –  aperson Sep 8 '10 at 8:55
add comment

Just wanted to add that you can also use your regular (vertical) mouse wheel axis to switch workspaces by adding Mouse4 and Mouse5 actions on the (left and right) screen edges. It's very intuitive and works very well. I can be configured in the Rotate Cube plugin.

share|improve this answer
add comment

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.