• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
email@hidden
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

email@hidden


  • Subject: email@hidden
  • From: Roberto Bolzan <email@hidden>
  • Date: Sat, 11 Jan 2003 21:44:48 +0100

On Samstag, Januar 11, 2003, at 07:10  Uhr, Jonas Maebe wrote:

> Having to use US keyboard is a SERIOUS BUG. So I consider it alpha
> software, not beta. But arguing about it doesnt bring us any further.
> I'm sure there's some config file tweaking to fix this. No one got an
> idea?

Modify or create a file .xintrc in the home directory:

usermodmap=$HOME/.Xmodmap
sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap

if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi

if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi

exec quartz-wm

(exec starts the window manager: quartz-wm is the one included in
OpenGL by Apple. You may freely displace it with your preferred WM)

Then .xinitrc create a file .Xmodmap in the home directory. The italian
keyboard contains the following codes, that you can easily arrange:

!  Use Alt_L and Alt_R as Mode_switch keys
clear mod1
keycode 66 = Mode_switch
keycode 69 = Mode_switch
add mod1 = Mode_switch


! numbers line
keycode 18 = backslash bar
keycode 27 = 2 quotedbl
keycode 28 = 3 sterling
keycode 31 = 5 percent asciitilde
keycode 30 = 6 ampersand
keycode 34 = 7 slash
keycode 36 = 8 parenleft
keycode 33 = 9 parenright
keycode 37 = 0 equal
keycode 35 = apostrophe question
keycode 32 = iacute asciicircum

! tab line
keycode 41 = egrave eacute bracketleft braceleft
keycode 38 = plus asterisk bracketright braceright

!caps lock line
keycode 49 = ograve ccedilla at
keycode 47 = agrave masculine numbersign
keycode 50 = ugrave section

!shift line
keycode 58 = less greater
keycode 51 = comma semicolon
keycode 55 = period colon ellipsis
keycode 52 = minus underscore endash emdas



You may need xmodmap, that is distribuited by Apple with X11.
xmodmap -pk > ~/keyboardcodes.txt
prints a file with the codes and the corresponding carachters.

Hope it helps.

Roberto Bolzan
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe: http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Apple X11 and .Xdefaults
  • Next by Date: quartz-wm not passing ssh-agent env vars?
  • Previous by thread: Re: X11 keyboard layout; dvorak
  • Next by thread: quartz-wm not passing ssh-agent env vars?
  • Index(es):
    • Date
    • Thread