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

Weird <LFSH> error #44

Closed
fbruetting opened this issue Mar 6, 2017 · 5 comments
Closed

Weird <LFSH> error #44

fbruetting opened this issue Mar 6, 2017 · 5 comments

Comments

@fbruetting
Copy link

After setting my keybindings according to this thread [1], I often see the following error in the terminal, when I start programs:

xkbcommon: ERROR: Key "<LFSH>" added to modifier map for multiple modifiers; Using Lock, ignoring Shift

I'm using Fedora 26. This error appeared already some time ago and with setting my settings back and reset them, the errors disappeared. But what's even more strange is, that this influences applications so the don't run properly anymore. In Geary I have to enter my passwords repeatedly as the password popup reappears every time I enter my password, and Lollypop is completely responsiveless. This was also the case when I encountered this bug before, but this time, setting back my keyboard settings doesn't improve the situation.

If you need more information, I'll try to help!

[1] https://bugzilla.gnome.org/show_bug.cgi?id=777723

@fbruetting fbruetting changed the title Weird error Weird <LFSH> error Mar 6, 2017
@bluetech
Copy link
Member

bluetech commented Mar 7, 2017

Yes, these errors can be annoying. I will need some more info:

  • Do you use Xorg or Wayland? (if you are using Gnome, you can choose this in the login page).
  • Which command (for example) are you running which emits this message?
  • Which version of the xkeyboard-config do you use?
  • Which keyboard layout/RMLVO do you use? If you are using Gnome, that means which "Input Sources", and if you are using the "Tweak Tool" which non-default "Typing" options you use.

Also, predicting the future, I think I will need to ask you to compile a C program to dump the keyboard map. If you don't know how to do that, let me know :)

@fbruetting
Copy link
Author

fbruetting commented Mar 7, 2017

I use Wayland, xkeyboard-config 2.20, keyboard layout "Neo 2" (which as like Dvorak for German; hint: there are six layers, accessible by shift / capslock / button right of shift / shift + capslock / button right of shift + capslock), and I made no changes to the tweak tool input options.

I started for example lollypop and Geary through the command line. Compiling is no problem at all.

@bluetech
Copy link
Member

bluetech commented Mar 9, 2017

Ha, neo. This is an issue in the keymap: https://bugs.freedesktop.org/show_bug.cgi?id=30980. The description by Stephan Hilb there is correct.

I would suggest you ignore the error message until the keymap is fixed. If it bothers you, you can reduce xkbcommon's log level by settings an environment variable: export XKB_LOG_LEVEL=critical (the default is error).

@fbruetting
Copy link
Author

I really don't understand these internals, but asked for fixing it as a reminder. So there is no fault in xkbcommon?

@bluetech
Copy link
Member

I am sure xkbcommon has many faults, but at least this error message is not one of them; it comes from the keymap, as described by Stephan Hilb in the freedesktop bug. I will also reply there, so as not to split the discussion.

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