Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Aspire 2001WLCI, Lautstärke unter kde mit 'SW Taste'?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
schrippe
Guru
Guru


Joined: 03 Mar 2004
Posts: 556
Location: Mülheim

PostPosted: Tue Jun 14, 2005 9:55 am    Post subject: Aspire 2001WLCI, Lautstärke unter kde mit 'SW Taste'? Reply with quote

hallo,

habe og. notebook und es hat leider nur eine art software-taste für die lautstärke. diese wird aber anscheinend nicht von kde erkannt.
wie kann ich rausfinden welchen tastaturcode die aussendet und dann an kde-sound anpassen?

danke für hilfe.
_________________
for i in $(seq 1 565); do echo 'A$i: entweder rechts fahren oder rechts überholen dürfen!';done
Back to top
View user's profile Send private message
_hephaistos_
Advocate
Advocate


Joined: 07 Apr 2004
Posts: 2694
Location: salzburg, austria

PostPosted: Tue Jun 14, 2005 10:02 am    Post subject: Reply with quote

schau mal obs einen acpi event gibt...

cheers
Back to top
View user's profile Send private message
@4u
Apprentice
Apprentice


Joined: 13 Nov 2004
Posts: 160

PostPosted: Tue Jun 14, 2005 10:59 am    Post subject: Reply with quote

Mittels "xhkeys" lassen sich auch beliebige Tastenkombinationen mit Funktionen verknüpfen.
_________________
Alle Angaben ohne Gewähr - Korrekturen sind gern willkommen
Back to top
View user's profile Send private message
schrippe
Guru
Guru


Joined: 03 Mar 2004
Posts: 556
Location: Mülheim

PostPosted: Tue Jun 14, 2005 11:09 am    Post subject: Reply with quote

wie sehe ich ob ein event auftritt? cat /proc/acpi/events ??

und wie verknüpfe ich xhkeys mit alsa oder kmixer?

thx
_________________
for i in $(seq 1 565); do echo 'A$i: entweder rechts fahren oder rechts überholen dürfen!';done
Back to top
View user's profile Send private message
@4u
Apprentice
Apprentice


Joined: 13 Nov 2004
Posts: 160

PostPosted: Tue Jun 14, 2005 11:30 am    Post subject: Reply with quote

schrippe wrote:
wie sehe ich ob ein event auftritt? cat /proc/acpi/events

Fast cat /var/log/acpid
schrippe wrote:
und wie verknüpfe ich xhkeys mit alsa oder kmixer?

thx
xhkconf aufrufen, Taste drücken, dann Key-Event auswählen und einfach eine andere Tastenkombination auslösen. Das ist natürlich nur nötig, wenn zwar xhkconf auf die Taste reagiert, nicht aber die Tastenbelegung von KDE.
_________________
Alle Angaben ohne Gewähr - Korrekturen sind gern willkommen
Back to top
View user's profile Send private message
Jtb
Apprentice
Apprentice


Joined: 19 Dec 2003
Posts: 157
Location: Germany/Darmstadt

PostPosted: Wed Jun 15, 2005 9:03 am    Post subject: Re: Aspire 2001WLCI, Lautstärke unter kde mit 'SW Taste'? Reply with quote

schrippe wrote:
hallo,

habe og. notebook und es hat leider nur eine art software-taste für die lautstärke. diese wird aber anscheinend nicht von kde erkannt.
wie kann ich rausfinden welchen tastaturcode die aussendet und dann an kde-sound anpassen?

danke für hilfe.


starte mal xev und guck nach ob der Tastendruck überhaupt ankommt..
Die Lautstärketasten sollten auf folgenden Keycodes gelegt sein:
Leiser (Fn + Cursor-Runter): 174
Lauter (Fn + Cursor-Hoch): 176
Stummschalten (Fn + F8): 160

Falls du diese Keycodes bekommst, machst du folgendes:

Leg /etc/xprofile mit folgendem Inhalt an:
Code:

#! /bin/sh

xinitdir=/usr/X11R6/lib/X11/xinit
sysmodmap=$xinitdir/.Xmodmap

# merge in defaults and keymaps
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi


und dann in /usr/X11R6/lib/X11/xinit/.Xmodmap

Code:

keycode 160 = XF86AudioMute
keycode 174 = XF86AudioLowerVolume
keycode 176 = XF86AudioRaiseVolume



Für KDE-User empfehle ich noch kmilo (im emerge kde schon direkt dabei - eventl. beim splitted KDE 3.4 noch emergen)..

siehe dazu auch http://www.jensthebrain.de/68.0.html
_________________
Jens

.. God is real - unless declared integer!
Back to top
View user's profile Send private message
schrippe
Guru
Guru


Joined: 03 Mar 2004
Posts: 556
Location: Mülheim

PostPosted: Wed Jun 15, 2005 9:29 am    Post subject: Reply with quote

thanks a lot. werd es mir sicherlich anschauen.

super
_________________
for i in $(seq 1 565); do echo 'A$i: entweder rechts fahren oder rechts überholen dürfen!';done
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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