Situation
Currently, in the Settings > Keyboard > (Keyboard shortcuts) View and Customize Shortcuts > Navigation, there is the possibility to customize movements to/between workspaces, from 1 to 4.
The shortcuts are often assigned to Super + <number> (where <number> is often 1, 2, 3, 4), such as:
Super + 1is “Switch to workspace 1”Super + Shift + 1is “Move window to workspace 1”
Question
I wonder if it would be possible to add in the settings, customization for workspaces movements, 1 to 10, as there are 10 numbers on a traditional keyboard (1 to 9 and 0 aka workspace 10).
It would then be possible, for example, to assign:
Super + <i>to “Switch to workspace ”Super + shift + <i>to “Move window to workspace ”
where
<i>is one of theyboard number key1,2,3,4,5,6,7,8,9,0, making it 10 possible workspaces
How to make it happen?
If this is a feature that could be welcome?
I wonder how to best get started with it?
I am available to open a PR on one of Gnome’s project, maybe:
- data/50-mutter-navigation.xml · main · GNOME / mutter · GitLab would require to add
KeyListEntrylines forswitch-to-workspace-5..10andmove-to-workspace-5..10 - src/core/keybindings.c · main · GNOME / mutter · GitLab already enumerates workspace 1–12 for both switch and move, so behavior exists
- schemas/org.gnome.desktop.wm.keybindings.gschema.xml.in · main · GNOME / gsettings-desktop-schemas · GitLab already defines
switch-to-workspace-1..12andmove-to-workspace-1..12, so no new keys are required
Notes
- it seems the maximum number of workspaces is 36 (via the settings GUI)
- (new users can only put 3 links in a post)
