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.