PDA

View Full Version : [lubuntu] The sound icon can't control PCM (alsamixer) - lubuntu-rc.xml



TalkinJive
February 6th, 2014, 10:26 PM
Good evening,
The sound icon of LXDE desktop controls "MASTER" of alsamixer. But it's useless because it's the "PCM" that controls the sound level.
So I try to configure the sound icon to control "PCM" instead of "MASTER".
I change /home/xuser/.config/openbox/lubuntu-rc.xml :
The lines
<command>amixer -q sset Master 3%+ unmute</command>
<command>amixer -q sset Master 3%- unmute</command>
<command>amixer -q sset Master toggle</command>
become
<command>amixer -q sset PCM 3%+ unmute</command>
<command>amixer -q sset PCM 3%- unmute</command>
<command>amixer -q sset PCM toggle</command>

I reboot. But no way ! The icon still controls "MASTER" of alsamixer ! :-(
I try the line "amixer -q sset PCM 3%- unmute" (for exemple) in a Terminal and it works.
So can I guess that lubuntu-rc.xml is useless ?
Please could you tell me how I can configure the sound icon to control "PCM" instead of "MASTER".
Thanx for your help !
Gérald.

walterorlin
February 7th, 2014, 01:57 AM
After editing that file you will need to run
openbox --reconfigure in a terminal as it is still using old configuration have You done that? Then it should work.

TalkinJive
February 8th, 2014, 12:12 PM
Hello walterorlin

I thanx you for the response.
I didn't reconfigure openbox. I try it but infortunetly it doesn't work. The sound icon stills control the "MASTER" instead of "PCM".
Notice that I find two similar files (I think the first is the pattern. It may be installed in /home)
/usr/share/lubuntu/openbox/rc.xml
/home/userx/.config/openbox/lubuntu-rc.xml
I try to configure the 2 files before "openbox --reconfigure" but no way.

Have you got another idea ?
Thanx.

walterorlin
February 20th, 2014, 05:27 AM
There is a way to open alsamixer throught right clicking on the speaker and then clicking sound settings and do that in alsamixer.