• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Notebook Multimedia Tasten

mtom

Member
Moin!

Ich habe eigentlich was anderes gesucht, aber das gefunden:

Code:
#****************************************************************
# LAPTOP FRONT PANNEL BUTTON CONFIGURATION
#****************************************************************

#--------------------------------------------
# 0.- Introduction
#--------------------------------------------

KDE 3.4 utils include Kmilo, which is a KDE daemon that will
enable the multimedia buttons on the front pannel of the laptop.

So, you need this plugin to be add on your KDE. The easiest
way is using YaST for installing the kde-utils3 package.

#--------------------------------------------
# 1.- Installing KDE utils
#--------------------------------------------
1.- YaST -> Software -> Install/Uninstall Software
2.- Check for "kdeutils3" and "kdeutils3-laptop" packages
3.- If not installed, the install them

#--------------------------------------------
# 2.- Enabling Kmilo
#--------------------------------------------
1.- Go to KDE Control Center
{Control Center -> KDE components -> Service Administration}

2.- Enable Kmilo daemon.

3.- Then go to {System Administration -> IBM ThinkPad}

4.- Now check the boxes:
-Start KMilo plugin for IBM ThinkPad Laptops
-Change volume by software


#--------------------------------------------
# 3.- Assigning special keys
#--------------------------------------------
If your system do not automatically detect and config the
multimedia button you can do it manually on this way:

1.- As root, edit Xmodmap file:
vi /etc/X11/Xmodmap

2.- Add those lines on the file

[...]
! Multimedia buttons on Dell Inspiron 9300
keycode 160 = XF86AudioMute
keycode 174 = XF86AudioLowerVolume
keycode 176 = XF86AudioRaiseVolume
keycode 162 = XF86AudioPlay
keycode 164 = XF86AudioStop
keycode 144 = XF86AudioNext
keycode 153 = XF86AudioPrev
[...]

You can capture your mutimedia buttons code on this way
xev

Then you can check the file /usr/X11R6/lib/X11/XKeysymDB to 
see the possible assignations.



3.- Keys activation from console

xmodmap /etc/X11/Xmodmap
/opt/kde3/share/config/kdm/Xsession
/etc/X11/xinit/xinitrc


#--------------------------------------------
# 4.- Lineak: Kmilo alternative
#--------------------------------------------

If this procedure do nor work for you,
you can always use an alternative daemon for those
keys: the Lineak one.

You have to install it from Yast and configure
using its GUI.

Das ist nur ein Auszug. Den kompletten Text gibt es dort:
http://forums.suselinuxsupport.de/index.php?showtopic=18263


Grüße aus Hamburg

Thomas
 
Oben