linuxmint / cinnamon

A Linux desktop featuring a traditional layout, built from modern technology and introducing brand new innovative features.
GNU General Public License v2.0
4.56k stars 744 forks source link

Can't assign xdotool windowminimize $(xdotool getactivewindow) command to hot corner. #2032

Closed ghost closed 8 years ago

ghost commented 11 years ago

I would like to assign a command to minimize the current windows in the top left corner (ala ElementaryOS), I found that xdotool windowminimize $(xdotool getactivewindow) does the trick from terminal, but it is not working as command for the hot corner... is it fixable, am I doing something wrong? Its really very comfortable to minimize a window without the need to click on a "little" button! :-) Thanks

rolandasb commented 10 years ago

Any news on this?

anandrkris commented 10 years ago

Being curious here - Why not use 'Show Desktop' option in Hot Corners? Maybe, there is a difference in usage of Minimize All windows and Show Desktop....just that i don't seem to get it...

ghost commented 10 years ago

I just want to minimize the active window, not all window (Show Desktop).

2014-08-27 8:31 GMT-03:00 Anand notifications@github.com:

Being curious here - Why not use 'Show Desktop' option in Hot Corners? Maybe, there is a difference in usage of Minimize All windows and Show Desktop....just that i don't seem to get it...

— Reply to this email directly or view it on GitHub https://github.com/linuxmint/Cinnamon/issues/2032#issuecomment-53557011.

Dr. Leonardo A. Hardtke Laboratorio de Teledetección y S.I.G. Centro Nacional Patagónico (CONICET) Bvd. Brown 2825, 9120 Puerto Madryn, Chubut, Argentina

AntonTymczenko commented 8 years ago

I've found) you can make a minimize.sh file with this line indise xdotool windowminimize $(xdotool getactivewindow) after that use chmod to make this file executable: chmod 744 minimize.sh and then in "hot corners" write a fullpath to this .sh file. in my case it looks like this: /home/tymczenko/minimize.sh