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. <scripts> <post-scripts config:type="list"> <script> <filename>keymapfix.sh</filename> <interpreter>shell</interpreter> <location></location> <source><![CDATA[ #!/bin/sh echo "Copying files" `/bin/cp /etc/X11/XF86Config /tmp/XF86Config.back ` echo "Copying complete..." echo "Begin Sed Stmnt" `/bin/sed -e 's/XkbLayout"\\t"de/XkbLayout"\\t"us/' /etc/X11/XF86Config > /tmp/XF86Config.back ` echo "End Sed" echo "Moving..." /bin/mv /tmp/XF86Config.back /etc/X11/XF86Config echo "Move Complete..." echo "Done" ]]> </source> </script> </post-scripts> </scripts> 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. "Anthony Staples" To: <skarsch@s1.karsch-net.de> <astaples@humana cc: "Anthony Staples" <astaples@humana.com>, "Lee Mayes" .com> <autoinst@mayeses.com>, <lmarks@novell.com>, <pgriffen@novell.com>, <suse-autoinstall@suse.com> 08/16/2004 09:45 Subject: Re: [suse-autoinstall] Default keyboard layout is German after install AM 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 <nashif@suse.de> To: Anthony Staples <astaples@humana.com> cc: Lee Mayes <autoinst@mayeses.com>, lmarks@novell.com, pgriffen@novell.com, 08/12/2004 01:41 suse-autoinstall@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 <general> 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...)
<general> <clock> <hwclock>UTC</hwclock> <timezone>US/Eastern</timezone> </clock> <keyboard> <keymap>english-us</keymap> </keyboard> <language>en_US</language> <mode> <confirm config:type="boolean">false</confirm> <forceboot config:type="boolean">false</forceboot> </mode> <mouse> <id>22_exps2</id> </mouse> </general>
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
<nashif@suse.de> To: Anthony Staples
<astaples@humana.com>
cc:
lmarks@novell.com, pgriffen@novell.com, Lee Mayes <autoinst@mayeses.com>,
08/12/2004 11:19 suse-autoinstall@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...
<x11> <color_depth config:type="integer">16</color_depth> <configure_x11 config:type="boolean">true</configure_x11> <display_manager>gdm</display_manager> <enable_3d config:type="boolean">false</enable_3d> <monitor> <display> <frequency config:type="integer">60</frequency> <height config:type="integer">768</height> <width config:type="integer">1024</width> </display> <monitor_device>1024X768@60HZ</monitor_device> <monitor_vendor> LCD</monitor_vendor> </monitor> <resolution>1024x768</resolution> <window_manager>gnome</window_manager> </x11>
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
<nashif@suse.de> To: Lee Mayes
<autoinst@mayeses.com>
cc: Anthony Staples
<astaples@humana.com>, suse-autoinstall@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/' \ </tmp/XF86Config.back >/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@humana.com
Here is a snip from my autoyast reference profile...
<general> <clock> <hwclock>UTC</hwclock> <timezone>US/Eastern</timezone> </clock> <keyboard> <keymap>english-us</keymap> </keyboard> <language>en_US</language> <mode> <confirm config:type="boolean">false</confirm> <forceboot config:type="boolean">false</forceboot> </mode> <mouse> <id>22_exps2</id> </mouse> </general>
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@suse.com For additional commands, e-mail: suse-autoinstall-help@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@suse.com For additional commands, e-mail: suse-autoinstall-help@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@suse.com For additional commands, e-mail: suse-autoinstall-help@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@suse.com For additional commands, e-mail: suse-autoinstall-help@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.