Ubuntu – Control compiz zoom from the command line

command linecompizzooming

I'm downstairs on my phone trying to VNC into my desktop upstairs but earlier today, I zoomed in with compiz on one of my screens so it makes using that screen over VNC almost impossible.

Now I could go upstairs… But I'm lazy!

Does anybody know a way to turn off zoom via the command line?

Best Answer

What a brilliant question! :-)

This is what you want:

xdotool keydown Super && for i in $(seq 0 30); do xdotool click 5; done && xdotool keyup Super

you probalby need to sudo apt-get install xdotool.