Find the answer to your Linux question:
Results 1 to 2 of 2
Hi there I have a Microsoft Multimedia Keyboard, and I wish to use keybindings for my "multimedia" keys such as; media, web, music, mail, messenger, calculator etc. I have been ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2007
    Posts
    95

    Keyboard Setup


    Hi there

    I have a Microsoft Multimedia Keyboard, and I wish to use keybindings for my "multimedia" keys such as; media, web, music, mail, messenger, calculator etc. I have been reading this tutorial Weekend Project: Configure Your Keyboard Into Submission | Linux.com and using the xev command I can see most bindings are the way I want them already, for example;

    Code:
    KeyPress event, serial 34, synthetic NO, window 0x8a00001,
        root 0xc4, subw 0x0, time 6981094, (-691,84), root:(466,734),
        state 0x10, keycode 180 (keysym 0x1008ff2e, XF86WWW), same_screen YES,
        XKeysymToKeycode returns keycode: 158
        XLookupString gives 0 bytes: 
        XmbLookupString gives 0 bytes: 
        XFilterEvent returns: False
    
    KeyRelease event, serial 34, synthetic NO, window 0x8a00001,
        root 0xc4, subw 0x0, time 6981182, (-691,84), root:(466,734),
        state 0x10, keycode 180 (keysym 0x1008ff2e, XF86WWW), same_screen YES,
        XKeysymToKeycode returns keycode: 158
        XLookupString gives 0 bytes: 
        XFilterEvent returns: False
    
    KeyPress event, serial 34, synthetic NO, window 0x8a00001,
        root 0xc4, subw 0x0, time 6985273, (-691,84), root:(466,734),
        state 0x10, keycode 148 (keysym 0x1008ff1d, XF86Calculator), same_screen YES,
        XLookupString gives 0 bytes: 
        XmbLookupString gives 0 bytes: 
        XFilterEvent returns: False
    
    KeyRelease event, serial 34, synthetic NO, window 0x8a00001,
        root 0xc4, subw 0x0, time 6985320, (-691,84), root:(466,734),
        state 0x10, keycode 148 (keysym 0x1008ff1d, XF86Calculator), same_screen YES,
        XLookupString gives 0 bytes: 
        XFilterEvent returns: False
    That is me pressing the Web and Calculator keys, however, while they are binded by "XF86WWW" and "XF86Calculator" they do not start these programs, what do I need to do to make the bindings start these (and other) apps?

    Using Suse 11.4

    Jonny

  2. #2
    Linux Enthusiast
    Join Date
    Jan 2005
    Location
    Saint Paul, MN
    Posts
    668
    Quote Originally Posted by Jonny88 View Post
    Hi there

    I have a Microsoft Multimedia Keyboard, and I wish to use keybindings for my "multimedia" keys such as; media, web, music, mail, messenger, calculator etc. I have been reading this tutorial Weekend Project: Configure Your Keyboard Into Submission | Linux.com and using the xev command I can see most bindings are the way I want them already, for example;

    Code:
    KeyPress event, serial 34, synthetic NO, window 0x8a00001,
        root 0xc4, subw 0x0, time 6981094, (-691,84), root:(466,734),
        state 0x10, keycode 180 (keysym 0x1008ff2e, XF86WWW), same_screen YES,
        XKeysymToKeycode returns keycode: 158
        XLookupString gives 0 bytes: 
        XmbLookupString gives 0 bytes: 
        XFilterEvent returns: False
    
    KeyRelease event, serial 34, synthetic NO, window 0x8a00001,
        root 0xc4, subw 0x0, time 6981182, (-691,84), root:(466,734),
        state 0x10, keycode 180 (keysym 0x1008ff2e, XF86WWW), same_screen YES,
        XKeysymToKeycode returns keycode: 158
        XLookupString gives 0 bytes: 
        XFilterEvent returns: False
    
    KeyPress event, serial 34, synthetic NO, window 0x8a00001,
        root 0xc4, subw 0x0, time 6985273, (-691,84), root:(466,734),
        state 0x10, keycode 148 (keysym 0x1008ff1d, XF86Calculator), same_screen YES,
        XLookupString gives 0 bytes: 
        XmbLookupString gives 0 bytes: 
        XFilterEvent returns: False
    
    KeyRelease event, serial 34, synthetic NO, window 0x8a00001,
        root 0xc4, subw 0x0, time 6985320, (-691,84), root:(466,734),
        state 0x10, keycode 148 (keysym 0x1008ff1d, XF86Calculator), same_screen YES,
        XLookupString gives 0 bytes: 
        XFilterEvent returns: False
    That is me pressing the Web and Calculator keys, however, while they are binded by "XF86WWW" and "XF86Calculator" they do not start these programs, what do I need to do to make the bindings start these (and other) apps?

    Using Suse 11.4

    Jonny
    You still need a program that is looking for those keys an executes the proper program.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •