figueroa Advocate
Joined: 14 Aug 2005 Posts: 2963 Location: Edge of marsh USA
|
Posted: Sun May 02, 2021 7:40 pm Post subject: Panel Alsa Volume Control |
|
|
FYI.
The application media-sound/volumeicon makes a nice replacement tool for the marginal Volume Control item in lxpanel, and apparently other panels (i.e. tint2). I'm using it with lxpanel under openbox. When added to the openbox autostart file, it takes up residence in the system tray. I've extended it's mouse wheel control with keyboard shortcuts with the following in ~/.config/openbox/rc.xml
Code: | <keybind key="A-Up">
<action name="Execute">
<startupnotify>
<enabled>false</enabled>
<name>Amixer-Volume-Up</name>
</startupnotify>
<command>/usr/bin/amixer set Master 1db+</command>
</action>
</keybind>
<keybind key="A-Down">
<action name="Execute">
<startupnotify>
<enabled>false</enabled>
<name>Amixer-Volume-Down</name>
</startupnotify>
<command>/usr/bin/amixer set Master 1db-</command>
</action>
</keybind> |
It's not perfect, but it is satisfactory, and very small. I wasn't looking for perfect.
Be careful editing your xml files. I've had to restore from backup more than once. _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|