LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Japanese with a 104-key US keyboard (http://www.linuxquestions.org/questions/linux-software-2/japanese-with-a-104-key-us-keyboard-431804/)

tardigrade 04-04-2006 10:37 PM

Japanese with a 104-key US keyboard
 
I want to use my US_english keyboard with 104 keys (plus some media keys) as a japanese keyboard. I may add kana stickers to it in the future. I currently use SKIM but that only works so well. the problem lies (I think) in the fact that my keyboard does not have keys for muhenkan , henkan/zenkouho, and hiragana/katakana.
See this site for a picture: http://www.win.tue.nl/~aeb/linux/kbd/scancodes-8.html .

Is it possible to remap my win keys and the drop-down menu key to these? Or maybe even one of the media keys at the top of my keyboard.

fiery_ice 04-05-2006 03:24 PM

You can easily program keys in the following way:

1. get "getscancodes" from [url]http://keytouch.sourceforge.net/dl-getscancodes.html[url]
2. run that program as root, to get the scancodes for each key
3. map the keys to whichever fuction you would like with xmodmap

my ~/.Xmodmap file for my Microsoft Natural Multimiedia keyboard is as follows
Code:

keycode 0xcc = XF86Documents
keycode 0xe4 = XF86Pictures
keycode 188 = XF86Music
keycode 160 = XF86AudioMute
keycode 162 = XF86AudioPlay
keycode 0xa4 = XF86AudioStop
keycode 176 = XF86AudioRaiseVolume
keycode 174 = XF86AudioLowerVolume
keycode 144 = XF86AudioPrev
keycode 153 = XF86AudioNext
keycode 237 = XF86AudioMedia
keycode 236 = XF86Mail
keycode 178 = XF86HomePage
keycode 133 = XF86Messenger
keycode 161 = XF86Calculater
keycode 0x96 = XF86LogOff
keycode 0xdf = XF86Standby
keycode 245 = XF86LightBulb
keycode 136 = XF86History
keycode 135 = XF86Refresh
keycode 190 = XF86New
keycode 191 = XF86Open
keycode 192 = XF86Close
keycode 193 = XF86Reply
keycode 194 = XF86MailForward
keycode 195 = XF86Send
keycode 163 = XF86Spell
keycode 203 = XF86Save
keycode 216 = XF86Display


Does that help?


All times are GMT -5. The time now is 03:56 PM.