-
Senior Member
registered user
HOWTO: Change the "Startpage" when knoppix boots
In /etc/skel/.kde/Autostart/ there is a file called
showindex.desktop
and in that file is what makes the webpage come up :
Code:
Name=KNOPPIX
Exec=kfmclient openProfile webbrowsing /cdrom/KNOPPIX/index_en.html
Type=Application
Icon=html
Terminal=0
you you can see that it loads /cdrom/KNOPPIX/index_en.html
So simply, change the showindex.desktop to a page of your liking.
-
Tweaking the .iso file
...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
-
Senior Member
registered user
Re: Tweaking the .iso file

Originally Posted by
lnxguy
...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!
True, but what I was demonstrating is how you can get it to lauch other programs, files etc
-
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
-
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.
mag
Similar Threads
-
By larrycow in forum Customising & Remastering
Replies: 1
Last Post: 11-16-2004, 05:52 PM
-
By Sago7 in forum Customising & Remastering
Replies: 3
Last Post: 07-26-2004, 06:57 AM
-
By gnough in forum General Support
Replies: 3
Last Post: 07-01-2004, 08:23 AM
-
By Juny in forum General Support
Replies: 4
Last Post: 03-14-2003, 09:02 AM
-
By biehl in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 02-27-2003, 10:34 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Crucial MX500 500GB 2.5" SATA III Internal SSD CT500MX500SSD1
$53.99

Samsung 860 EVO 250GB SSD MZ-76E250 2.5" SATA III Solid State Drive
$39.99

SSD 880EVO SATA III 2.5 4TB INTERNAL STATE DRIVE
$214.99

Samsung PM9C1A 256GB m.2 2280 SSD GEN4X4 NVME MZVL8256HDJD new Laptop PC
$34.99

Netac 2TB 1TB 512GB 256GB Internal SSD 2.5inch SATAIII Solid State Drive lot
$549.00

Fanxiang 1/2/5/10Pcs 2.5'' SATA SSD Lot 1TB 2TB 4TB 512GB 256GB TLC Internal SSD
$129.99

Samsung 2.5" 870 EVO SSD SATA III 250GB 500GB 1TB Internet Solid State Drive Lot
$90.00

Crucial MX500 500GB 2.5" SATA III Internal SSD CT500MX500SSD1 - Tested -98% Life
$48.00

Kingston 128GB M.2 SATA III SSD
$13.00

SSD 2.5" SATA Hard Drive for Laptop Desktop Windows 10 pro 64 Pro Pre-installed
$42.00