-
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
DELL PowerEdge R730XD Server 2x E5-2680v3 2.5GHz =24 Cores 32GB H730 4xRJ45
$267.00
Dell PowerEdge R630 Server 2x E5-2680 V4 = 28 Cores S130 32GB RAM NEW 480GB SSD
$197.99
Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330
$182.65
Dell Poweredge R630 Server 2x E5-2620 V4 =16 Cores | S130 | 32GB RAM | 2x trays
$159.99
Dell Poweredge R730xd 12 Bay LFF 2x SFF 2x E5-2680v3 2.5ghz H730p No Ram No HDD
$219.99
Dell PowerEdge R720xd 26HDD 300gb 2.5-inch E5-2697 X 2CPU 384RAM 7.2 Tb HDD 
$180.00
Dell PowerEdge R620 Server 2x E5-2660 v2 2.2GHz 20 Cores 256GB RAM 1x 480GB SSD
$139.99
Dell Poweredge R730xd LFF 14-Bay 2U Server | Choose Your CPU & RAM Config
$489.99
DELL PowerEdge R430 8SFF 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45
$226.00
DELL PowerEdge R730 Server 2x E5-2680v3 2.5GHz =24 Cores 128GB H730 4xRJ45
$345.00