The autorun file is /home/knoppix/Desktop/KNOPPIX.desktop and that file opens up the /cdrom/index.html file in konqueror.
Hi, all..
I have complete my remastering to 97%.
But I still cannot done some change of knoppix behaviour.
May anyone know how to remove Konqueror autorun which show up on first run?
Just that's all.
Thanks for any help.
Keith F. Jr.
The autorun file is /home/knoppix/Desktop/KNOPPIX.desktop and that file opens up the /cdrom/index.html file in konqueror.
And how about the HD icon which appear at desktop? Can you tell me how to disappear them?Originally Posted by UnderScore
Thanks for helping me.
Keith F. Jr.
/home/knoppix/Desktop/KNOPPIX.desktop
which isn't there in the mounted ISO.
I'm guessing I put it in /etc/skel/Desktop/KNOPPIX.desktop
You have to edit /etc/X11/Xsession.d/45xsession
Line 169 (more or less)
I just commented the line where Klaus appends the link to the Autostart directory ( ln $HOME/Desktop/KNOPPIX.desktop $HOME/.kde/Autostart/showindex.desktop) because it is annoying to have to close konqueror every time you boot the CD to work, but I like to keep the desktop icon.Code:[Desktop Entry] Name=KNOPPIX # Exec=kfmclient openProfile webbrowsing $INDEXFILE Exec=konqueror --geometry 850x600+85+70 file:$INDEXFILE Type=Application Icon=html Terminal=0 EOF # ln $HOME/Desktop/KNOPPIX.desktop $HOME/.kde/Autostart/showindex.desktop fi
Regards.
Victor Alonso.
http://www.knoppix-es.org
On KNOPPIX CD v.4.0.2, Konquerer is still coming up on boot after doing the following (and remastering after each):
Commenting the line " ln $HOME/Desktop/KNOPPIX.desktop $HOME/.kde/Autostart/showindex.desktop " in the 45xsession file.
Removing the line " ln $HOME/Desktop/KNOPPIX.desktop $HOME/.kde/Autostart/showindex.desktop " in the 45xsession file.
Commenting out the entire KNOPPIX.desktop creation section in the 45xsession file.
Removing the entire KNOPPIX.desktop creation section in the 45xsession file.
Adding "rm -Rf /home/knoppix/.kde/Autostart/showindex.desktop" to the end of the 45xsession file.
Adding "rm -Rf /home/knoppix/.kde/Autostart/showindex.desktop" to the end of a knoppix.sh file in the /cdrom/KNOPPIX/ dir.
Doing the same two actions above on /home/knoppix/Desktop/KNOPPIX.desktop file.
Adding those same two 'rm' lines to the end of the /etc/init.d/knoppix-autostart file.
Scanning my entire image with "grep -r" to see if anything else recreated these files.
Ensuring that these files did not exist elsewhere in the image and were coppied over at boot.
I'm at a loss. Konquerer still starts. I'm about at the point of uninstalling the damned thing and just using Firefox.
Edit: Removing all the references to index.html and all it's variants doesn't work. Konquerer just opens anyway and complains it can't find the file. Even though I have pulled my hair out trying to find where it is coming from, the showindex.desktop file is still showing up in my remasters. Is there a binary that is recreating this file?
Nevermind... found that the configs.tgz file had the showindex.desktop file in it. Removed the file before running the saveconfig command, and then using that configs.tgz file solved it.
Hi,
I installed Knoppix 4.0 on the HD. Everything was fine, but suddenly Firefox began to start automatically at the startup. I can't find any way of avoiding that.
I tried to follow the directions given above, but I can't locate Firefox in the Autostart folder, and I can't locate the 45Xsession file in Xsession.d folder:
la /home/mmanu/.kde/Autostart/
total 4
drwxr-xr-x 2 mmanu mmanu 112 Mar 2 13:58 .
drwxr-xr-x 4 mmanu mmanu 304 Feb 28 14:35 ..
-rw-r--r-- 1 mmanu mmanu 1767 Feb 28 17:24 .directory
lrwxrwxrwx 1 mmanu mmanu 40 Mar 2 13:58 kmix.desktop -> /usr/share/applications/kde/kmix.desktop
la /etc/X11/Xsession.d/
total 22
drwxr-xr-x 2 root root 288 Feb 28 14:32 .
drwxr-xr-x 24 root root 1776 Feb 28 20:42 ..
-rw-r--r-- 1 root root 1871 May 29 2004 20xfree86-common_process-args
-rw-r--r-- 1 root root 894 Feb 18 2005 30xfree86-common_xresources
-rw-r--r-- 1 root root 1565 May 29 2004 50xfree86-common_determine-startup
-rw-r--r-- 1 root root 616 May 29 2004 90xfree86-common_ssh-agent
-rw-r--r-- 1 root root 170 May 29 2004 99xfree86-common_start
Could anyone kindly help me?
Thanks ^__^
You must comment out some more lines from 45xsession. This is the section that needs to be wholly commented:Originally Posted by valonso
I have also deleted following files from KNOPPIX directory: autorun.bat, autorun.inf, autorun.pif, cdrom.ico, index.html.Code:# Check for /index.html (_en), or KNOPPIX/index.html (_en) on this CD # if [ -e /cdrom/index.html ]; then # INDEXFILE="/cdrom/index.html" # else # for i in index KNOPPIX/index; do # INDEXFILEDE="/cdrom/${i}.html" # INDEXFILEEN="/cdrom/${i}_en.html" # [ -e "$INDEXFILEEN" ] && INDEXFILE="$INDEXFILEEN" && [ "$LANGUAGE" != "de" ] && break # [ -e "$INDEXFILEDE" ] && INDEXFILE="$INDEXFILEDE" && [ "$LANGUAGE" = "de" ] && break # done # fi # if [ -e "$INDEXFILE" ]; then # cat >> $HOME/Desktop/KNOPPIX.desktop <<EOF # [Desktop Entry] # Name=KNOPPIX # Exec=kfmclient openProfile webbrowsing $INDEXFILE # Exec=konqueror --geometry 850x600+85+70 file:$INDEXFILE # Type=Application # Icon=html # Terminal=0 # EOF # ln $HOME/Desktop/KNOPPIX.desktop $HOME/.kde/Autostart/showindex.desktop
If you want to use some additional desktop just add them to /etc/skel/Desktop. I have also deleted whole mkdesktopicons script because I don't like those hd icons in my desktop. I have 21 partitions and mkdestkopicons adds them all to the desktop. In addition in KDE 3.5 you can set from Desktop settings e.g. mounted partitions to be seen (this is what I have done).
-tapsa-

Samsung 2.5" 870 EVO SSD SATA III 250GB 500GB 1TB Internet Solid State Drive Lot
$100.00
Netac 2TB 1TB 512GB 256GB Internal SSD 2.5inch SATAIII Solid State Drive lot
$949.00
Netac 256GB SSD 2.5'' SATA III 6Gb/s Internal Solid State Drive 500MB/s PC/Latop
$40.00
Samsung 860 EVO 250GB SSD MZ-76E250 2.5" SATA III Solid State Drive -
$36.99
Crucial MX500 250GB 2.5" SATA III SSD - Preowned
$29.00
2 PACK 128 GB SSD M.2 2280 SATA Solid State Drive Major Brands, Samsung, LiteON
$28.00
Fanxiang 256GB 512GB 1TB 2TB 4TB SSD Lot 2.5'' SATA Internal Solid State Drive
$59.99
WD Blue 500GB 3D NAND 2.5” SATA III SSD WDS500G2B0A Tested Working
$47.99
Samsung 250GB SSD 850 EVO 2.5" Internal Solid State Drive MZ7LN250 MZ-75E250
$25.99
SSD 2.5" SATA Hard Drive for Laptop Desktop Windows 10 pro 64 Pro Pre-installed
$42.00