Skip to content
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

Gnome 44: PaperWM keyboard shortcuts clash with gnome default super+left/right? #516

Closed
jtaala opened this issue Apr 22, 2023 · 6 comments
Closed
Labels
bug Undesirable behavior gnome-44 Specific to GNOME Shell 44

Comments

@jtaala
Copy link
Collaborator

jtaala commented Apr 22, 2023

I don't usually use super+left/right to switch to left/right window, but on my test setup for Gnome 44 I notice that sometimes when logging in the PaperWM default switch to left/right sometimes doesn't work - or on super+left it moves the window.

I've disabled the default Super+left/right gnome shortcut (which tiles the window left/right) and the issue doesn't appear to be happening now. Not sure if that was the problem.

Anyone else on Gnome 44 also seeing this?

To Reproduce
Unfortunately I can't get this to reproduce consistently. It happened periodically after logging in (didn't seem very consistent). I also think I saw it happen after a lock-screen.

Expected behavior
PaperWM keyboard shortcut should always work.

System information:

Distribution: Fedora Linux 38
GNOME Shell 44.0
Display server: Wayland
PaperWM branch/tag: fixes-gnome-44-support
PaperWM commit: 56023a79c5f827749de2bd868208570553b60cca
Enabled extensions:
- paperwm@hedning:matrix.org
@jtaala jtaala added bug Undesirable behavior gnome-44 Specific to GNOME Shell 44 labels Apr 22, 2023
@jtaala jtaala added this to the Gnome 44 support milestone Apr 22, 2023
@Lythenas
Copy link
Collaborator

I think we can just remove the conflicting shortcuts in the set-recommended-gnome-shell-settings.sh and document it with the other recommended settings.

@fumbles
Copy link

fumbles commented Apr 22, 2023

My Super + Left/Right work fine but Shift+Super+< does not for me even after disabling everything I can find in the keyboard shortcut stuff.
I pulled the fixes-gnome-44-support commit into my local develop branch..hence it says develop branch below.

GNOME Shell 44.0
Display server: Wayland
PaperWM branch/tag: develop
PaperWM commit: 56023a79c5f827749de2bd868208570553b60cca
Enabled extensions:
- paperwm@hedning:matrix.org
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]

@crispinb
Copy link

I experienced the clash with Gnome's 'view split on Left' & also fixed by disabling the Gnome shortcut. Hadn't noticed until seeing this as I normally use PaperWM's 'switch to the next/previous window'

@jtaala
Copy link
Collaborator Author

jtaala commented Apr 25, 2023

I think we can just remove the conflicting shortcuts in the set-recommended-gnome-shell-settings.sh and document it with the other recommended settings.

@Lythenas given your skills in bash/sh (the only bash I do is bashing my head against a wall when I try figure it out!) - could you give this one a go when you get time?

@jtaala
Copy link
Collaborator Author

jtaala commented Apr 25, 2023

Ha, this looks quite similar to #233.

@jtaala jtaala pinned this issue Apr 28, 2023
jtaala added a commit that referenced this issue May 4, 2023
Based on the discussion in #516 I added gnome 44 shortcut removal using
the same `set-with-backup` bash function used for setting other
recommended gnome-shell settings. I haven't researched if there are any
unwanted consequences of disabling these shortcuts like this, but it
seems to work fine for me. It would be great if someone else with this
issue could also test this before merging. Also, the backup
`restore-gnome-shell-settings-YYYY-MM-DD.sh` file was successfully
created with the original values stored inside.
@jtaala
Copy link
Collaborator Author

jtaala commented May 19, 2023

Closing as fixed in #515 which has now been merged into develop branch.

@jtaala jtaala closed this as completed May 19, 2023
@jtaala jtaala unpinned this issue May 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Undesirable behavior gnome-44 Specific to GNOME Shell 44
Projects
None yet
Development

No branches or pull requests

4 participants