How about this question. Where, in the knoppix OS is KDE loaded?
How can I change that in a remaster? I have yet to find this setting.
Thanks
Brad B
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
How about this question. Where, in the knoppix OS is KDE loaded?
How can I change that in a remaster? I have yet to find this setting.
Thanks
Brad B
/etc/X11/Xsession.d/45xsession
I have edited that file so many times that i wrote a script to put it in an editor with the simple command of 45edit.
The vast majority of it is for KDE and alot of workarounds for many KDE *cough* features. Here's my 45xsession for XFCE4 & ROX desktop and note that it has not even one single line from the original file in it:
Now.....if you want a choice of desktops then you have to do a littel more work but it's all right there in 45xsession.Code:xfce-mcs-manager xfwm4 --daemon # Start-up stuff from ~/Desktop/Autostart directory, if it exists # (as it seems to be the new standard) if test -d "$HOME/Desktop/Autostart"; then for i in `ls -1 -L ${HOME}/Desktop/Autostart/ 2>/dev/null`; do if test -x $HOME/Desktop/Autostart/$i; then $HOME/Desktop/Autostart/$i & fi done fi xftaskbar4& rox -p desktop& xfcalendar& panel=`which xfce4-panel` case "x$panel" in x|xno*) ;; *) $panel ret=$? while test $ret -ne 0; do xmessage -center -file - -timeout 20 -title Error <<EOF A crash occured in the panel Please report this to the [email protected] list Meanwhile the panel will be restarted EOF cat >&2 <<EOF A crash occured in the panel Please report this to the [email protected] list Meanwhile the panel will be restarted EOF $panel ret=$? done ;; esac xsetroot -bg white -fg red -solid black -cursor_name watch
Awesome! That's exactly what I needed. I'm on the right track now.
With any luck in the next few days i'll have a remastered knoppix version
that boots straight to a locked down firefox web browser!
Thanks a LOT mzilikazi!!!!!!!!!!!
Brad B
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:
(I reconstructed from my own changed file, so it might be slightly different on the original.)Code:case "$DESKTOP" in kde|wmaker|gnome|xfce|icewm|twm) ;; *) DESKTOP="kde"; ;; esac
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).
[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:
Just out of curiosity, would changing DESKTOP="kde" to DESKTOP="bash" give me an X-enabled shell without actually loading a window manager?Code:case "$DESKTOP" in kde|wmaker|gnome|xfce|icewm|twm) ;; *) DESKTOP="kde"; ;; esac
don't set ff as wm. You won't be able to move windows without a proper wm.
If you only want to run firefox, then fluxbox could be a good alternative for a window manager. Its small and you will be able to move windows that firefox creates (like the download window).
Making a kisok style boot cd, are they are tips for making the fonts attractive?

Intel Core i5-12500T SRL5W 2GHz 18MB 6 Core Socket LGA1700 Desktop CPU Processor
$114.99
Intel Core i7-4770 3.40GHz Quad Core SR149 LGA 1150 CPU Processor tested
$35.00
INTEL CORE I9-10940X X-SERIES PROCESSOR | 3.30GHZ | SRGSH
$179.99
Intel Core i7-12700 12 Core X208K805 LGA 1700 AS IS
$99.99
Intel Core i7-9700 Octa-Core 3 GHz Desktop Processor LGA 1151
$79.99
Intel Core i7-3770K 3.5 GHz Processor
$39.00
Intel Core i7-7700K SR33A 4.20GHz 4-Core LGA1151 CPU Processor
$62.95
Intel Core I7-7700 SR338 3.60 Ghz Processor
$39.99
Lenovo ThinkCentre M920s SFF Barebones PC Motherboard PSU DVD No CPU RAM SSD
$27.99
LAST BATCH *Brand New-Sealed* AMD Ryzen 9 9950X3D2 Dual Ed. 4.3GHz 16Core AM5
$768.00