Mainpage
Searchform
History
Versions
Categories
Contents
SuSE Linux: Versions up to (including) 6.0
When using the 'Compile Kernel' tool, the normal program for "make xconfig" appears, but when this finishes, a program appears in German entitled Einstellungen zum Kernel-Kompilieren.
The kernel
script which creates this dialog actually has
support for english and other languages. Unfortunately during a tricky
set of subshells it forgets to read its configuration file again.
Modifying the script which creates this dialog will allow the build to
come up in english and possibly other languages. The filename of the
script is /usr/X11R6/lib/X11/susewm/startcmd/kernel
. The
crucial section begins on line 24. Here is this section from the original
file:
su - -c 'export DISPLAY=`hostname`:0;\ cd /usr/src/linux && \ make xconfig && \ touch /usr/src/linux/susewm.log && \ `wish -f /usr/X11R6/lib/X11/susewm/startcmd/kernelchoice.tcl` 2>> /usr/src/linux/compile.log >> /usr/src/linux/compile.log'
Here is a modified version which will fix the problem:
su - -c 'export DISPLAY=`hostname`:0;\ test -f /var/lib/susewm/susewm.config && \ . /var/lib/susewm/susewm.config; \ cd /usr/src/linux && \ make xconfig && \ touch /usr/src/linux/susewm.log && \ `wish -f /usr/X11R6/lib/X11/susewm/startcmd/kernelchoice.tcl $LANGUAGE` >> /usr/src/linux/compile.log 2>&1'
Be very careful about these command lines. The '\' character must be
the very last one on each line, and the line beginning with
`wish
ends with 2>&1'
Keywords: LINUX, XCONFIG, COMPILE, KERNEL, SUSEWM, GERMAN, ENGLISH
Categories:
X Applications
, Kernel
Mainpage
Searchform
History
Versions
Categories
Contents