Re: [suse-autoinstall] Default keyboard layout is German after install
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.
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.
participants (2)
-
Anas Nashif
-
Anthony Staples