-
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
![Quote](images/misc/quote_icon.png)
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
![IBM System X3250 M3 Server 8GB RAM Intel Xeon x3440 2.53ghz (NO HDD) picture](/store/img/g/M~sAAOSwFVlkVr-r/s-l225/IBM-System-X3250-M3-Server-8GB-RAM-Intel-Xeon-x344.jpg)
IBM System X3250 M3 Server 8GB RAM Intel Xeon x3440 2.53ghz (NO HDD)
$41.99
![IBM Netezza 3567 picture](/store/img/g/-uEAAOSw4ixmWekl/s-l225/IBM-Netezza-3567.jpg)
IBM Netezza 3567
$4250.00
![IBM Server Rack Cabinet 9308-RC4 picture](/store/img/g/tSIAAOSwSUpmAe1K/s-l225/IBM-Server-Rack-Cabinet-9308-RC4.jpg)
IBM Server Rack Cabinet 9308-RC4
$200.00
![IBM Power S822 8284-22A 12SFF Power8 3.89GHz 6Core 64GB RAM No HDD Server System picture](/store/img/g/xiEAAOSwwGtmRmN6/s-l225/IBM-Power-S822-8284-22A-12SFF-Power8-3-89GHz-6Core.jpg)
IBM Power S822 8284-22A 12SFF Power8 3.89GHz 6Core 64GB RAM No HDD Server System
$359.99
![IBM x3650 M4 Server Intel Xeon E5-2640 (x2) 144GB RAM No HDDs (#4XN7N) picture](/store/img/g/~~AAAOSwFFZmeyKv/s-l225/IBM-x3650-M4-Server-Intel-Xeon-E5-2640-x2-144GB-RA.jpg)
IBM x3650 M4 Server Intel Xeon E5-2640 (x2) 144GB RAM No HDDs (#4XN7N)
$169.99
![IBM 49Y5356 Rack Mount Bracket Set picture](/store/img/g/jeAAAOSwcrJmhY~h/s-l225/IBM-49Y5356-Rack-Mount-Bracket-Set.jpg)
IBM 49Y5356 Rack Mount Bracket Set
$10.00
![Genuine IBM Server Blank Filler 46C1614 picture](/store/img/g/CgoAAOSwyV5mhY4U/s-l225/Genuine-IBM-Server-Blank-Filler-46C1614.jpg)
Genuine IBM Server Blank Filler 46C1614
$5.00
![IBM BladeCenter HS20 8843 55U Server - 2x Intel Xeon 4GB RAM - NO HDDs picture](/store/img/g/MhgAAOSwMa9kQvQM/s-l225/IBM-BladeCenter-HS20-8843-55U-Server-2x-Intel-Xeon.jpg)
IBM BladeCenter HS20 8843 55U Server - 2x Intel Xeon 4GB RAM - NO HDDs
$22.29
![IBM Power S822 8284-22A 12SFF Power8 3.89GHz 6-Core 64GB RAM No Bezel/HDD Server picture](/store/img/g/5xQAAOSwMXNmRmOG/s-l225/IBM-Power-S822-8284-22A-12SFF-Power8-3-89GHz-6-Cor.jpg)
IBM Power S822 8284-22A 12SFF Power8 3.89GHz 6-Core 64GB RAM No Bezel/HDD Server
$279.99
![IBM QRadar xx29 Server 4412Q2A picture](/store/img/g/7GAAAOSwmK1lqTUO/s-l225/IBM-QRadar-xx29-Server-4412Q2A.jpg)
IBM QRadar xx29 Server 4412Q2A
$209.99