-
Notifications
You must be signed in to change notification settings - Fork 629
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
[BUG] libxkbcommon 1.8.0 breaks the use of keybinds with Alt #2095
Comments
changes libxkbcommon: |
Same issue using ksuperkey, I had
Did they fix it in libxkbcommon? |
no, I just linked the changelog of the libxkbcommon 1.8.0 release as it it relevant to the issue. |
It seems that with the new xkbcommon, rofi gets told that not only Alt is pressed, but also the Meta key. A work-around is, to bind Both Alt+Meta. f.e. rofi -kb-screenshot 'Alt+Meta+S' -show combi |
From this issue: davatorium/rofi#2095 Seems like there's some changes with `xkbcommon` which cause `alt` keybinding to not working as expected. So remap the `kb-custom` to `alt-meta` instead of only `alt` and see how it goes.
Rofi version (rofi -v)
Version: 1.7.8-dirty
Configuration
https://gist.github.com/randomcodepanda/18d3f3e96991a9fc7ef4c657cb9a88b0
Theme
https://gist.github.com/randomcodepanda/72dee9f3c83a19b4ea343f0d2b6ea409
Timing report
No response
Launch command
rofi -dshow run
Step to reproduce
After upgrading to libxkbcommon 1.8.0 in Arch, i've noticed that any keybinds that use alt stopped working, i have a couple of custom keybinds that i use a lot to go to previous and next entry so i noticed immediately that they stopped working, the default keybind to take a screenshot, which is Alt+S, also doesn't work.
kb-row-up: "Up,Alt+k";
kb-row-down: "Down,Alt+j";
Downgrading both libxkbcommon and libxkbcommon-x11 to version 1.7.0 fixes the issue.
Expected behavior
Expected rofi to recognize the Alt keybindings and perform the action accordingly.
Actual behavior
The commands don't work and if i press Alt+j, it just types a j in the bar instead of moving to the next entry.
Additional information
Arch Linux with Qtile running on xorg/x11.
Using wayland display server protocol
I've checked if the issue exists in the latest stable release
The text was updated successfully, but these errors were encountered: