[SLE] Keyboard bindings

From: Vladimir Niksic (vniksic_at_inet.hr)
Date: 05/30/05

  • Next message: Ken Schneider: "Re: [SLE] Novell reports loss"
    Date: Mon, 30 May 2005 16:09:51 +0200
    To: suse-linux-e@suse.com
    
    

    I bought a cheapo keyboard the other day that has a few 'multimedia'
    keys such as volume up, volume down, mute and some other rubbish.

    In Windows, the media keys are actually pretty useful when in a game, or
    you're too lazy to play with the audio controls. Because of the speaker
    setup, I can't simply turn the knob on the speaker and make it
    quieter/louder.

    Now, in Linux, I'm wondering can you setup to something like that. I
    tried going to Kcontrol and setting up control to one of those special
    keys. He didn't register that anything was pressed. I started xev, and
    got the following:

    for volume up:

    KeyPress event, serial 29, synthetic NO, window 0x3200001,
         root 0x40, subw 0x0, time 2819764, (665,948), root:(669,978),
         state 0x10, keycode 176 (keysym 0x0, NoSymbol), same_screen YES,
         XLookupString gives 0 bytes:
         XmbLookupString gives 0 bytes:
         XFilterEvent returns: False

    KeyRelease event, serial 29, synthetic NO, window 0x3200001,
         root 0x40, subw 0x0, time 2819832, (665,948), root:(669,978),
         state 0x10, keycode 176 (keysym 0x0, NoSymbol), same_screen YES,
         XLookupString gives 0 bytes:

    for volume down:

    KeyPress event, serial 29, synthetic NO, window 0x3200001,
         root 0x40, subw 0x0, time 2846764, (434,700), root:(438,730),
         state 0x10, keycode 174 (keysym 0x0, NoSymbol), same_screen YES,
         XLookupString gives 0 bytes:
         XmbLookupString gives 0 bytes:
         XFilterEvent returns: False

    KeyRelease event, serial 29, synthetic NO, window 0x3200001,
         root 0x40, subw 0x0, time 2846833, (434,700), root:(438,730),
         state 0x10, keycode 174 (keysym 0x0, NoSymbol), same_screen YES,
         XLookupString gives 0 bytes:

    and for mute:

    KeyPress event, serial 29, synthetic NO, window 0x3200001,
         root 0x40, subw 0x0, time 2867280, (568,721), root:(572,751),
         state 0x10, keycode 160 (keysym 0x0, NoSymbol), same_screen YES,
         XLookupString gives 0 bytes:
         XmbLookupString gives 0 bytes:
         XFilterEvent returns: False

    KeyRelease event, serial 29, synthetic NO, window 0x3200001,
         root 0x40, subw 0x0, time 2867345, (568,721), root:(572,751),
         state 0x10, keycode 160 (keysym 0x0, NoSymbol), same_screen YES,
         XLookupString gives 0 bytes:

    Is there anyway to setup so when I hit one of those keys, aumix triggers
    with a flag to raise/lower or mute sound? Kcontrol obviously isn't going
    to happen, so I'm wondering is there a way to set it up on the level of
    X windows.

    -- 
    Check the headers for your unsubscription address
    For additional commands send e-mail to suse-linux-e-help@suse.com
    Also check the archives at http://lists.suse.com
    Please read the FAQs: suse-linux-e-faq@suse.com
    

  • Next message: Ken Schneider: "Re: [SLE] Novell reports loss"

    Relevant Pages

    • XKB Polaroid keyboard wheel special reaction (under X not console)
      ... i have a problem with a polaroid smart office keyboard ... KeyPress event, serial 23, synthetic NO, window 0x2600001, ... KeyRelease event, serial 23, synthetic NO, window 0x2600001, ... how can i change the behaviour of this 2 keys all other keys works fine ...
      (comp.os.linux.x)
    • Re: Menu Not Available from Keyboard
      ... The Alt-menu keys all work as expected. ... which is used for the client area of the docking window. ... Q117500 and my accelerator keys now work when one of the child dialog box ... > "Jonathan Wood" wrote in message ...
      (microsoft.public.vc.mfc)
    • Re: F1-12 keys not working!!
      ... and all the keys on it work except the ... >> I found out that running xev all keys are recognized by the xev ... ctrl-alt should be available for use by applications or window managers. ... KeyPress event, serial 26, synthetic NO, window 0x1a00001, ...
      (comp.os.linux.misc)
    • Re: SSH with PuTTY - Home/End keys dont work
      ... all is fine; the Home and End keys work. ... However, when I login from a Windows machine using the PuTTY client, ... Use tic -x scoansi-dm-cjc.ti to compile it into your terminfo database ... Close window on exit: ...
      (alt.os.linux.suse)
    • Re: Unable to Display Local GIF
      ... If you have these registry keys, export them then delete ... It does use a relative path, ... >> I'm not sure what you mean by dragging and dropping onto an IE window. ... >>> If you drag and drop the GIF file into an IE window, ...
      (microsoft.public.windows.inetexplorer.ie6.browser)