On Tue, Jan 07, 2014 at 12:16:55PM +0200, Antonis Tsolomitis wrote:
> 
> I remember that Suns had a panel applet that controlled the sound volume
> of the system
> This does not seem to exist in the current CDE.
> 
> I have tried to use gnome-sound-applet together with stalonetray as
> suggested in previous posts
> but it is not good. For example, the moment vlc starts, the tray icon of
> vlc covers the  gnome-sound-applet
> and you have no more access to it.
> 
> The easiest way (if no-one has something better) is to use xbindkeys and
> use a configuration such as
> 
> ## File is $HOME/.xbindkeysrc
> ## Volume down, up, mute
> "amixer -D pulse sset Master 5%-"
>     m:0x0 + c:122
>     XF86AudioLowerVolume
> "amixer -D pulse sset Master 5%+"
>     m:0x0 + c:123
>     XF86AudioRaiseVolume
> "amixer -D pulse sset Master toggle"
>     m:0x0 + c:121
>     XF86AudioMute
> ###############################
> 
> and use the keyboard to raise, lower or mute/unmute the sound volume.
> 
> Does anyone have a better or gui solution?
> If not, I may write a CDEtip for the wiki pages.
> 

Let's see...
I'd expect f.exec could be used in dtwmrc.
I don't expect .motifkeys with xmbind would work, since it seems to be aimed at
other uses.

Solaris used something like this in the "Keys DtKeyBindings" section
 to get keyboard volume control:
<key>SunAudioMute root|icon|window|ifkey f.exec /.../muteVolume
<key>SunAudioRaiseVolume root|icon|window|ifkey f.exec /.../volumeUp
<key>SunAudioLowerVolume root|icon|window|ifkey f.exec /.../volumeDown

where /.../ is /usr/dt/appconfig/sdtvolctl/

So you could put the commands you have  in quotes in place of the commands 
above,
and then s/Sun/XF86/.

I see something about "SAC" (Solaris Audio Control), as well as sdtaudioctl
(the latter is Sun's program, the former is a FOSS alternative.)
And apparently there was once another program known as audiocontrol,
which shipped with HP/UX and older Solaris versions.



HTH,
Isaac Dunham

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to