Results 1 to 6 of 6

Thread: HOWTO: Change the "Startpage" when knoppix boots

  1. #1
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Auckland, New Zealand
    Posts
    818

    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.

  2. #2
    Junior Member
    Join Date
    Nov 2002
    Location
    Central Texas
    Posts
    3

    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

  3. #3
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Auckland, New Zealand
    Posts
    818

    Re: Tweaking the .iso file

    Quote 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

  4. #4
    Junior Member
    Join Date
    Nov 2002
    Location
    Central Texas
    Posts
    3
    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

  5. #5
    vedran
    Guest

    !?

    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

  6. #6
    mag
    Guest
    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

  1. Howto successfully "mkbootfloppy" with kernel 2.6
    By larrycow in forum Customising & Remastering
    Replies: 1
    Last Post: 11-16-2004, 05:52 PM
  2. Change the message "Welcome to the KNOPPIX..."
    By Sago7 in forum Customising & Remastering
    Replies: 3
    Last Post: 07-26-2004, 06:57 AM
  3. Can I change "welcome to knoppix"?
    By gnough in forum General Support
    Replies: 3
    Last Post: 07-01-2004, 08:23 AM
  4. Locate Knoppix "group" in "K" menu
    By Juny in forum General Support
    Replies: 4
    Last Post: 03-14-2003, 09:02 AM
  5. [newbie] "apt-get remove CRUD" howto?
    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
  •  


Lenovo ThinkPad E14 Gen 2 Laptop 14” HD Ryzen 5 16GB RAM 512GB SSD Win 11 Pro picture

Lenovo ThinkPad E14 Gen 2 Laptop 14” HD Ryzen 5 16GB RAM 512GB SSD Win 11 Pro

$334.99



Lenovo ThinkPad L15 Gen 3 15.6

Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black

$241.50



Lenovo ThinkPad E14 Gen 3 Laptop 14” FHD AMD Ryzen 5 16GB RAM 512GB SSD Win 11 picture

Lenovo ThinkPad E14 Gen 3 Laptop 14” FHD AMD Ryzen 5 16GB RAM 512GB SSD Win 11

$374.99



Lenovo ThinkPad L15 Gen 3 15.6

Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black

$241.50



Lenovo Legion 5 Gaming 15.1

Lenovo Legion 5 Gaming 15.1" WQXGA OLED 165Hz Core i9-14900HX 16GB 1TB RTX 5070

$1469.00



Lenovo ThinkPad X13 Gen 1 i5-10310U 16GB 512GB SSD Touch Win 11 Pro Good picture

Lenovo ThinkPad X13 Gen 1 i5-10310U 16GB 512GB SSD Touch Win 11 Pro Good

$222.99



Lenovo ThinkPad T14 Gen 1 14

Lenovo ThinkPad T14 Gen 1 14" AMD Ryzen 5 16GB 256GB SSD

$219.99



Lenovo - IdeaPad Slim 3i 15.3

Lenovo - IdeaPad Slim 3i 15.3" 2K Touchscreen Laptop - Intel Core 7 350 2026 ...

$679.99



Lenovo ThinkPad T14 Gen 2 i5-1145G7 16GB 512GB SSD Touch Win 11 Pro Good picture

Lenovo ThinkPad T14 Gen 2 i5-1145G7 16GB 512GB SSD Touch Win 11 Pro Good

$261.99



Lenovo ThinkPad T14s Laptop 14” Laptop Core i5 8GB RAM 256GB SSD Windows 11 Pro picture

Lenovo ThinkPad T14s Laptop 14” Laptop Core i5 8GB RAM 256GB SSD Windows 11 Pro

$249.99