Mute shortcut problem...
Andre Rodovalho
andre.rodovalho at gmail.com
Fri Apr 25 02:48:15 UTC 2014
Now I made it (last message, I promis)
My entry on lubuntu-rc.xml:
<keybind key="XF86AudioMute">
<action name="Execute">
<command>amixer -c 1 -q sset Master toggle</command>
</action>
<action name="Execute">
<command>amixer -c 1 -q sset Speaker unmute</command>
</action>
<action name="Execute">
<command>amixer -c 1 -q sset Headphone unmute</command>
</action>
</keybind>
"-c 1" is to select a diferent audio card, so I guess most people won't
need it. I suppose the standard is "-c 0"
2014-04-24 23:41 GMT-03:00 Israel <israeldahl at gmail.com>:
> On 04/24/2014 09:34 PM, Andre Rodovalho wrote:
>
> Actually, I found that the best command is:
>
> $ amixer -c 1 -q sset Master toggle && amixer -c 1 -q sset Speaker
> unmute && amixer -c 1 -q sset Headphone unmute
>
> I guess it will need a shell script, because I'm having problems to get
> all these commands to work on lubuntu-rc.xml file. && I supose are not
> allowed!
>
>
> 2014-04-24 23:08 GMT-03:00 Andre Rodovalho <andre.rodovalho at gmail.com>:
>
>> The problem consists on the mute shortcut, that might behave like a
>> toggle button, but actually, only mutes, and you need to use the volume
>> control on "tray" to unmute!
>>
>> I have seen this problem occuring since I met Lubuntu. I don't know if
>> this affects everyone, but lately I spent some time to figure it out. Here
>> is where I got the "solution":
>> http://ubuntuforums.org/showthread.php?t=1796713
>>
>> What I found is that I can solve this issue changing the shortcut
>> command on ~/.config/openbox/lubuntu-rc.xml
>>
>> Original: amixer -q sset Master toggle
>> Modified: amixer -q sset Master toggle && amixer -q sset Speaker toggle
>> && amixer -q sset Headphone toggle
>>
>> This makes toggle mute to work like should be...
>>
>
>
>
> That is fantastic!
>
> --
> Regards
>
>
> --
> Lubuntu-users mailing list
> Lubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/lubuntu-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/lubuntu-users/attachments/20140424/ca891e38/attachment.html>
More information about the Lubuntu-users
mailing list