LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-04-2006, 10:37 PM   #1
tardigrade
Member
 
Registered: Jun 2004
Distribution: SuSE 9.1
Posts: 150

Rep: Reputation: 15
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.
 
Old 04-05-2006, 03:24 PM   #2
fiery_ice
Member
 
Registered: Sep 2005
Location: Ontario
Distribution: Debian, Ubuntu
Posts: 33

Rep: Reputation: 15
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?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Key in Chinese/Japanese words WindowsKiller SUSE / openSUSE 1 11-08-2005 07:50 PM
Is it possible to use Power key on the keyboard? foxy123 Linux - Newbie 1 12-21-2004 08:28 AM
keyboard key: where is my | ??? erickFis Linux - Hardware 1 02-10-2004 03:29 PM
HOw do you use a Japanese keyboard in Linux rtaft Linux - General 2 08-18-2003 11:56 AM
Japanese Keyboard Support in Mandrake 8.2 rtaft Linux - Hardware 0 08-14-2003 10:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration