You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Friday, December 10th 2004, 4:25am

kmix grabbed volume keys -- how to get them back?

so, i have a run of the mill kde installation with a microsoft Natural Keyboard Pro, which has a bunch of extra keys on top.

I know i can assign them to do interesting things in the control center, but the volume keys have already been taken, by kMix. when i push one of them, a nice big grey box pops up on my screen and shows my volume changing. what's weird is that i can't find the kmix binding specified anywhere (in the control center). i want to take back my volume keys and use them for something else -- how??

Freddano

Beginner

Posts: 2

Location: Sweden

  • Send private message

2

Tuesday, February 8th 2005, 10:25am

RE: kmix grabbed volume keys -- how to get them back?

I have the exact same problem. I Have a Microsoft Wireless Multimedia-keyboard. I also have an nForce2-system, with the audio connected to digital-out. So no mixers work for my board (as far as regulating volume goes.) Therefore I have mapped the volume-keys to dcop-calls and let amaroK change the volume-setting. That used to work as a charm.
My kde-installation is from CVS, and even if I go in to kdemutlimedia/kmix and issue a "make uninstall" kmix still tries to "hi-jack" the volume-keys. Only now I get a box stating "It seems as if Kmix isn't running" (or something like that).

Any light on the subject would be greatly appreciated.

TIA,
Fredrik

Freddano

Beginner

Posts: 2

Location: Sweden

  • Send private message

3

Thursday, April 28th 2005, 11:25pm

I found the "problem". It is caused by Kmilo, started by kded. To disable kmilo, go to the service menu in the settings-central and disable the service.

4

Saturday, April 22nd 2006, 10:02pm

I have a similar problem. I'm using KDE 3.5.2 and FC5

In previous versions of fedora, pressing the volume buttons in kde would result in the audio volume changing, and a progress bar appearing to tell me about it. Now, the volume doesn't change and I get a grey box with the message "It seems that KMix is not running", even though KMix is running! If I quit KMix, then pressing the buttons will cause KMix to actually start, and then the same message pops up telling me that KMix is not running.

So now there are 2 questions:

(1) Is there some way to fix this and get the volume buttons to work with KMix?

(2) If not, the next best option would be to disable these hotkeys and reasign them to something else, like the sound mixer panel applet, but I can't find a simple way to uncouple these keys from kmix. The last reply suggested to remove kmilo: could anyone tell me what kmilo is supposed to do before I remove it and find even more problems?

daihard

Trainee

Posts: 89

Location: Lynnwood, WA, USA

Occupation: Senior Database Software Engineer

  • Send private message

5

Sunday, April 23rd 2006, 11:25am

Quoted

Originally posted by kamikaze_jack
I have a similar problem. I'm using KDE 3.5.2 and FC5

In previous versions of fedora, pressing the volume buttons in kde would result in the audio volume changing, and a progress bar appearing to tell me about it. Now, the volume doesn't change and I get a grey box with the message "It seems that KMix is not running", even though KMix is running! If I quit KMix, then pressing the buttons will cause KMix to actually start, and then the same message pops up telling me that KMix is not running.

My question for you is, how did your keyboard work like that right off the shelf? I use KDE 3.5.1/2 and FC5 with a Microsoft Wireless Comfort keyboard. I had to manually configure all the extra keys (including the media keys) using ~/.xmodmap to get them to work. I know of an alternatve, which is to choose one of the predefined keyboard types from KDE Control Centre, but even that does not default to a media keyboard.
Registered Linux User: #281828
Home: Fedora Core 6 / KDE 3.5.8
Work: CentOS 4.6 / KDE 3.5.8

6

Sunday, April 23rd 2006, 11:31am

Beats me how it works... Acutally, I think it's because I also have a mouse with extra media buttons, which is set up using xmodmap, and I think the volume buttons on the keyboard and mouse use the same keycodes, so by setting up the mouse I inadvertantly set up the keyboard at the same time. Anyway, it seems to be done through xmodmap. I've tried removing kmilo, but then I can't get the buttons to do anything at all.

daihard

Trainee

Posts: 89

Location: Lynnwood, WA, USA

Occupation: Senior Database Software Engineer

  • Send private message

7

Sunday, April 23rd 2006, 7:37pm

Quoted

Originally posted by kamikaze_jack
Beats me how it works... Acutally, I think it's because I also have a mouse with extra media buttons, which is set up using xmodmap, and I think the volume buttons on the keyboard and mouse use the same keycodes, so by setting up the mouse I inadvertantly set up the keyboard at the same time. Anyway, it seems to be done through xmodmap. I've tried removing kmilo, but then I can't get the buttons to do anything at all.

Would you mind doing me a favour? Could you open KDE Control Centre, choose "Regional & Accessibility" --> "Keyboard Layout" and see if any particular keyboard layout is chosen? The choice should be greyed out by default, but I could have been wrong.
Registered Linux User: #281828
Home: Fedora Core 6 / KDE 3.5.8
Work: CentOS 4.6 / KDE 3.5.8

8

Sunday, April 23rd 2006, 8:50pm

"Enable keyboard layouts" is greyed out.

daihard

Trainee

Posts: 89

Location: Lynnwood, WA, USA

Occupation: Senior Database Software Engineer

  • Send private message

9

Sunday, April 23rd 2006, 9:32pm

Quoted

Originally posted by kamikaze_jack
"Enable keyboard layouts" is greyed out.

Thanks for trying. Interesting... so your media buttons work right out of the box. That's amazing.
Registered Linux User: #281828
Home: Fedora Core 6 / KDE 3.5.8
Work: CentOS 4.6 / KDE 3.5.8

10

Sunday, April 23rd 2006, 9:36pm

I don't think all of them work, but the volume keys send out XF86AudioRaise/LowerVolume. The internet keys (forward/back etc) only send out some hex numbers, not the proper keysyms, but it's still possible to map most of them to shortcuts.