-
Notifications
You must be signed in to change notification settings - Fork 20
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 request: see origin of conflicting shortcuts #81
Comments
Thanks! :)) |
I think every shortcut is supposed to be defined somewhere in a dconf entry. I searched a bit more and found those:
My issue was in the |
You're right, this is proof of concept: $ gsettings list-recursively org.gnome.shell.keybindings
org.gnome.shell.keybindings focus-active-notification ['<Super>n'] In test.gjs: const Gio = imports.gi.Gio
let schema = 'org.gnome.shell.keybindings'
let settings = new Gio.Settings({ schema: schema })
let keys = settings.list_keys()
keys.forEach(key =>
log(`${key} => ${settings.get_value(key).deep_unpack()}`)
)
However, as Would you mind doing a PR: a section in README with your findings + edit the error log at accelerator.js |
I'm gonna try to find some time during the week but I might be able to do that! |
I'd note that now that you can invoke run-or-raise via the CLI, you can configure your shortcuts in the usual
|
@e3rd Come to think of it, shouldn't that become the preferred method? No need for a unique file anymore really methinks. Is a nicer CLI the blocker for this? I can pitch in. |
There are some shortcuts that cannot be registered due to conflicts with Gnome (or maybe other applications), such as
<Super>l
that would lock the screen by default. However there are some bindings that do not seem to be used by Gnome such as<Super>p
that raise theUnable to grab accelerator: <Super>p
error when reloading the extension. I tried looking through all Gnome shortcuts & rangsettings list-recursively org.gnome.desktop.wm.keybindings | grep "<Super>P"
but I cannot find it anywhere.Is there any way for an extension to get more details about the origin of shortcuts and give more detailed error messages?
thanks for you work on the extension, this became a must-have for me!
The text was updated successfully, but these errors were encountered: