remaster, change windowmanager?
I have set up a Suse9.0 box and made it a "kiosk" (web browser only) box.
I found it pretty simple in suse. The change I made was to edit the .xinitrc
file in the user home directory. Suse by default uses this to start the
windowmanager with a command and variable called:
exec $WINDOWMANAGER
i commented out this line and added:
while [ 1 ];
do
/usr/bin/firefox
done
failsafe="/usr/bin/firefox"
So in my knoppix 3.4 remaster I want to do the same thing.
Where do i disable where/how kde loads so I can add my /usr/bin/firefox line?
Thanks
change default wm through /etc/init.d/knoppix-autoconfig
If you just want to change the default window manager, but not the details of how this window manager is called, you can look for the following lines in /etc/init.d/knoppix-autoconfig:
Code:
case "$DESKTOP" in kde|wmaker|gnome|xfce|icewm|twm) ;; *) DESKTOP="kde"; ;; esac
(I reconstructed from my own changed file, so it might be slightly different on the original.)
This checks if the user has specified a value for desktop at the boot prompt. If this value is one of the option in the list kde,wmaker,gnome etc, it will keep that value. Otherwise, it will use kde. If you change 'kde' (in DESKTOP="kde"), you change the default window manager. You can also delete options that you deinstalled (or want to disable at the boot prompt for some reason).
Re: change default wm through /etc/init.d/knoppix-autoconfig
[quote="syboor"]If you just want to change the default window manager, but not the details of how this window manager is called, you can look for the following lines in /etc/init.d/knoppix-autoconfig:
Code:
case "$DESKTOP" in kde|wmaker|gnome|xfce|icewm|twm) ;; *) DESKTOP="kde"; ;; esac
Just out of curiosity, would changing DESKTOP="kde" to DESKTOP="bash" give me an X-enabled shell without actually loading a window manager?