Page 3 of 9 FirstFirst 12345 ... LastLast
Results 21 to 30 of 87

Thread: HOWTO : Create a custom keyboard shortcut

  1. #21
    Join Date
    Nov 2005
    Location
    far... very far.
    Beans
    148

    Re: HOWTO : Create a custom keyboard shortcut

    Quote Originally Posted by Hebus95
    <Super_L> doesn't work, but I finally found how to do the trick :

    use <Mod4> to create a shortcut with the Windows key.

    It would be good to add a table with such equivalents in the wiki.
    if you dont mind, could you clarify on the <Mod4> ?

    i ran xev and i got:

    Code:
        KeyRelease event, serial 29, synthetic NO, window 0x3a00001,
        root 0x113, subw 0x0, time 4022236, (565,168), root:(583,316),
        state 0x50, keycode 115 (keysym 0xffeb, Super_L), same_screen YES,
        XLookupString gives 0 bytes:
    Howevr, using <Super_L> does not trigger 3ddesk.
    If i use <alt>F3, it triggers, so im sure my other settings are ok. Just not sure what Might be failing for <Super_L>

    I tried putting in <Mod4> to test. No luck either.



    ===============edit===============

    Never mind I got it working with Super_L without the <brackets> just plain:
    Super_L

    Thanks.

    ============end edit===============
    Last edited by 0okami; December 7th, 2005 at 10:45 AM. Reason: Posting solved issue, highlighting Super_L in red for clarity.
    ~0okami

  2. #22
    Join Date
    Dec 2005
    Location
    The Netherlands
    Beans
    682
    Distro
    Ubuntu Development Release

    Re: HOWTO : Create a custom keyboard shortcut

    Ookami: frodon has an e behind the <Super_l>

    He says "<Super_L>e"?

    Nevertheless I didn't get it working with <Super_L>e or <Super_L>

  3. #23
    Join Date
    Jun 2005
    Location
    France
    Beans
    7,100
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO : Create a custom keyboard shortcut

    Strange, it works without any problems for me.

    I will check that tomorow after my job because i'm not in front ubuntu now (in front of red hat at work now lol).
    However i will update the HowTo the next week, i think, i will add another way to bind keys which i also use, the tool is called xbindkey.

    EDIT : I just see your edit Ookami, glad it works for you too, i will also add that in the guide because many people like to use the windows key.
    Last edited by frodon; December 7th, 2005 at 10:55 AM.

  4. #24
    Join Date
    Nov 2005
    Location
    far... very far.
    Beans
    148

    Re: HOWTO : Create a custom keyboard shortcut

    Quote Originally Posted by frodon
    EDIT : I just see your edit Ookami, glad it works for you too, i will also add that in the guide because many people like to use the windows key.
    Tell you the truth, i've never used the windows key untill now. Not even in windows 3ddesktop gives me a good reason to use it.
    ~0okami

  5. #25
    Join Date
    Dec 2005
    Location
    The Netherlands
    Beans
    682
    Distro
    Ubuntu Development Release

    Re: HOWTO : Create a custom keyboard shortcut

    This is what I made of it:




    But the stupid key doesn't want to open firefox.

    And yes you can abuse these pics too

  6. #26
    Join Date
    Nov 2005
    Location
    far... very far.
    Beans
    148

    Re: HOWTO : Create a custom keyboard shortcut

    Quote Originally Posted by Rinzwind
    This is what I made of it:
    But the stupid key doesn't want to open firefox.
    interesting. run xev in the terminal, press that windows key and post us what the details say in the terminal.
    ~0okami

  7. #27
    Join Date
    Dec 2005
    Location
    The Netherlands
    Beans
    682
    Distro
    Ubuntu Development Release

    Re: HOWTO : Create a custom keyboard shortcut

    I get this
    KeyPress event, serial 27, synthetic NO, window 0x3200001,
    root 0x46, subw 0x0, time 2399688, (882,-241), root885,426),
    state 0x0, keycode 115 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

    KeyRelease event, serial 30, synthetic NO, window 0x3200001,
    root 0x46, subw 0x0, time 2399759, (882,-241), root885,426),
    state 0x40, keycode 115 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes:
    So I'd say I did it correctly.

  8. #28
    Join Date
    Nov 2005
    Location
    France/Germany
    Beans
    22
    Distro
    Ubuntu 6.06

    Re: HOWTO : Create a custom keyboard shortcut

    Ctrl <=> <Control> or <Ctrl>
    Alt <=> <Alt> or <Mod1> or <meta>
    Alt Gr <=> <Mod5>
    Win <=> <Mod4> or <super> or <hyper>
    Shift <=> <Shift>
    Menu <=> <menu>

  9. #29
    Join Date
    Nov 2005
    Location
    France/Germany
    Beans
    22
    Distro
    Ubuntu 6.06

    Re: HOWTO : Create a custom keyboard shortcut

    Depending on what you want to do you will use Super_L/Super_R or <Mod4>.
    Use <Mod4> if the win key is associated with another key. example : <Mod4>e
    You consider here that win is a shift key.
    When you use Super_L the win key lost this behaviour. You can use Super_L to popup a menu for exemple.
    Only for experimental purpose try : <Mod4>Super_R

  10. #30
    Join Date
    Dec 2005
    Location
    Finland
    Beans
    23

    My Super_L is dead

    Pressing the left Winbutton tells me this:
    Code:
    KeyPress event, serial 26, synthetic NO, window 0x3a00001,
        root 0x48, subw 0x3a00002, time 83486908, (52,31), root:(766,280),
        state 0x10, keycode 115 (keysym 0x0, NoSymbol), same_screen YES,
        XLookupString gives 0 bytes:
        XmbLookupString gives 0 bytes:
        XFilterEvent returns: False
    
    KeyRelease event, serial 29, synthetic NO, window 0x3a00001,
        root 0x48, subw 0x3a00002, time 83487171, (52,31), root:(766,280),
        state 0x10, keycode 115 (keysym 0x0, NoSymbol), same_screen YES,
        XLookupString gives 0 bytes:
    So I guess it's not possible to use it for keyboard shortcuts. The right Winbutton works ok, though..

Page 3 of 9 FirstFirst 12345 ... LastLast

Bookmarks

Posting Permissions

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