LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-29-2007, 06:45 PM   #1
Michael_aust
Member
 
Registered: Aug 2005
Location: Lancashire (United Kingdom)
Distribution: Debian Etch, on 686 machine.
Posts: 509

Rep: Reputation: 31
control kmix with multimedia keys


Under Opensuse 10.2 I was able to control kmix via my multimedia keys (volume up, down, mute) with kmilo. However under Debian I cannot get this to function.

I have kmilo installed and running and nvram is loaded and writable by users.

Does anyone know ho kmilo is enabled in debian?

If not, then how about using xbindkeys to control kmix via dcop. I am having trouble with this approach, I cannot find anywhere the dcop commands for control kmix. The ones I have found do not work. Anyone have any solutions.

Thanks in advance

Michael
 
Old 01-30-2007, 11:29 AM   #2
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 55
I control aumix through xbindkeys:

.xbindkeysrc

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

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

"mute"
m:0x0 + c:160

The codes depends on your scancodes, you should have the codes in /var/log/messages when you press these buttons.


I have no clue for the dcop interaction
 
Old 01-30-2007, 11:33 AM   #3
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 55
http://forum.hardware.fr/hfr/OSAlter...et_42064_1.htm

I hope you understand french

read INC; VOL_CUR=`dcop kmix Mixer0 masterVolume`; VOL=`expr $VOL_CUR + $INC`; dcop kmix Mixer0 setMasterVolume $VOL
 
Old 01-30-2007, 06:09 PM   #4
Michael_aust
Member
 
Registered: Aug 2005
Location: Lancashire (United Kingdom)
Distribution: Debian Etch, on 686 machine.
Posts: 509

Original Poster
Rep: Reputation: 31
nx5000: Thanks for that. I ran google translator on the french page but it wasnt much help. The dcop stuff worked, but I could not figure out how to get it to incrment the volume increase.

I am going to use the xbindkeys to control aumix method. I have set it up on my desktop and it works well. It seems to be the easiest solution out of everything, so I will use this.

Thanks for the help, its appreciated, cheers.

Michael.
 
  


Reply


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to change kmix master control ricemark20 Mandriva 2 10-19-2006 01:26 PM
KDE-Multimedia from source ( kmix only needed ) nykey Slackware 9 07-09-2006 04:08 AM
Kmix volume control problems borderlinedd Linux - Hardware 3 05-10-2005 05:45 PM
Kmix/Volume Control Problem ishman Linux - Hardware 1 11-18-2004 08:12 AM
KMix Shortcuts for Multimedia Keyboard Zallus Linux - Software 1 10-25-2003 02:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:52 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration