SuSE GmbH

SuSE Support Database

Title: X window kernel build util appears in german

----------

Mainpage o Searchform o History o Versions o Categories o Contents

----------

X window kernel build util appears in german

Applies to

SuSE Linux: Versions up to (including) 6.0

Symptom:

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.

Cause:

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.

Solution:

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 o Searchform o History o Versions o Categories o Contents

----------

SDB-jrodman_guikernbuildlang, Copyright SuSE GmbH, Nuremberg, Germany - Version: 27. Apr 1999
SuSE GmbH - Last generated: 07. Oct 1999 16:44:31 by maddin with sdb_gen 1.00.0