Default keyboard layout is German after install
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.
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.
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.
participants (3)
-
Anas Nashif
-
Anthony Staples
-
Lee Mayes