Ubuntu Tip:How to show desktop from command line

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

Related posts

4 thoughts on “Ubuntu Tip:How to show desktop from command line

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

Leave a comment

Your email address will not be published. Required fields are marked *