switchboard-plug-keyboard icon indicating copy to clipboard operation
switchboard-plug-keyboard copied to clipboard

"Switch to new" shortcut is impossible to disable or change.

Open Blast-City opened this issue 6 years ago • 2 comments
trafficstars

1- Open Keyboard settings. Go to Shortcuts and then Workspaces. 2- Click on "Switch to new" and press Backspace to disable it.

Result: The shortcut Super+End still goes to the new workspace even though it says is disabled. This problem also happens if an user try to change the shortcut to another one.

I guess this is happening because the keyboard settings is not changing "org.gnome.desktop.wm.keybindings switch-to-workspace-last".

Blast-City avatar Apr 27 '19 02:04 Blast-City

Looks like they are defined as keybindings for gala: https://github.com/elementary/switchboard-plug-keyboard/blob/617db49bb167c7973d9319b5cafe5fe3720ceb19/src/Shortcuts/List.vala#L67-L68 So it alters: /org/pantheon/desktop/gala/keybindings/switch-to-workspace-last.

peteruithoven avatar Apr 27 '19 09:04 peteruithoven

Looks like they are defined as keybindings for gala:

switchboard-plug-keyboard/src/Shortcuts/List.vala

Lines 67 to 68 in 617db49 add_action (ref workspaces_group, Schema.GALA, _("Switch to first"), "switch-to-workspace-first"); add_action (ref workspaces_group, Schema.GALA, _("Switch to new"), "switch-to-workspace-last");

So it alters: /org/pantheon/desktop/gala/keybindings/switch-to-workspace-last.

Hi.

The problem is that there is two gsettings entries that do the same: 1- org.pantheon.desktop.gala.keybindings switch-to-workspace-last 2- org.gnome.desktop.wm.keybindings switch-to-workspace-last

When the shortcut is disabled only the gala one (1) is altered. The gnome one (2) remains unchanged.

Blast-City avatar Apr 27 '19 17:04 Blast-City