Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
KDE Volume Control with Logitech G11/G15 keyboard...how?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
temnozor
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jul 2008
Posts: 121
Location: Germany

PostPosted: Sat Oct 18, 2008 4:12 pm    Post subject: KDE Volume Control with Logitech G11/G15 keyboard...how? Reply with quote

I've an logitech G11 keyboard (same as G15 but without a display) i want to use the volumechanger of my keyboard to change KDE volume

but how to?

i emerged successfully the app-misc/g15deamon but nothing happens when i use the volume changer
Back to top
View user's profile Send private message
Polynomial-C
Retired Dev
Retired Dev


Joined: 01 Jun 2003
Posts: 1432
Location: Germany

PostPosted: Wed Oct 22, 2008 10:35 pm    Post subject: Reply with quote

Assuming you have kde-3.5 installed, install kde-base/kxkb and kde-base/khotkeys to configure your extra keys.
After installation of these packages, open the KDE control center, open the submenu of "Regional & Accessibility" and klick "Keyboard Layout".
Enable the layouts and choose the Logitech G15 under "Keyboard model". Now the extra keys from your G11 should be available to the X-server but there is still no action assigned to any of those extra keys. This can be done in the "Input Actions" menu.
Create a new group and call it "Logitech G11". Inside of that group create all actions you would like to assign to your desired extra keys.
For the volume stuff, create two actions (volume up and volume down) of the type "Keyboard Shortcut -> Command/URL (simple)". When you want to assign the volume wheel to those two actions just push the wheel into the correct direction when selecting the shortcut for that action. As command you can use amixer (from media-sound/alsa-utils package). For my emu10k1 card I used these commands:
Code:
amixer set Master 10%-  #volume down
amixer set Master 10%+  #volume up

I hope this helps...

Cheers
Poly-C

P.S.: You could use dcop commands to control kmix as well but when I used that method, every change of my system's volume lead to some very short but annoying freeze of the whole desktop...
_________________
The manual said "Requires Windows10 or better" so I installed GNU/Linux...

my portage overlay

Need a stage1 tarball? (Unofficial builds)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum