-
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
HPGYT DELL Micron 5100 PRO 960GB SATA 6Gb/s 2.5in SSD 0HPGYT MTFDDAK960TCB Gen14
$69.00
G5T03 Dell Intel DC S3700 Series 800GB SATA 6Gb/s 2.5" SSD 0G5T03 SSDSC2BA800G3E
$55.00
### MZ-7KE1T0 Samsung 850 Pro Series 1TB 2.5 inch SATA3 SSD ###
$105.00
WD 500GB My Passport SSD, Portable External Solid State Drive WDBAGF5000ARD-WESN
$59.99
Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot
$14.99
Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot
$13.99
Fanxiang SSD 512GB 1TB 2TB 4TB 2.5'' SSD SATA III Internal Solid State Drive lot
$13.99
Patriot P210 256GB SSD 2.5" SATA III 6GB/s Internal Solid State Drive For PC/MAC
$19.99
M.2 NVMe SSD 128GB 256GB 512GB Single Notch with Windows Installed 10 / 11
$85.25
Fanxiang SSD 512GB 1TB 2TB 4TB 2.5''SATA III Internal Solid State Hard Drive LOT
$188.99