Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Change keyboard shortcut to move between workspaces #47

Closed
GuillaumeLeGoc opened this issue Aug 20, 2019 · 11 comments
Closed

Comments

@GuillaumeLeGoc
Copy link

GNOME keyboard shortcuts allows only to edit the shortcut to switch workspace in the vertical direction (one workspace below, one workspace top) and it works fine with WSMatrix, but I can't change the default shortcut to move one workspace right/left (which is ctrl+alt+left/right arrow). I'd like to be able to change this to something else.

@mzur
Copy link
Owner

mzur commented Aug 20, 2019

You can do this with gsettings. Run gsettings list-keys org.gnome.desktop.wm.keybindings to get a list of relevant keys that can be configured, e.g. switch-to-workspace-left. Get the current value with: gsettings get org.gnome.desktop.wm.keybindings switch-to-workspace-left. Set the value with gsettings set.

@GuillaumeLeGoc
Copy link
Author

GuillaumeLeGoc commented Aug 20, 2019

Great, this worked. I used the dconf editor though. Maybe you could mention the location org.gnome.desktop.wm.keybindings in the README.
Thank you for your time!

Edit : sorry for the close/open thing, I'm beginning with GitHub issues. I'll leave it up to you to open it or close it. Cheers

@mzur
Copy link
Owner

mzur commented Aug 20, 2019

I'll close this then. I'll consider adding a note to the readme if more people ask about it.

@mzur mzur closed this as completed Aug 20, 2019
@gschaffner
Copy link

This would be an excellent addition to the README, I think! I was surprised to find that this is the first issue asking about changing keybindings in this repo.

@oscar-corredor
Copy link

I second this, it took me longer than needed to find out that this can be changed.

@udnaan
Copy link

udnaan commented Oct 17, 2019

The settings were not available in my schemas by default (ubuntu 18.04). The following fixed it:

$ sudo cp ~/.local/share/gnome-shell/extensions/wsmatrix@martin.zurowietz.de/schemas/org.gnome.shell.extensions.wsmatrix.gschema.xml  /usr/share/glib-2.0/schemas/
$ sudo glib-compile-schemas /usr/share/glib-2.0/schemas/

mzur added a commit that referenced this issue Oct 24, 2019
References #47
References #52
References #64
@Anamitr
Copy link

Anamitr commented Dec 19, 2019

Definitely could use a note about this in Readme with an example.

@mzur
Copy link
Owner

mzur commented Dec 20, 2019

@Anamitr There is.

@mzur
Copy link
Owner

mzur commented Feb 10, 2020

There is now a new wiki page on keyboard shortcuts.

@victor-ca
Copy link

in case someone looks for it: to make it work like in windows (ctrl+win+arrows)

gsettings set  org.gnome.desktop.wm.keybindings switch-to-workspace-right "['<Control><Super>Right']" 
gsettings set  org.gnome.desktop.wm.keybindings switch-to-workspace-left  "['<Control><Super>Left']" 

@elvisgiv
Copy link

elvisgiv commented Jan 12, 2021

in case someone looks for it: to make it work like in windows (ctrl+win+arrows)

gsettings set  org.gnome.desktop.wm.keybindings switch-to-workspace-right "['<Control><Super>Right']" 
gsettings set  org.gnome.desktop.wm.keybindings switch-to-workspace-left  "['<Control><Super>Left']" 

and

gsettings set  org.gnome.desktop.wm.keybindings switch-to-workspace-up  "['<Control><Super>Up']"
gsettings set  org.gnome.desktop.wm.keybindings switch-to-workspace-down  "['<Control><Super>Down']"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants