I also had this problem and the suggested workaround helped solving it. Actually, it additionally solved a delay issue on login screen when recovering from suspension and a delay on xdotool commands. Is it possible to reopen this bug report or should I open a new one?
-- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-shell in Ubuntu. https://bugs.launchpad.net/bugs/1825679 Title: Delay/freeze/cpu spike when using the function/media/brightness keys in Xorg Status in gnome-shell package in Ubuntu: Expired Bug description: There is a long time bug when the user press any function key or media key om Gnome, the CPU spikes to 100%, the system freezes for some seconds and then the key is pressed. This is particularly true when change the screen brightness. This only happens in Xorg, Wayland is not affected. On Brazilian keyboard a workaround is to edit the file `/usr/share/X11/xkb/symbols/br` and comment the line `modifier_map Mod3 { Scroll_Lock };` This has been affecting multiple users and has been discussed on https://www.reddit.com/r/gnome/comments/84453o/delayfreezecpu_spike_when_using_the_functionmedia/ https://askubuntu.com/questions/1025302/media-keys-delayed-and-cause-a -cpu-spike-to-100-on-ubuntu-17-10-with-gnome https://askubuntu.com/questions/906723/fn-media-keys-slow-delayed-on- ubuntu-gnome-17-04?noredirect=1&lq=1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1825679/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

