Last Updated: February 25, 2016
·
523
· 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.