Shortcut keys not working after upgrade

4 Antworten [Letzter Beitrag]
prvteprts

I am a member!

Offline
Beigetreten: 09/30/2010

Just recently I noticed my volume shortcut keys stopped working. I thought it was an isolated case, but the same thing happened to my other laptop. It most likely had something to do with the most recent upgrade. Can anyone else confirm?

sebelius
Offline
Beigetreten: 08/22/2013

If you're on the trisquel-mini version, then the problem is with openbox (the window manager) and no workaround for a faulty alsa.
Try these commands in a terminal:
amixer -qc0 set Master toggle;amixer -qc0 set Headphone unmute;amixer -qc0 set Speaker unmute

If your sounds back on then open ~/.config/openbox/trisquel-mini.xml (the filename might not be trisquel-mini.xml, but it is something like that somewhere in the folder or sub folders).

(I don't know how to display xml code as plain text)
Search for "keyboard" with '<' and '>' on its sides.
Just below it add the text in attachment.
Then restart openbox. EG: openbox --replace.

I found that everytime i un/muted the master channel in alsa, some other channel would un/mute.

Edit: if an action for the key "XF86AudioMute" is already defined, then you can just replace what is between its command with the corresponding in attachment.

AnhangGröße
alsa_u_mute_workaround.txt 224 Bytes
Magic Banana

I am a member!

I am a translator!

Offline
Beigetreten: 07/24/2010

And if you are using the "normal" Trisquel edition, have you tried redefining those shortcuts? You can do that from menu System settings/Keyboard/Shortcut tab/Sound and media.

prvteprts

I am a member!

Offline
Beigetreten: 09/30/2010

Volume up, volume down, and mute are all recognized by the system. It seems like the commands themselves no longer work. Other media commands like play/pause and stop work just fine. I tried changing the keyboard shortcuts for the volume commands, but still no luck.

prvteprts

I am a member!

Offline
Beigetreten: 09/30/2010

Found it:

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

Had to downgrade gnome-settings-daemon, and volume keys worked again.