...Or just do what I did the first few remasters- replace the index_en.html file with your own.
That way, there is no need to modify the KNOPPIX file... Easy!
keVIn
In /etc/skel/.kde/Autostart/ there is a file called
showindex.desktop
and in that file is what makes the webpage come up :
you you can see that it loads /cdrom/KNOPPIX/index_en.htmlCode:Name=KNOPPIX Exec=kfmclient openProfile webbrowsing /cdrom/KNOPPIX/index_en.html Type=Application Icon=html Terminal=0
So simply, change the showindex.desktop to a page of your liking.
...Or just do what I did the first few remasters- replace the index_en.html file with your own.
That way, there is no need to modify the KNOPPIX file... Easy!
keVIn
True, but what I was demonstrating is how you can get it to lauch other programs, files etcOriginally Posted by lnxguy
Yep, I was trying to empasize that you can use my method without chrooting and modifying /KNOPPIX/KNOPPIX.
Once you are into the cloop file, you can modify anything you want- as long as the size is kept down to a 700MB resulting image...
Lotsa fun.
keVIn
Don't know what version of Knoppix you are using, but here there is no /etc/skel/.kde/Autostart/showindex.desktop.
This file is generated in /etc/X11/Xsession.d/45xsession, it contains this:
Code:if [ -e "$INDEXFILE" ]; then cat >> $HOME/Desktop/KNOPPIX.desktop <<EOF [Desktop Entry] Name=KNOPPIX Exec=kfmclient openProfile webbrowsing $INDEXFILE Type=Application Icon=html Terminal=0 EOF ln $HOME/Desktop/KNOPPIX.desktop $HOME/.kde/Autostart/showindex.desktop fi
from a shell, run 'echo $HOME' and check the output. Replace $HOME in the script above "ln $HOME/Desktop/KNOPPIX.desktop $HOME/.kde/Autostart/showindex.desktop" with the output of that echo command. Then you will be able to edit showindex.desktop file.if [ -e "$INDEXFILE" ]; then
cat >> $HOME/Desktop/KNOPPIX.desktop <<EOF
[Desktop Entry]
Name=KNOPPIX
Exec=kfmclient openProfile webbrowsing $INDEXFILE
Type=Application
Icon=html
Terminal=0
EOF
ln $HOME/Desktop/KNOPPIX.desktop $HOME/.kde/Autostart/showindex.desktop
fi
mag
ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield
$42.00
***NEW*** BCM RX67Q Gaming Motherboard | Intel Q67 2nd/3rd Gen. | LGA1155 | DDR3
$29.77
Asus TUF B365M-PLUS GAMING Motherboard LGA 1151 Intel B365 DDR4 M.2 Micro ATX
$65.00
GIGABYTE B560M DS3H AC LGA1200 Intel B560 SATA 6Gb/s Micro ATX Intel Motherboard
$64.99
Micro ATX Desktop Motherboard ASUS H110M-C LGA 1151
$31.95
Gigabyte AMD B550 UD AC Gaming Motherboard - AMD B550 Chipset - AM4 Socket - AMD
$89.99
MSI B450M PRO-VDH MAX AM4 AMD B450 USB3.2 Micro-ATX Motherboard
$67.99
Asus Prime B250M-C Motherboard Supports DDR4 Intel 7th Gen
$39.99
GIGABYTE MB10-Datto Motherboard Xeon D-1521- SR2DF 2.40 GHz- Open Box
$112.00
BTC-S37 Mining Motherboard Kit /w SSD & Ram Preinstalled
$59.99