LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
LinkBack Search this Thread
Old 03-18-2007, 07:05 AM   #1
mertle
LQ Newbie
 
Registered: Feb 2007
Posts: 18

Rep: Reputation: 0
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.

...one by one, I'm tweaking this system to work -just- how I want it. I'm >< close.

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

Rep: Reputation: 61
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.
http://www.linuxquestions.org/questi...130#post506130

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.
Code:
keycode 176 = XF86AudioRaiseVolume
keycode 174 = XF86AudioLowerVolume
keycode 178 = XF86WWW
keycode 236 = XF86Mail
keycode 74 = XF86Eject
Brian
 
Old 03-18-2007, 11:13 AM   #3
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

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

~/.xbindkeysrc:

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

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

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

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

Last edited by nx5000; 03-18-2007 at 11:14 AM.
 
  


Reply

Tags
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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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


All times are GMT -5. The time now is 07:35 AM.

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