baumi's blog

baumi's personal blog … Linux, OS X, Windows, Random things, …

Elementary OS: switch active desktop spaces from command line (bash, shell)

apt-get install wmctrl

list available desktop spaces:

switch:

get current desktop space id:

get number of active desktop spaces:

swipe left

swipe right

toggle between two spaces:
wmctrl -s wmctrl -d | grep -v "*" | cut -d ' ' -f 1
or put this into /home/youruser/toggle.sh:

and put this as a “run custom command” on the desktop corners for quick switching between spaces….

cycle through multiple spaces (excluding blank space):

cycle through multiple spaces (including blank space):

cycle through 2 spaces (including blank space):

Comments are currently closed.