Volume control config

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
Sasquatch
Posts: 155
Joined: 26. Mar 2014, 00:50

Volume control config

Post by Sasquatch »

One of the biggest improvements I've noticed in 14.2 versus 14.1 is the sound. The quality and level of control are both well beyond anything I've encountered previously in ANY Linux distro. But can somebody point me to some documentation on how to configure the new PulseAudio to recognize the volume keys on my laptop? They worked under 14.1, but haven't worked since I upgraded. I installed pavucontrol and several other Pulse-related packages from Gslapt but haven't figured out how to configure it to accept the up/down/mute inputs from the media keys.
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: Volume control config

Post by gapan »

Volume keys work out of the box here, but I'm in MATE right now. Maybe take a look at this?
https://wiki.archlinux.org/index.php/Pu ... me_control
Image
Image
Sasquatch
Posts: 155
Joined: 26. Mar 2014, 00:50

Re: Volume control config

Post by Sasquatch »

gapan wrote:Volume keys work out of the box here, but I'm in MATE right now. Maybe take a look at this?
https://wiki.archlinux.org/index.php/Pu ... me_control
I ran 'xev' to see what the keys are doing and they already show being linked to the commands given in that thread. I don't understand why the volume doesn't respond if the keys are mapped to the correct commands. The documentation on the AudioPulse site offers no help that I could find. I'll Google around a bit more. It's no major issue at the moment since I have the volume set where I typically prefer it.
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: Volume control config

Post by mimosa »

Still, it's worth getting on top of, for future reference and for other users. So thanks for bringing this up.
User avatar
laprjns
Salix Warrior
Posts: 1113
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: Volume control config

Post by laprjns »

Running 14.2 Xfce here and volume keys on my laptop work.
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
Sasquatch
Posts: 155
Joined: 26. Mar 2014, 00:50

Re: Volume control config

Post by Sasquatch »

laprjns wrote:Running 14.2 Xfce here and volume keys on my laptop work.
Odd. I'm running Xfce as well.

This is what I get from 'xev' when I press the volume down key;

Code: Select all

KeyRelease event, serial 37, synthetic NO, window 0x3000001,
    root 0x497, subw 0x0, time 130675368, (175,-10), root:(769,296),
    state 0x0, keycode 122 (keysym 0x1008ff11, XF86AudioLowerVolume), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False
The volume up and mute keys return similar outputs.
User avatar
Papasot
Donor
Posts: 250
Joined: 3. May 2015, 18:37
Location: Patras, Greece

Re: Volume control config

Post by Papasot »

I can confirm volume keys worked out-of-the-box in 14.2 with Xfce, in two laptops. They also worked in my desktop computer with a mechanical keyboard providing not just volume keys, but also keys for "stop", "play", "previous track", "next track" in the multimedia keyboard section. All of them worked as expected without any tweaking needed.

Not sure what's wrong with your specific computer... If you installed Salix 14.2 using the minimal graphical installation option, you might need to install xfce4-pulseaudio-plugin, because it is not installed by default in that installation mode.
A pleasant detail in this forum: several people pick a picture of their pet as their avatar. Who am I to do otherwise? ;-)
Sasquatch
Posts: 155
Joined: 26. Mar 2014, 00:50

Re: Volume control config

Post by Sasquatch »

I'll check that plugin when I get home.

**EDIT**

Yup, that's one of the plugins I installed after the upgrade. So I have no idea why the keys aren't working.
Post Reply