Re: [suse-autoinstall] Default keyboard layout is German after install
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.
Anthony Staples wrote:
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!
If x11 is not configured in autoyast, autoyast does not touch the files. The default config file is installed in some different way, I dont know exactly where is it copied from and which package copies it. You profiles are missing the X11 configuration and thats why you get the default file. Anas
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.
participants (2)
-
Anas Nashif
-
Anthony Staples