I remember that I used this trick a while ago, but can't remember the command I've used. Basically, I've set Hot Corner shortcut to "Execute custom command", and then typed in the command similar to minimize-all or show-all or something like that (neither one of those is the correct one). Can someone suggest what is the correct command for minimizing all the applications?

2 Answers 2


I haven't used commands you mentioned. but here is the solution for what you are asking.

first you need to install wmctrl.

sudo apt-get install wmctrl

then here is the command for minimize.

wmctrl -k on

this one is for restore all windows.

wmctrl -k off

hope this will solve your problem. cheers!!

  • Its working, Well Done- good work =)
    – Ravan
    Commented Nov 7, 2015 at 1:48

Is what I use in hot corners in Luna--It worked in Freya too but updates apparently killed it.

  • Have you tried this on freya, sorry, its not working on my system
    – Ravan
    Commented Nov 11, 2015 at 3:47
  • Yeah, not working here, either... But I think that that's the command I've used, too, since I was on Luna, too, when I used it... Commented Nov 11, 2015 at 13:33
  • You guys are right. I went back and checked on Freya's progress this AM and it's not working for Freya anymore. I guess one of the updates killed it.
    – etim sim
    Commented Nov 11, 2015 at 17:33
  • yeah, not working :(
    – dhanushkac
    Commented Nov 12, 2015 at 15:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.