I'd like to have an icon on the unity launcher that triggers either the Alt + Tab or compiz scale behavior. I don't want to use keyboard shortcuts and want to switch easily between applications using the mouse.

It would be great to trigger the compiz scale behavior by clicking an icon on the launcher.

Is it possible? What is the actual command that is run when pressing Alt + Tab?


You need a desktop file to put something in the launcher.

gksudo gedit /usr/share/applications/name.desktop

Fill out this template:

[Desktop Entry]
 Name=the name you want shown
 Exec=command to run
 Icon=icon name

Then you need to learn about xdotool which can simulate mouse and keyboard with commands.

Hope this helps even though I was not thorough.

  • you mentioned thanks her that means you got the answer right if you got the answer please mark it as a answer by clicking the tick mark below the arrows used to vote please!
    – VENKI
    Feb 24 '12 at 5:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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