As explain in this thread, I want to add shortcuts to switch workspaces (in Mate).
I found a way to switch workspace for the terminal: wmctrl -s $(wmctrl -d | grep "*" | awk '{print $1+1}')
.
But this command line does not work when I add it in the shortcut manager. Does any one know why ?
bash -c "wmctrl -s $(wmctrl -d | grep '*' | awk '{print $1+1}')"
?