PaperWM icon indicating copy to clipboard operation
PaperWM copied to clipboard

Super+O sometimes doesn't work (conflicts with rotate-video-lock-static)

Open hedning opened this issue 5 years ago • 1 comments

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

hedning avatar Feb 03 '20 16:02 hedning

To disable the video-lock-static binding:

dconf write /org/gnome/settings-daemon/plugins/media-keys/rotate-video-lock-static "@as []"

olejorgenb avatar May 30 '20 11:05 olejorgenb

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.

skf-funzt avatar Nov 01 '23 08:11 skf-funzt

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.

jtaala avatar Nov 01 '23 21:11 jtaala

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

jtaala avatar Nov 07 '23 21:11 jtaala

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.

jtaala avatar Nov 07 '23 21:11 jtaala

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 avatar Nov 07 '23 21:11 jtaala

@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.

skf-funzt avatar Nov 14 '23 07:11 skf-funzt

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.

jtaala avatar Nov 14 '23 09:11 jtaala

Understood, thanks.

skf-funzt avatar Nov 15 '23 13:11 skf-funzt