org.gnome.Shell.desktop[2331]: Window manager warning: "XF86RFKill" is not a valid accelerator

Bug #1722034 reported by dino99
34
This bug affects 7 people
Affects Status Importance Assigned to Milestone
gnome-settings-daemon (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Get that error logged, and sometime a login loop.

There has been a change into GSD 3.25.2 about that key:
https://github.com/GNOME/gnome-settings-daemon/commit/248eb834f9d428a493457e26a8d2e3687ee576db

note: maybe i should have reported against mutter instead, no idea.

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: gnome-settings-daemon 3.26.1-0ubuntu1
ProcVersionSignature: Ubuntu 4.13.0-15.16-generic 4.13.4
Uname: Linux 4.13.0-15-generic x86_64
ApportVersion: 2.20.7-0ubuntu2
Architecture: amd64
CurrentDesktop: GNOME
Date: Sun Oct 8 08:52:08 2017
EcryptfsInUse: Yes
SourcePackage: gnome-settings-daemon
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
dino99 (9d9) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-settings-daemon (Ubuntu):
status: New → Confirmed
Revision history for this message
Jeremy Soller (jackpot51) wrote :

There are a couple things going on, that could be fixed by a Debian or Ubuntu maintainer:

- libxkbdcommon needs to be updated from 0.7.1 to 0.7.2. This introduces the RFKill key: https://lists.freedesktop.org/archives/wayland-devel/2017-August/034721.html

- x11-proto needs a new release. This commit added RFKill, but it is not in a release: https://cgit.freedesktop.org/xorg/proto/xproto/commit/?id=98a32d328e7195e12c38baa877917335bceffbaf

- Likely other X11 packages need to be rebuilt.

Revision history for this message
Jeremy Soller (jackpot51) wrote :

Attached is a test script that should trigger Airplane Mode in GNOME, but does not. The code in gnome-settings-daemon looks for XF86RFKill, but the key is not identified as such.

This is what xev reports from the script:

KeyPress event, serial 55, synthetic NO, window 0x2c00001,
    root 0x1ee, subw 0x0, time 2615499, (101,-17), root:(2297,336),
    state 0x10, keycode 255 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 55, synthetic NO, window 0x2c00001,
    root 0x1ee, subw 0x0, time 2615499, (101,-17), root:(2297,336),
    state 0x10, keycode 255 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

Revision history for this message
Jeremy Soller (jackpot51) wrote :

Attached is an alternative script which sends KEY_WLAN, which does trigger Airplane Mode, as expected.

Revision history for this message
Jeremy Soller (jackpot51) wrote :

In artful and later, a number of kernel drivers send KEY_RFKILL - which is being ignored by the userspace handling code.

https://elixir.free-electrons.com/linux/v4.13.16/ident/KEY_RFKILL

Revision history for this message
Sebastien Bacher (seb128) wrote :

Is that still an issue in bionic or cosmic? If so do you know what needs to be changed in gnome-settings-daemon?

Revision history for this message
Jeremy Soller (jackpot51) wrote :

This particular issue as described no longer occurs. Instead, it should be tracked here:

https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1740894

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.