From astaples@humana.com Mon Aug 16 19:42:38 2004 From: Anthony Staples To: autoinstall@lists.opensuse.org Subject: Re: [suse-autoinstall] Default keyboard layout is German after install Date: Mon, 16 Aug 2004 19:42:38 +0000 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8989977393807572740==" --===============8989977393807572740== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Anas, Did you receive the files I sent? Where they any help? Here is something else I have tried. I included a post install script to change the "de" in the XF86Config to "us" as outlined by Lee Marks in another post to this list. here is the script code I included in the autoyast.xml file. I tested the code separately and it seemed to work ok. However, during one of my many test autoinstalls, as I watch one of the final yast output windows I distinctly see it print "Skipping Scripts..." And of course the keymap is still german when the install is finished. So I can only surmise that "Skipping scripts" means it is skipping MY script... but I don't know why. Any help appreciated. Cheers. = =20 "Anthony = =20 Staples" To: =20 , "Lee Mayes" =20 .com> , , , =20 = =20 08/16/2004 09:45 Subject: Re: [suse-autoinstall= ] Default keyboard layout is German after install =20 AM = =20 = =20 = =20 = =20 Anas, Where does autoyast get the default X config file (XF85Config)? Is it somewhere that it might be edited to change the default keymap to english!? Any responses appreciated! Regards, Anthony Staples Technical Analyst Humana Inc. 502.580.2870 Anas Nashif To: Anthony Staples cc: Lee Mayes , lmarks(a)novell.com, pgriffen(a)novell.com, 08/12/2004 01:41 suse-autoinstall(a)suse.com PM Subject: Re: [suse-autoinstall] Default keyboard layout is German after install Anthony Staples wrote: > > > > Anas, > > Thanks for your quick response. > The header of the the XF86Config on the autoinstalled machine is: > > # Generic XFree86 configuration file > This is the generic x11 file which is german. > If, as you said below, there is no need for locale in x11 config, then how > can configuring it in AutoYast effect the keymap on my installed systems. > Since the header is as above, it doesn't seem to make any difference. When you set the language and keyboard as shown below in those values are used when creating the X11 config. > > I checked and then rechecked that my locale settings in "General" were > correct. > here is a snip from the profile... ( it won't let me paste the full profile > due to size limitations...) > > > > UTC > US/Eastern > > > english-us > > en_US > > false > false > > > 22_exps2 > > > > Why shouldn't the general setting be propagated throughout the installed > machine? They are. But not in the X11 config which is the generic one. This happens if you dont configure x11 at all using autoyast. If you did have x11 configured in autoyast, then something else happend. Can you send me the control file you are using and if possible the y2log files from /var/log/YaST2/y2log? > I checked the setting in YAST and keyboard configuration was correctly set > to English(US). > Anas > Cheers, > Tony > > > > > > > Anas Nashif > To: Anthony Staples > cc: lmarks(a)novell.com, pgriffen(a)novell.com, Lee Mayes , > 08/12/2004 11:19 suse-autoinstall(a)suse.com > AM Subject: Re: [suse-autoinstall] Default keyboard layout is German after install > > > > > > > > Anthony, > There is no need for locale in the x11 config, the system settings are > taken. > After using the configuration below, what does the header in the > /etc/X11/XF86Config file say? > > Anas > > Anthony Staples wrote: > >> >> >>Anas, >>Just to clarify, I am running NLD beta not SuSE 9.1 pro. >>When I rec'd Lee's response this morning (Thanks!) I tried just what you >>suggested, Anas. >>I thought that the issue may be in the X11 default config so I created >>(using autoyast) a new reference profile from my original and included > > an > >>X11 configuration: >>Here is the X11 section of my reference profile, though I don't see >>anyplace where the keymap is actually set... >> >> >> 16 >> true >> gdm >> false >> >> >> 60 >> 768 >> 1024 >> >> 1024X768(a)60HZ >> LCD >> >> 1024x768 >> gnome >> >> >> >>I then proceeded to install a machine with the updated profile, but still >>get the German default keymap rather than US keymap. >>Is there anyway for us to change the default keymap in the XF86Config > > that > >>Autoyast uses? Before profile generation rather than after... >> >>Regards, >> >>Anthony Staples >>Technical Analyst >>Humana Inc. >>502.580.2870 >> >> >> >> >> > > >> Anas Nashif > > >> To: Lee Mayes > > > >> cc: Anthony Staples > > , suse-autoinstall(a)suse.com > >> 08/12/2004 09:03 Subject: Re: > > [suse-autoinstall] Default keyboard layout is German after install > >> AM > > > > > >> >> >> >>Hi, >> >>This is because you dont configure X using autoyast and the default >>/etc/X11/XF86Config happens to be in german ;( >> >>Anas >> >> >>Lee Mayes wrote: >> >> >>>Hi Tony, >>> >>> I noticed that on my SuSE 9.1 AutoYaST installs, the keyboard is set >>>correctly in everything but X11. I added the following 2 lines in my >>>post install user script to fix it: >>> >>>print KS qq[ >>>/bin/cp /etc/X11/XF86Config /tmp/XF86Config.back >>>/usr/bin/sed -e 's/XkbLayout"\\t"de/XkbLayout"\\t"$x_kbd/' \ >>> /etc/X11/XF86Config >>>]; >>> >>> >>>In my case $x_kbd is a variable passed to the perl script creating >>>autoyast.xml. I made a simple 'table' that cross references linux >>>keyboard environment variables to the X11 ones. I can provide it if >>>needed, it's mostly complete but has a few languages I wasn't sure how >>>to cross reference. >>> >>> I think if I had fully qualified X's config (vs. letting it default) I >>>wouldn't have seen the problem. There are probably other ways to fix it >>>as well, but I was in a hurry and this works for us. >>> >>>Best Regards, >>> >>>Lee >>> >>>On Wed, 2004-08-11 at 14:24, Anthony Staples wrote: >>> >>> >>> >>>>When i do an autoyast install I always get a german default keyboard >> >>rather >> >> >>>>than US-English. >>>>I explicitly set the layout to US-English in the reference profile. All >>>>other settings seem to be ok. >>>> >>>>Any insight on how to fix this would be appreciated!! >>>> >>>>Cheers, >>>>Tony Staples >>>>astaples(a)humana.com >>>> >>>>Here is a snip from my autoyast reference profile... >>>> >>>> >>>> >>>> UTC >>>> US/Eastern >>>> >>>> >>>> english-us >>>> >>>> en_US >>>> >>>> false >>>> false >>>> >>>> >>>> 22_exps2 >>>> >>>> >>>> >>>> >>>> >>>>The information transmitted is intended only for the person or entity to >> >>which it is addressed and may contain CONFIDENTIAL material. If you >>receive this material/information in error, please contact the sender and >>delete or destroy the material/information. >> >> >>> >>-- >>To unsubscribe, e-mail: suse-autoinstall-unsubscribe(a)suse.com >>For additional commands, e-mail: suse-autoinstall-help(a)suse.com >> >> >> >> >> >> >>The information transmitted is intended only for the person or entity to > > which it is addressed and may contain CONFIDENTIAL material. If you > receive this material/information in error, please contact the sender and > delete or destroy the material/information. > > -- > To unsubscribe, e-mail: suse-autoinstall-unsubscribe(a)suse.com > For additional commands, e-mail: suse-autoinstall-help(a)suse.com > > > > > > > The information transmitted is intended only for the person or entity to which it is addressed and may contain CONFIDENTIAL material. If you receive this material/information in error, please contact the sender and delete or destroy the material/information. > -- To unsubscribe, e-mail: suse-autoinstall-unsubscribe(a)suse.com For additional commands, e-mail: suse-autoinstall-help(a)suse.com The information transmitted is intended only for the person or entity to which it is addressed and may contain CONFIDENTIAL material. If you receive this material/information in error, please contact the sender and delete or destroy the material/information. -- To unsubscribe, e-mail: suse-autoinstall-unsubscribe(a)suse.com For additional commands, e-mail: suse-autoinstall-help(a)suse.com The information transmitted is intended only for the person or entity to whic= h it is addressed and may contain CONFIDENTIAL material. If you receive this= material/information in error, please contact the sender and delete or destr= oy the material/information. --===============8989977393807572740==--