Results 1 to 8 of 8

Thread: ASUS G51 Keyboard Layout

  1. #1
    Join Date
    Oct 2009
    Location
    São Paulo, Brasil
    Beans
    6
    Distro
    Ubuntu 9.10 Karmic Koala

    ASUS G51 Keyboard Layout

    Hello,

    Some people have already related this problem when Karmic was still under test. I am with up-to-date Karmic here and still have this problem:

    http://ubuntuforums.org/showthread.php?t=1294323

    The backslash/pipe key prints less/greater signals. I still can type pipe using RightAlt plus this key, but I have no backslash, so this is quite annoying.

    Has anyone reported this bug or have a solution for this?

    Thanks in advance

  2. #2
    Join Date
    Mar 2009
    Beans
    4

    Re: ASUS G51 Keyboard Layout

    i found the solution on another site:

    Code:
    xmodmap -e "keycode 94 = backslash bar"
    cheers

  3. #3
    Join Date
    Apr 2009
    Beans
    182

    Re: ASUS G51 Keyboard Layout

    How do you get it to work in the console? I don't use the console that much, but it's annoying.

  4. #4
    Join Date
    Dec 2007
    Beans
    16

    Re: ASUS G51 Keyboard Layout

    Thanks so much, it was really annoying to not be able to pipe.

  5. #5
    Join Date
    Apr 2009
    Beans
    182

    Re: ASUS G51 Keyboard Layout

    I found a way to get it to work in the console, but I can't get it to stick. Modify the file /usr/share/keymaps/i386/qwerty/<country>.kmap.gz. Replace '86 = greater lesser bar' (or whatever it is) with '86 = backslash bar', then run 'sudo kbd-config' and select the new keymap. It will fix it, but you have to run the command every time.

  6. #6
    Join Date
    May 2009
    Beans
    3

    Smile Re: ASUS G51 Keyboard Layout

    Quote Originally Posted by mihaid View Post
    i found the solution on another site:

    Code:
    xmodmap -e "keycode 94 = backslash bar"
    cheers
    by using this code, i'm able to fix my g51 keyboard error.
    to make it always run this command, u can place the command in the startup.

    here are the step.
    1. create execute able file. (place it where aver u want it and dont forget to chmod +x)
    Code:
    touch fix_keyboard.sh
    chmod +x fix_keyboard.sh
    2. insert command xmodmap into the file
    Code:
    nano fix_keyboard.sh
    > type in = xmodmap -e "keycode 94 = backslash bar"
    save the file
    3. open System ->Preferences -> Statup Applications
    in the Startup Programs Tab, click Add button.
    fill up all the input,
    search the file we create before (in this case fix_keyboard.sh).
    press Add button.

    Done.
    try to restart and test your keyboard

  7. #7
    Join Date
    Oct 2009
    Location
    São Paulo, Brasil
    Beans
    6
    Distro
    Ubuntu 9.10 Karmic Koala

    Smile Re: ASUS G51 Keyboard Layout

    Thanks a lot for the help! It is working here.

  8. #8
    Join Date
    Oct 2010
    Beans
    1

    Re: ASUS G51 Keyboard Layout

    Thank you so much for this, I was losing my mind trying to solve this problem, I am learning cpp so I need thos keys! and im new to ubuntu so I needed the help. Thanks again!

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
  •