On Thu, 18 Jul 2002, Yvon Thoraval wrote:
> I"m following the : > > Swiss-German keyboard layout for LinuxPPC <http://www.lka.ch/linux/ > de_CH-kbd/> > > giving this advise for Xpmac : > ------------------------------------- > ------------------------------------------ > File: /usr/X11/bin/startx > Explanation: This is the script that starts X windows; the original needs > to be modified to use the non-US configuration files. > Do this only if you use Xpmac! Xfree86 uses /etc/X11/XF86Config => 4a > Change the line that starts with "Xinit" to read: > Changes: > > Xinit $clientargs -- /usr/bin/X11/X -kbdtype "de_CH(extended)" $serverargs > ------------------------------------- > ------------------------------------------ > > I've found startx in /usr/X11R6/bin > > with no line starting with Xinit however this is at the beinning : > > userclientrc=$HOME/.xinitrc > userserverrc=$HOME/.xserverrc > sysclientrc=/etc/X11/xinit/xinitrc > sysserverrc=/etc/X11/xinit/xserverrc > defaultclientargs="" > defaultserverargs="" > clientargs="" > serverargs="" > > may i add th full path of my french keyboard (/usr/lib/X11/xkb/keymap/ > macintosh/fr_new) as clientargs giving : > > > clientargs="/usr/lib/X11/xkb/keymap/macintosh/fr_new" > > also, apart from that point, their is no xserverrc in /etc/X11/xinit > > is that only due to the use of Xpmac ? > I suppose you could do all that, but myself I think I'd just modify the /etc/X11R6/bin/Xpmac script: #!/bin/sh #basic shell wrapper for Xpmac - Mandrake PPC VMODE=`/bin/grep ofonly /proc/cmdline` if [ -n "$VMODE" ]; then XPMAC_OPTS="-mach64" else XPMAC_OPTS="-mode 17 -depth 32" fi exec /usr/X11R6/bin/Xpmac.bin -fp unix/:-1 $XPMAC_OPTS Just add whatever options you'd like to XPMAC_OPTS. I'd look at: -xkbdb file that contains default XKB keymaps -xkbmap XKB keyboard description to load on startup Xpmac options: -kbdtype string specify the keyboard type I'm still a little baffled why you 2? are having such trouble with r128. The last batch of changes to XFree were made specifically for r128 and seemed to correct things for most folks. (there was one troublesome early iBook in the offices in France that won't seem to work with any XFree iteration). What are the machines you have? Stew Benedict -- MandrakeSoft PPC FAQ: http://www.linux-mandrake.com/en/ppcFAQ.php3 IRC: irc.openproject.net #cooker-ppc
