paperwm / PaperWM

Tiled scrollable window management for Gnome Shell
GNU General Public License v3.0
3.01k stars 127 forks source link

Cannot enable the "Show the notification list" hotkey #961

Open evanlauerbsu opened 5 days ago

evanlauerbsu commented 5 days ago

Describe the bug When I try to bind the "Show the notification list" hotkey, a message pops up saying

PaperWM: overriding 'toggle-message-tray' keybind
the Gnome Keybind will be restored when PaperWM is disabled

I understand that it might make sense for this to be disabled by default, but for the life of me I cannot figure out how to override paperWM and restore this keybind while still using PaperWM. It would be best if users could simply override keybinds disabled by paperWM. Otherwise, could someone let me know how to modify the source code to reassign this keybinding?

To Reproduce Steps to reproduce the behavior:

  1. Go to Settings > Keyboard > View and Customize Shortcuts > System
  2. "Show the notification list" should say Disabled with a backspace icon next to it.
  3. Attempt to set it to Super + n or another hotkey
  4. See issue

Expected behavior PaperWM should allow users to set keybindings that it overrides by default. Another option would be to re-expose this setting in the PaperWM keybind settings through the extensions app.

System information: Please provide system information:

Distribution: EndeavourOS GNOME Shell: 47.0 Display server: Wayland PaperWM version: 47.1.0 Enabled extensions:

Lythenas commented 3 days ago

If I remember correctly this message appears if a keybinding in paperwm and one in gnome are the same. In that case we disable the keybinding in gnome, so the one paperwm works.

Can you try to check if the key combo you want to bind to "Show the notification list" is used in a paperwm keybinding?

Evthestrike commented 2 days ago

I haven’t been able to check but I would guess that you are correct. What I want is to be able to assign a new keybinding to it that doesn’t conflict with PaperWM, but it’s locked in a disabled state.

Lythenas commented 1 day ago

So I just tried it and you can just assign a new keybinding without a problem. If it clashes with a paperwm keybinding it is immediately disabled and you get a notification. But if it does not clash you can assign whatever you want.

If you want to use a keybinding that is currently used in paperwm, you need to first remove the keybinding from paperwm and then you can assign it in the gnome settings.