Originally Posted by
mihaid
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
Bookmarks