Ubuntu: Turn a keyboard shortcut into a desktop shortcut

I wanted to add a deskbar search icon to a Ubuntu desktop. Mostly because I could see that the users were very desktop icon orientated so despite me having placed a shortcut in the task bar I was still being asked where the search option was.Everybody learns a different route to intuitive use.

The solution was quick and painless.

Open the terminal and type

sudo apt-get install xdotool

Now create a desktop launcher (right click on the desktop-create launcher).

Where it asks for a command  use

xdotool key

followed by the combination of keyboard shortcuts

In this case the keyboard shortcuts for deskbar were Alt+F3
so I used:

xdotool key Alt+F3

Now all that needs to be done is to replace the default launcher icon with a deskbar search icon.

Sorted.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s