Results 1 to 2 of 2

Thread: Ubuntu Map "Alt" + "l" key to "Left" arrow key

  1. #1
    Join Date
    Jul 2012
    Beans
    2

    Ubuntu Map "Alt" + "l" key to "Left" arrow key

    Hi all,

    In my Ubuntu 12.10, I want to map the "Alt" and "l" keys to the "Left" key (Which is when I type "Alt" and "l" together It will function like I press "Left" key).
    I use this command:
    Code:
     xmodmap -e "keycode 46 mod1 = l Left"
    (I checked "l" keycode with
    Code:
    xev
    command and it tells me that 46 is l's keycode).

    But it doesn't work . Can you suggest me a more accurate way?

    Here is the result after I run "xmodmap -pm" in terminal:

    Code:
    shift       Shift_L (0x32),  Shift_R (0x3e)
    lock        Caps_Lock (0x42)
    control     Control_L (0x25),  Control_R (0x69)
    mod1        Alt_L (0x40),  Alt_R (0x6c),  Meta_L (0xcd)
    mod2        Num_Lock (0x4d)
    mod3      
    mod4        Super_L (0x85),  Super_R (0x86),  Super_L (0xce),  Hyper_L (0xcf)
    mod5        ISO_Level3_Shift (0x5c),  Mode_switch (0xcb)
    Thank you.

  2. #2
    Join Date
    Jul 2012
    Beans
    2

    Re: Ubuntu Map "Alt" + "l" key to "Left" arrow key

    Any idea or suggestion are welcome.

Tags for this Thread

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
  •