“show desktop” with “hot corners” not working!

Asked by Ivansan

I used the function SHOW DESKTOP when moving mouse to the HOT CORNERS in ubuntu 13.04 and worked ok!.

then I update to 13.10 and it only works in the first try. (after reboot or after setsid unity), the second time i move the mouse to the corner it does nothing.

so i believe that something go wrong in the update and decided to backup and delete all and install a clean ubuntu 14.04 just to find out that i am having the same issue.

what can i do to make it work again? (i already try to reset compiz and unity - remember is a fresh installation)

Question information

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

How do you mean with 'setsid unity'?

If you make a fresh ubuntu user and login as it, is it ok?

Thanks

Revision history for this message
Ivansan (yovasan) said :
#2

I create another user and it do the same.

after login it only works correctly the first time, second time to the hot corner and nothing happens!

setsid unity is for reload compiz.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Try pressing ALT+F2 and run:

unity --replace

Does it work once again?

Revision history for this message
Ivansan (yovasan) said :
#4

Hi, I did that and same results.

After unity --replace it only works the first time.

To be more precise it is like this:

I move the mouse to the corner and then i see the desktop, then i move the mouse again to that corner and the windows appear again, but henceforth it doesnt work!

Revision history for this message
Ivansan (yovasan) said :
#5

I was able to solve the problem by bruteforce.

Moving every single option in compiz settings manager i did find that when unity was disable then SHOW DESKTOP works as expected with the HOT CORNERS.

So i click every single checkmark in UBUNTU UNITY PLUGIN to finally find that SHOW LIVE PREVIEWS OF WINDOWS IN THE SWITCHER was the one to blame. (After uncheck it then hot corners works as expected, phew!).

Revision history for this message
Marco Russo (russomarco) said :
#6

Show desktop with hot corners worked for me only once, as others have pointed out.
I was able to solve the problem in Ubuntu 14.04 by installing xdotool:

sudo apt-get install xdotool

...and then adding the following command in the Commands plugin in compiz and binding it the the desired edge:

xdotool key ctrl+super+d

Revision history for this message
Ongun Arısev (ongunarisev) said :
#7

I confirm on 13.1.2015 the method proposed by Ivansan worked perfectly. No matter which tweak tool I used I was not able to get this working for more than once after `compiz --replace` or some other command that restarts the window manager.

Revision history for this message
Ongun Arısev (ongunarisev) said :
#8

However, if an application is maximized it does not register the position of the cursor correctly. How can I modify this? It is nicer to set this through Ubuntu Tweak Tool or likewise for the graphical effect avaiable.