Virtual Desktops , Show Desktop

Asked by Martín Beracochea

I want to add the virtual desktops icon, i don't how, if somebody could help me i've gratefull. Also i need to add the show desktop icon, i want to make a script at least to do it, but don't know much.
Any tip would be invaluable.

Hope this is the right place for this, i'm new here and in the launchpad world.

Thanks, i love my docky and want to expand it.

Sorry for my crappy english, not a natural speaker.

Gracias.

Question information

Language:
English Edit question
Status:
Solved
For:
Docky Edit question
Assignee:
No assignee Edit question
Solved by:
Martín Beracochea
Solved:
Last query:
Last reply:
Revision history for this message
daviddoc (daviddoc1405) said :
#1

You can expand docky with the help of a little program called xautomation. A part of this program is the xte command, wich generates fake input using the XTest extension. This way you can simulate keypresses with a simple script (this script shows the desktop):

#!/bin/bash
clear
xte "keydown Control_L" "keydown Alt_L" "key d"
xte "keyup Control_L" "keyup Alt_L"

Then you just have to create a launcher to call this script with a beautiful icon and tada! put the launcher in docky.
With xte you can create launchers for every keyboard shorcut.
For more information, man xte.

Revision history for this message
Martín Beracochea (mkb) said :
#2

Thanks. It works just fine. Next i'm going to make the script for the multiple desktops...

Revision history for this message
d.dapena (daniel-dapena) said :
#3

Hi daviddoc, might be more convenient for users if Docky include this option by default. Do had that option and some more. So the new user would approach more easily (which need not know anything about scripts).

Regards.

Revision history for this message
Nita (nita) said :
#4

Is this the only way to accomplish this task? I merely want a desktop shortcut on docky and do not understand all of the code writing, terminal stuff. Linux is so complicated. Is there no other way to add a working icon/shortcut to my desktop on docky? Thanks.