So kann man die Hotkeys eines "Microsoft Wireless Keyboard 2000" unter Debian verwenden:
- sudo apt-get install hotkeys libxosd2
- sudo vi /usr/share/hotkeys/mswk2k.def
<?xml version="1.0"?>
<definition>
<config model="Microsoft Wireless Keyboard 2000">
<PrevTrack keycode="234"/>
<NextTrack keycode="233"/>
<Play keycode="162"/>
<VolDown keycode="174" adj="1"/>
<Mute keycode="160"/>
<VolUp keycode="176" adj="1"/>
<WebBrowser keycode="130"/>
<Search keycode="122"/>
<Email keycode="236"/>
<Calculator keycode="161"/>
</config>
<contributor>
<name>Junya Keller</name>
</contributor>
</definition> - sudo vi /etc/hotkeys.conf
Kbd=mswk2k
PrevTrack=xmms --rew
NextTrack=xmms --fwd
Play=xmms --play-pause
WebBrowser=iceweasel
Search=iceweasel http://www.google.com/ncr
Email=icedove
Calculator=qalculate - hotkeys starten --> fertig!
- Man kann es auch automatisch starten: vi ~/.config/autostart/Hotkeys.desktop
[Desktop Entry]
Encoding=UTF-8
Version=0.9.4
Type=Application
Name=Hotkeys
Comment=
Exec=hotkeys
StartupNotify=false
Terminal=false
Hidden=false
No comments