laky
Just found that in budgie (-> budgie-desktop-settings -> desktops ) by default only 2 workspaces are created on startup. I guess it will be same in gnome too ( you may find in settings/tweaks)
you can create workspaces statically or dynamically
dynamically
dconf write /org/gnome/mutter/dynamic-workspaces true
or
gsettings set org.gnome.mutter dynamic-workspaces true
and try your devilspie2 custom code else
statically (you need to disable dynamic-workspaces to false then set the number of workspaces)
dconf write /org/gnome/mutter/dynamic-workspaces false
dconf write /org/gnome/desktop/wm/preferences/num-workspaces 5
or
gsettings set org.gnome.mutter dynamic-workspaces false
gsettings set org.gnome.desktop.wm.preferences num-workspaces 5
and try your devilspie2 custom code
you can access the workspace with Super+<number>
by default you can set upto 11 workspaces
(its like i3 or any window managers)
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-1 "['<Super>Home', '<Super>1']"
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-2 "['<Super>2']"
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-3 "['<Super>3']"
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-4 "['<Super>4']"
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-5 "['<Super>5']"
or
dconf write /org/gnome/desktop/wm/keybindings/switch-to-workspace-1 "['<Super>Home', '<Super>1']"
dconf write /org/gnome/desktop/wm/keybindings/switch-to-workspace-2 "['<Super>2']"
dconf write /org/gnome/desktop/wm/keybindings/switch-to-workspace-3 "['<Super>3']"
dconf write /org/gnome/desktop/wm/keybindings/switch-to-workspace-4 "['<Super>4']"
dconf write /org/gnome/desktop/wm/keybindings/switch-to-workspace-5 "['<Super>5']"
just ignore the PaperWM 🙂