Last Updated: February 25, 2016
· iberianpig

[Linux] Move workspace with command-line

Install xdotool

sudo apt-get install xdotool

Run command in shell

move to left

xdotool set_desktop --relative -- -1

move to right

xdotool set_desktop --relative -- 1

You can use this tip when moving a workspace in your code.

Filed Under

Awesome Job

Frontend Web Developer for Games
Leamington Spa (United Kingdom)
Full Time