-
Notifications
You must be signed in to change notification settings - Fork 11
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
Customize keybindings? #7
Comments
Yes please! Especially as at least 1 (Super-L) conflicts with the defaults (Screen lock in this case). Edit: looking at src/menu.ts, the keybindings are hardcoded, so changing them to use dconf doesn't seem trivial (or maybe it is, but I know nothing about developing with Gnome Shell). At least it looks all localised to menu.ts. |
Actually the fact that Slinger steal me the Super-L in Gnome to lock the screen shortcut is completely blocker. A lot of features seem redundant in existing window managers. |
I love this extension! yet for me also the global keys (such as win-k) not being able to be at least disabled is really a issue. any chance at lease keys could disabled (leaving mouse support) if not possible to remap? |
This however is a valid and good point. Next workspace (super+alt+j/k) is a straight duplicate, but seems consistent.. |
There are tons of conflicts with my own keybindings, which is really a shame. |
FWIW, you can edit https://github.com/timbertson/slinger/blob/master/schemas/org.gnome.shell.extensions.net.gfxmonk.slinger.keybindings.gschema.xml, run
and install as usual. You'll need to update via git (don't forget to recompile), but that does the trick. |
Sorry for my silence on this. So:
Fair point, but see above 😛 - I'm prioritising my own use, and I use these keybindings every day so if I didn't have them, the extension would be much less useful to me 🤷 Dconf editor:
Shellshape has some code to launch dconf-editor with the appropriate path so that this works: https://github.com/timbertson/shellshape/blob/0ffdb35524e9aa14cd12aa5dd6b5c350d46e5eea/src/gjs/shellshape_settings.ts This is used in https://github.com/timbertson/shellshape/blob/0ffdb35524e9aa14cd12aa5dd6b5c350d46e5eea/src/gjs/prefs.ts which is the API for exposing a settings dialog in gnome-shell. (so if anyone wants to port that, it should be possible) There are multiple kinds of keybindings involved:The hardcoded ones in menu.ts are not global hotkeys, they're just the keys you use to manipulate windows while the radial menu is displayed. I don't think anyone wants to change these (or at least that's how I'm reading this thread, tell me if I'm mistaken). The ones in |
Is there any way to customize the keybindings? From browsing the source it looks like there should be some dconf settings in /org/gnome/shell/extensions/net/gfxmonk/slinger/keybindings, but I cannot find them when browsing in dconf-editor.
The text was updated successfully, but these errors were encountered: