Shortcut keys not working after upgrade
- Login o registrati per inviare commenti
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?
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.
Allegato | Dimensione |
---|---|
alsa_u_mute_workaround.txt | 224 byte |
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.
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.
Found it:
https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1248368
Had to downgrade gnome-settings-daemon, and volume keys worked again.
- Login o registrati per inviare commenti