PaperWM
PaperWM copied to clipboard
Super+O sometimes doesn't work (conflicts with rotate-video-lock-static)
gnome-settings-daemon already use super+o
, and we make no attempt to override gsd shortcuts. So we'll need to find a way to do an override, or change the shortcut to something else.
Edit for searchability: the action in question is expel from column
To disable the video-lock-static binding:
dconf write /org/gnome/settings-daemon/plugins/media-keys/rotate-video-lock-static "@as []"
To disable the video-lock-static binding:
dconf write /org/gnome/settings-daemon/plugins/media-keys/rotate-video-lock-static "@as []"
I want to add to restart the Gnome Shell afterwards
Alt + F2 -> r -> Enter
Thanks, @olejorgenb for saving me from dropping PaperWM on onboarding/first steps trying this extension.
An option to avoid this in the future is to add the /org/gnome/settings-daemon/plugins/media-keys
schema to be checked by PaperWM for conflicts (we manage other schema's for conflicts). PaperWM will then disable this one automatically when active (if there's a conflict with a PaperWM keybind that is) and then restore when PaperWM is disabled.
I'll put this on my list of things to implement.
Hey @skf-funzt,
Are you on gnome 45 (or on a previous version of gnome)?
If you're on gnome 45, are you able to test this PR branch? It will automatically disable media-key conflicts if there is a PaperWM conflict, and then restore that original keybind when PaperWM is disabled.
If you're on gnome 44 let me know and I'll create a branch for you to test.
git clone https://github.com/paperwm/PaperWM.git
cd PaperWM
git checkout fix-237-mediakey-conflicts
./install.sh
And then logout/login.
For testing, feel free to reset the original setting of rotate-video-lock-static
with something like
dconf reset /org/gnome/settings-daemon/plugins/media-keys/rotate-video-lock-static
P.S. if you set a media-keys keybind during runtime (that conflicts with a PaperWM key) - then PaperWM will notify you that that specific keybdind is being overriden.
Oops - forgot to add actually installing PaperWM in the directions above. Should be:
git clone https://github.com/paperwm/PaperWM.git
cd PaperWM
git checkout fix-237-mediakey-conflicts
./install.sh
And then logout/login.
@jtaala Sorry for the delay, I can confirm that this works. But I haven't seen any notification about that a keybinding has been overriden.
ah, no you won't see it's overridden normally - but if you open up keyboard shortcuts and try to reset the rotate-video-lock-static
shortcut then PaperWM will inform you that it won't reset it as it's being overriden.
Understood, thanks.