Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
32
rated 0 times [  32] [ 0]  / answers: 1 / hits: 26885  / 2 Years ago, mon, january 3, 2022, 12:46:58

I want to be able to lower all windows and show the desktop from the command line, not

Ctrl+Alt+D.


More From » unity

 Answers
0

There is a useful command line application called xdotool which amongst other stuff, allows you to send keystrokes.



Thus - to mimic Control+Alt+D (or Super+D, or whatever the combination is you need), you can use one of the following commands:



xdotool key ctrl+alt+d
xdotool key ctrl+super+d
xdotool key super+d


To install:



sudo apt-get install xdotool

[#40837] Monday, January 3, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ttarum

Total Points: 417
Total Questions: 101
Total Answers: 115

Location: Maldives
Member since Wed, Nov 4, 2020
4 Years ago
ttarum questions
Sat, Aug 20, 22, 12:42, 2 Years ago
Wed, Sep 28, 22, 18:07, 2 Years ago
Mon, Feb 7, 22, 20:23, 2 Years ago
;