Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#34924 - [cinnamon] Laptop functions keys and custom shortcuts not working after update

Attached to Project: Community Packages
Opened by Pablo Lluch (pelluch) - Wednesday, 24 April 2013, 04:18 GMT
Last edited by Balló György (City-busz) - Thursday, 25 April 2013, 17:41 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Balló György (City-busz)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
After updating to the current version of cinnamon (1.7.4-2) the custom shortcuts (set by cinnamon-settings) and laptop function keys (such as Fn + arrow up), used to control brightness and volume, have ceased to work. This happens only with cinnamon, as starting with gnome-session or kde swiftly solves the problem and all of the keys work properly. Additionally, when on cinnamon, if I try to control the backlight using xbacklight or similar, it works fine. I installed acpid and manually configured handlers to change the brightness when the key combinations are pressed, which also works fine.

It started happening immediately after the upgrade to version 1.7.4, which was incidentally when a bunch of gnome-related packages got updated. A possibly related problem is that choosing a different keyboard layout from cinnamon-settings does nothing, and I have to manually add a layout in the xorg.conf.d folder as instructed by the wiki. I'm not sure what additional info or logs are required, but I'll gladly provide anything asked.

I would also like to note that this kept happening after a system format with only cinnamon and a few related packages installed.

Additional info:
* package version(s)

cinnamon-1.7.4-2
cinnamon-control-center-1.7.3-3
xf86-input-synaptics-1.7.0-1

* config and/or log files etc.

Hardware: Samsung RF511-S09CL laptop.
Doesn't produce an actual error message so nothing here.

Steps to reproduce:
Install cinnamon. Attempt to set custom shortcut (such as Ctrl + Alt + T for gnome-terminal) or use custom keyboard keys (in my case, Fn + up/left/right/down).
This task depends upon

Closed by  Balló György (City-busz)
Thursday, 25 April 2013, 17:41 GMT
Reason for closing:  Fixed
Additional comments about closing:  in version 1.7.4-3
Comment by Matt Corallo (BlueMatt) - Wednesday, 24 April 2013, 14:21 GMT
Volume keys are broken here too
cinnamon-1.7.4-2
xf86-input-synaptics-1.7.0-1
Thinkpad T420
Comment by antonio (Jack_CM) - Wednesday, 24 April 2013, 18:49 GMT
Broken here as well on an Ausus K53S

cinnamon-1.7.4-2
xf86-input-synaptics-1.7.0-1
Comment by Michael Webster (mtwebster) - Wednesday, 24 April 2013, 20:31 GMT
Hi,

This is is because gnome-settings-daemon was ported to use Xinput2 for its hotkey handling, without any sort of backward compatibility in mind.

Unfortunately there is no quick solution to this unless a) muffin is updated to use xinput2, or b) gnome-settings-daemon is forked.

The latter is likely, but not immediately.
Comment by Pablo Lluch (pelluch) - Wednesday, 24 April 2013, 20:45 GMT
Hi,

Thanks for the info. Regardless of whether things work or not, it's good to know why they do and that it's not a specific configuration problem. For those of you who want a workaround meanwhile, acpid works fairly well for me. I just followed the examples in the wiki (https://wiki.archlinux.org/index.php/Acpid) to set up a few keyboard handlers and get the brightness/volume keys working for now (albeit no icon notifications appear, but that's minor).

As for keybord shortcuts, I imagine a similar workaround is available (perhaps also using acpid?) or following the instructions in https://wiki.archlinux.org/index.php/Extra_Keyboard_Keys_in_Xorg
Comment by Balló György (City-busz) - Wednesday, 24 April 2013, 20:53 GMT
@mtwebster: no, GSD's media-keys plugin already uses xinput2. The problem is that the key grabbing functionality has been moved to gnome-shell:
https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=b0cee1df30b4945f524611f354ff164d4a383262

I created a gnome-settings-daemon-compat package, which contains a standalone gnome-fallback-media-keys-helper binary, which brings back this functionality. I'll update cinnamon package soon to autostart this program.
Comment by Michael Webster (mtwebster) - Wednesday, 24 April 2013, 21:00 GMT
Ah my mistake - i should have looked at the dates on those commits.
Comment by Balló György (City-busz) - Thursday, 25 April 2013, 02:10 GMT
I added a media keys helper to the session file in cinnamon 1.7.4-3. Please test this version.
Comment by Pablo Lluch (pelluch) - Thursday, 25 April 2013, 02:31 GMT
The update worked perfect for me. Thank you very much!

Loading...