4

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?

1 Answer 1

1

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
 Comment=
 Exec=command to run
 Icon=icon name
 Terminal=false
 Type=Application
 StartupNotify=true

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

Hope this helps even though I was not thorough.

1
  • 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, 2012 at 5:25

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .