Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 03-18-2007, 08:05 AM   #1
LQ Newbie
Registered: Feb 2007
Posts: 18

Rep: Reputation: 1
KMix 'Mute All' DCOP?

Well, I know there are many ways to mute in KMix (I think I've futzed with them all), and that seems to be my problem. Too many options! I have a Dell Inspiron with those nifty multimedia keys and while they all seem to work quite well natively with KDE and KMilo, I'm having an issue with muting. It seems my XF86Audio key for muting only sends the signal to mute the master channel, not all of them- which is quite useless when trying to mute MP3 or video sound, as they use PCM.

Does anyone know the DCOP equivalent to right clicking on the KMix icon in the systray and selecting Mute? That seems to be the only way I've found to mute everything at once as it looks like it mutes at the base soundcard level, not by channel. by one, I'm tweaking this system to work -just- how I want it. I'm >< close.

- mertle
Old 03-18-2007, 10:02 AM   #2
LQ Guru
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 63
That is different than my setup. When I muted the master channel it silences all sound on mine. Just the Master Volume goes mute while the rest stays the way they are. I myself have tried to do the DCOP thing and more than anything kept running in a block wall.

With KDE I have written three scripts to do the job for me. Check it out here post #7.

Now what is does is muted the master channel on card -c0 which is the first sound card on my system. Once done it rewrites the volumemute file to set it up to unmute master on the next key press of F10.

Now if you have already have a key for mute and produces the XF86Audio equivlent then instead of setting the hotkey as describe to F10 you can hit the key for mute you want. If it displays the correct XF86**** enter then great. If not then may have to map it in your /etc/Xmodmap file. here is a sample of mine. I got the keycode from the xev command.
keycode 176 = XF86AudioRaiseVolume
keycode 174 = XF86AudioLowerVolume
keycode 178 = XF86WWW
keycode 236 = XF86Mail
keycode 74 = XF86Eject
Old 03-18-2007, 12:13 PM   #3
Senior Member
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Without DCOP, I use xbindkeys for this:


"aumix -v-10"
    m:0x0 + c:174

"aumix -v+10"
    m:0x0 + c:176

    m:0x0 + c:160
And I have a line in ~/.bash_profile:

/usr/bin/pgrep xbindkeys || /usr/bin/xbindkeys
That's not very pretty but it works (tm)

Last edited by nx5000; 03-18-2007 at 12:14 PM.


dcop, kmix, mute

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kmix Defaults to Mute On BOOT? newtwolinux Linux - Newbie 2 08-21-2006 09:48 AM
DCOP kmix - Toggling mute mickyg Linux - Software 1 12-13-2005 04:37 AM
Dcop phoenix7 Programming 3 10-14-2004 06:31 PM
DCOP Help pete281 Linux - Newbie 9 07-12-2004 06:58 PM
Dcop chingasman Linux - Newbie 11 05-30-2004 07:51 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:36 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration