Is there any command to minimize windows? [duplicate]

I work all-around in Ubuntu 14.04 with many programs opened, among them the terminal. It would be very useful to me a command to minimize and maximize windows.
I have searched in the web using various languages for my search, but I've found anything about a command like that.
It seems to me impossible that so basic commands do not exist yet.

1

1 Answer

you can do it.

Open your terminal and paste following command

sudo apt-get install xdotool

Then

execute below command in terminal

xdotool key <your_keyboard_hotkey>

To minimize all windows hotkey is Control-Super-D so

 xdotool key CTRL+Super+D

To minimize a window

 xdotool key Alt+Space+n

To maximize

 xdotool key Alt+Space+x

will minimize and one more thing is you can use alias and can give a name to call this command.

Hope it will works

4

You Might Also Like