[kde-linux] kmix 2.6.1 any dcop command to select channel

christophe christophe.dr at free.fr
Wed Sep 20 08:03:44 UTC 2006


Le Mardi 19 Septembre 2006 22:42, Kevin Krammer a écrit :
> On Tuesday 19 September 2006 21:37, christophe wrote:
> > Le Mardi 19 Septembre 2006 21:09, Thomas McGuire a écrit :
> > > > Is there anything i can do to select automatically at each login
> > > > "Master Mono" instead of "PCM" as channel ?
> > > Actually, I just found out that you can right-click the tray icon and
> > > select "Select Master Channel"...
> > > --
> > > Thomas
> > Thanks a lot Thomas. Actually i had found this feature but it was not
> > what i was looking for. What i wanted was a funtion that could be called
> > by dcop or kdcop in a script.
> Maybe a different approach using a commandline mixer like amixer might work
> better.
> Cheers,
> Kevin

Thanks a lot Kevin. But i had already tried this by putting this in the shell 
script :

soundup)
       amixer -c 0 set PCM 10+
 
But the problem was i did not find how to get the actual volume with an alsa 
command to display it with this kind of command :

       dcop kded kmilod displayProgress "Volume Up" $volume

Anyway, i am satisfied of the way it works with the script i posted on  
12/09/2006 at 21:49 .
Thanks again to every one helping.

-- 
christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-linux/attachments/20060920/7b7f1435/attachment.sig>


More information about the kde-linux mailing list