[media-keys] Media keys with lag slow/delay on Gnome with "Scroll Lock" keyboards
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNOME Shell |
New
|
Unknown
|
|||
xkeyboard-config (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I use Ubuntu 20.04.1.
After some use, I noticed a delay when using keyboard media controls (for example: increase volume audio).
The first time I push these key Gnome hangs for a short time before display the action on the screen.
(This problem is still happening in Ubuntu 18.04 too. Even worse some times, the system crashes when using media keys.)
For some reason, my Gnome freezes when using Fn keys, or when I try to use two keyboards. A friend of mine pointed to me that it occurs when switching to a keyboard layout that has Scroll Lock enabled, so I disabled it in the X11 keyboard layout file for my language, and it solved the problem.
A workaround to solve the problem is:
1) Opened the keyboard layout file for my language, in my case:
sudo nano /usr/share/
2) Commented the line:
modifier_map Mod3 { Scroll_Lock };
3) Logged out and logged in again or run command setxkbmap.
These steps are specific for the Brazilian Portuguese ABNT2 Layout and may not work for other layouts, but it can help you find a similar solution.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: x11-xkb-utils 7.7+5
ProcVersionSign
Uname: Linux 5.4.0-47-generic x86_64
NonfreeKernelMo
.proc.driver.
.proc.driver.
.proc.driver.
.proc.driver.
.proc.driver.
NVRM version: NVIDIA UNIX x86_64 Kernel Module 440.100 Fri May 29 08:45:51 UTC 2020
GCC version:
ApportVersion: 2.20.11-0ubuntu27.8
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckR
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Sun Sep 13 21:52:03 2020
DistUpgraded: Fresh install
DistroCodename: focal
DistroVariant: ubuntu
GraphicsCard:
Subsystem: Dell UHD Graphics 630 (Desktop) [1028:0859]
NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] [10de:1c82] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Dell GP107 [GeForce GTX 1050 Ti] [1028:3512]
InstallationDate: Installed on 2020-08-15 (29 days ago)
InstallationMedia: Ubuntu 20.04.1 2020.08.15 LTS "Custom Focal Fossa" (20200815)
MachineType: Dell Inc. XPS 8930
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: x11-xkb-utils
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 07/01/2020
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.1.15
dmi.board.name: 0T88YD
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 3
dmi.chassis.vendor: Dell Inc.
dmi.chassis.
dmi.modalias: dmi:bvnDellInc.
dmi.product.family: XPS
dmi.product.name: XPS 8930
dmi.product.sku: 0859
dmi.product.
dmi.sys.vendor: Dell Inc.
modified.
# set this to 0 to disable apport, or to 1 to enable it
# you can temporarily override this with
# sudo service apport start force_start=1
enabled=0
mtime.conffile.
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.101-2
version.
version.
version.
version.
version.
version.
version.
version.
affects: | gnome-shell (Ubuntu) → xkeyboard-config (Ubuntu) |
Changed in xkeyboard-config (Ubuntu): | |
assignee: | nobody → Cristiano Nunes (cfgnunes) |
status: | New → Fix Committed |
tags: | added: fixed-in-2.31 fixed-upstream |
Changed in xkeyboard-config (Ubuntu): | |
status: | Fix Committed → Fix Released |
Changed in gnome-shell: | |
status: | Unknown → New |
Other users has a same problem. See:
https:/ /askubuntu. com/questions/ 906723/ fn-media- keys-slow- delayed- on-ubuntu- gnome-17- 04
This problem appears on Ubuntu 17.04, 18.04 and 20.04.