January 23, 2012 · General ·

This tutorial will explain how to show desktop from command line in ubuntu.You can use xdotool to do this.

xdotool lets you programatically (or manually) simulate keyboard input and mouse activity, move and resize windows, etc. It does this using X11's XTEST extension and other Xlib functions.

Install xdotool using the following command

sudo apt-get install xdotool

Once you install this tool you can use the following command to show desktop

xdotool key ctrl+alt+d

Sponsored Link

4 Comments to “Ubuntu Tip:How to show desktop from command line”

  1. Mohamed Ikbel Boulabiar says:

    this specific shortcut is already working on 11.10

  2. Raidohh says:

    I think you are missing the point.

  3. david says:

    Awesome, thanks so much for this! This will be going in one of my cinnamon hot corners 🙂

  4. ruusvuu says:

    Stick this command in a wbar config and it toggles the desktop

Leave a Reply

  • Recent comments