You are not logged in.

1

Wednesday, February 18th 2004, 6:16pm

Using Multimedia-keyboard to control volume

In the previous KDE-version I remember KAMix offered the Opportunity to bind functions to special keys. But now I cant find this anymore. I cant find it in KContolcenter either.
I'd like to be able to control the sound-volune with the multimedia-keys on my Logitech cordless desktop pro.
I guess that is possible - but how?
----------
SuSE 9.0 with KDE 3.2

2

Thursday, February 26th 2004, 5:19pm

kde3.2 seem to lack a lot. kde3.2 has many problems browser crashing, freezing, multimedia & more, so I got ride of it & went back to 3.1, If I where I would do the same.

3

Monday, March 15th 2004, 4:58pm

I have a Dell Inspiron 8200 with multimedia keys running a Debian testing/unstable. I managed to set the volume control by using KHotKeys (under Regional & Accessibility).

If your X keyboard configuration does recognize your keys, you can create a new Action with type Keyboard Shortcut -> DCOP call; the DCOP settings are

Remote app: kmix
Remote obj: Mixer0
Called func: decreaseVolume / increaseVolume
Arguments: 0

What really drives me mad is that kmix does not have a function to toggle the mute state. I can set or reset it, and even get it, but I cannot use the return value from the " get" function to negate it and pass it to the setMute function :(

Where can we file an enhancement request?

4

Monday, March 15th 2004, 7:16pm

Quoted

Original von Giuseppe Bilotta

What really drives me mad is that kmix does not have a function to toggle the mute state. I can set or reset it, and even get it, but I cannot use the return value from the " get" function to negate it and pass it to the setMute function :(

What about this:
[code:1]
#!/bin/bash

oldSetting=`dcop kmix Mixer0 mute 0`
if $oldSetting eq true; then newSetting=false; else newSetting=true; fi

dcop kmix Mixer0 setMute 0 $newSetting
[/code:1]
:?:

5

Monday, March 15th 2004, 10:24pm

That's of course nice but I still think kmix has a deficiency by lacking the function. Your idea is a nice workaround for the time being, though :)

(Now if I only could get X to recognize the other 4 multimedia keys ...)

Posts: 2

Location: PerĂº

Occupation: student

  • Send private message

6

Wednesday, September 28th 2005, 11:57pm

Maybe you can try this...

Regarding the issue of KDE being able to recognize any multimedia key, I found this article very helpful:

http://www.brunolinux.com/06-Fine_Tuning…s_in_Linux.html

Though (as the autor declares) it was performed for kde in a mandrake distro, It worked for me too. I'm running SUSE 9.3 with KDE 3.4, and I had to replace the advises given in the menudrake and kmenuedit sections of the article with the Control Center-> Regional & Accessibility -> KHotKeys sequence to associate the keys with the desired actions. Hope it helps, Giuseppe.

Posts: 2

Location: PerĂº

Occupation: student

  • Send private message

7

Thursday, September 29th 2005, 12:53am

oops!!!

I must rectify what I said, in the sense that it applyes to X (and KDE, GNOME,... ) being able to recognize the multimedia keys. I admit it was not just a typo