Skip to content

Instantly share code, notes, and snippets.

@thiagobraga
Last active October 24, 2020 13:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thiagobraga/ac37b0de899e119f13f3bb78c0a4b8fb to your computer and use it in GitHub Desktop.
Save thiagobraga/ac37b0de899e119f13f3bb78c0a4b8fb to your computer and use it in GitHub Desktop.
setxkbmap freezes Gnome at first key press on Ubuntu 20.04 #Linux

setxkbmap freezes Gnome at first key press

Just before Gnome shell is completely started, Ubuntu freezes completely, nothing is clickable. Only mouse moves. It is possible to note that clock freezes to, the seconds stopped. When it returns, I can see this entries on /var/log/syslog:

Oct 24 10:04:03 thiago-ubuntu gnome-shell[2183]: Window manager warning: Overwriting existing binding of keysym ffb6 with keysym ffb6 (keycode 55).
Oct 24 10:04:03 thiago-ubuntu gnome-shell[2183]: Window manager warning: Overwriting existing binding of keysym ffb7 with keysym ffb7 (keycode 4f).
Oct 24 10:04:03 thiago-ubuntu gnome-shell[2183]: Window manager warning: Overwriting existing binding of keysym ffb1 with keysym ffb1 (keycode 57).
Oct 24 10:04:03 thiago-ubuntu gnome-shell[2183]: Window manager warning: Overwriting existing binding of keysym ffb2 with keysym ffb2 (keycode 58).
Oct 24 10:04:03 thiago-ubuntu gnome-shell[2183]: Window manager warning: Overwriting existing binding of keysym ffb1 with keysym ffb1 (keycode 57).
Oct 24 10:04:03 thiago-ubuntu gnome-shell[2183]: Window manager warning: Overwriting existing binding of keysym ffb2 with keysym ffb2 (keycode 58).
Oct 24 10:04:03 thiago-ubuntu gnome-shell[2183]: Window manager warning: Overwriting existing binding of keysym ffb4 with keysym ffb4 (keycode 53).
Oct 24 10:04:03 thiago-ubuntu gnome-shell[2183]: Window manager warning: Overwriting existing binding of keysym ffb3 with keysym ffb3 (keycode 59).
Oct 24 10:04:03 thiago-ubuntu gnome-shell[2183]: Window manager warning: Overwriting existing binding of keysym ffb8 with keysym ffb8 (keycode 50).
Oct 24 10:04:03 thiago-ubuntu gnome-shell[2183]: Window manager warning: Overwriting existing binding of keysym ffb3 with keysym ffb3 (keycode 59).
Oct 24 10:04:03 thiago-ubuntu gnome-shell[2183]: Window manager warning: Overwriting existing binding of keysym ffb9 with keysym ffb9 (keycode 51).
Oct 24 10:04:03 thiago-ubuntu gnome-shell[2183]: Window manager warning: Overwriting existing binding of keysym ffb5 with keysym ffb5 (keycode 54).
Oct 24 10:04:03 thiago-ubuntu gnome-shell[2183]: Window manager warning: Overwriting existing binding of keysym ffb4 with keysym ffb4 (keycode 53).
Oct 24 10:04:03 thiago-ubuntu gnome-shell[2183]: Window manager warning: Overwriting existing binding of keysym ffb6 with keysym ffb6 (keycode 55).
Oct 24 10:04:03 thiago-ubuntu gnome-shell[2183]: Window manager warning: Overwriting existing binding of keysym ffb7 with keysym ffb7 (keycode 4f).
Oct 24 10:04:03 thiago-ubuntu gnome-shell[2183]: Window manager warning: Overwriting existing binding of keysym ffb5 with keysym ffb5 (keycode 54).
Oct 24 10:04:03 thiago-ubuntu gnome-shell[2183]: Window manager warning: Overwriting existing binding of keysym ffb8 with keysym ffb8 (keycode 50).
Oct 24 10:04:03 thiago-ubuntu gnome-shell[2183]: Window manager warning: Overwriting existing binding of keysym ffb9 with keysym ffb9 (keycode 51).

The same thing occurs when I run setxkbmap manually. I notice that because of a attempt to disable Caps Lock with the script below:

setxkbmap -option caps:none

The Gnome shell freezes the same way when I press the first key after boot. I don't know why. Maybe the culprit is my old hardware.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment