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
Achtung! Sicherheitsproblem: Die Hotkeys koennen auch verwendet werden, wenn der Bildschirm gelockt ist.

No comments

Add Comment

Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
Standard emoticons like :-) and ;-) are converted to images.
E-Mail addresses will not be displayed and will only be used for E-Mail notifications.
To leave a comment you must approve it via e-mail, which will be sent to your address after submission.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA

Submitted comments will be subject to moderation before being displayed.