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

libxkbcommon 1.8.0 changes keys send for kb-custom-* #107

Closed
Lem opened this issue Feb 15, 2025 · 2 comments
Closed

libxkbcommon 1.8.0 changes keys send for kb-custom-* #107

Lem opened this issue Feb 15, 2025 · 2 comments

Comments

@Lem
Copy link

Lem commented Feb 15, 2025

After updating my Arch Linux it turned out that all functions via Alt was not working anymore. A downgrade resolved it.

Checking the rofi repository, there were already people reporting this.

After updating

libxkbcommon (1.7.0-2 -> 1.8.0-1)
libxkbcommon-x11 (1.7.0-2 -> 1.8.0-1)

it seems that all -kb-custom-parameter send to rofi need to be adjusted.

With the update to 1.8.0 libxkbcommon seems to send Alt+Meta combination instead of Alt.

Original issue: davatorium/rofi#2095
Workaround by adding Meta: fdw/rofimoji#215 (comment)

As rofi-rbw is specifing all -kb-custom manually, I guess the rofi-rbw should maybe add the new Meta-key to these default options of --keybindings in argument_parsing.py.

@fdw
Copy link
Owner

fdw commented Feb 16, 2025

In my opinion, this is a bug/regression between rofi and libxkbcommon. You also referred to the "original issue" davatorium/rofi#2095.

I expect that rofi will fix this.

@Lem
Copy link
Author

Lem commented Feb 16, 2025

I saw the why, but not that there was already a fix in a library used by rofi. Hope they will publish a new release soon.

If someone needs a workaround, create ~/.config/rofi-rbw.rc:

keybindings Alt+Meta+1:type:username:tab:password,Alt+Meta+2:type:username,Alt+Meta+3:type:password,Alt+Meta+4:type:totp,Alt+Meta+c:copy:password,Alt+Meta+u:copy:username,Alt+Meta+t:copy:totp,Alt+Meta+m::menu

@Lem Lem closed this as completed Feb 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants