-
How to adapt the desktop and applications like Firefox .....
Hi Folks,
meanwhile I have been able to successfully customise my first Knoppix 5.01. Great stuff !
I´m currently creating a promotion CD with owned background picture.
Does anyone of you know how to adapt Firefox or conquerer so that they show a special URL ?
And how is it possible to open more application at start up ?
Thanks a lot for your help !
Kind Regards,
Uli
-
Senior Member
registered user
Re: How to adapt the desktop and applications like Firefox .

Originally Posted by
coolibrie
Does anyone of you know how to adapt Firefox or conquerer so that they show a special URL ?
And how is it possible to open more application at start up ?
If you are using KDE, you can add desktop-files into /home/knoppix/.kde/Autostart directory.
(When remastering, you might need to place the files into /etc/skel/.kde/Autostart directory.)
To create such desktop-files, right-click on Desktop and select "Create New"->"Link to Application" and fill the needed fields.
An example: Start Firefox with URL www.knoppix.net automatically when KDE starts:
1. right-click on Desktop and select "Create New"->"Link to Application"
2. Write Firefox startup to the first field
3. Go to Application-tab
4. Write firefox www.knoppix.net to Command-field and leave others empty.
5. Click OK.
6. Test your desktop-file by clicking on the "Firefox startup" on your Desktop
7. If it works, copy it into the right directory (e.g. /home/knoppix/.kde/Autostart)
If you want to use Konqueror instead of Firefox, just use konqueror www.knoppix.net at step 4.
-
Hi,
Thanks a lot, I will try that later on. Meanwhile I got two additional questions into my mind.
On the standard Knoppix surface there are already some application icons. For remastering purpose, do you know where they are located ?
Do you know how to set entries in Firefox personal toolbar folder or how to manipulate the homepage when it starts ?
Thanks a lot for your help,
Kind regards,
Coolibrie
-
Senior Member
registered user

Originally Posted by
coolibrie
Thanks a lot, I will try that later on. Meanwhile I got two additional questions into my mind.
On the standard Knoppix surface there are already some application icons. For remastering purpose, do you know where they are located ?
What do you mean by "standard Knoppix surface" ?
There are a lot of icons at /usr/share/icons (see also the subfolders)

Originally Posted by
coolibrie
Do you know how to set entries in Firefox personal toolbar folder
If you mean the toolbar which can be shown with View->Toolbars->"Bookmarks Toolbar", then those are saved to the same place where the rest of the Bookmarks are saved - i.e. the file /home/knoppix/.mozilla/firefox/xxxxxxxx.default/bookmarks.html where xxxxxxxx is some random chars.
You should be able to edit that file, if you are carefull to use the right format.
(I don't know any easier way, but there might be one.)

Originally Posted by
coolibrie
or how to manipulate the homepage when it starts ?
What do you mean by this? Manipulate in what way?
-
Hello,
please see my inlined comments.
What do you mean by "standard Knoppix surface" ?
>> The workspace, containing the background picture and the set of icons like found HDDs, memory sticks ...
>>There is one icon with the name KNOPPIX that opens a webside while it is clicked.
>>Where is this located in my remaster ?
There are a lot of icons at /usr/share/icons (see also the subfolders)
coolibrie wrote:
Do you know how to set entries in Firefox personal toolbar folder
If you mean the toolbar which can be shown with View->Toolbars->"Bookmarks Toolbar", then those are saved to the same place where the rest of the Bookmarks are saved - i.e. the file /home/knoppix/.mozilla/firefox/xxxxxxxx.default/bookmarks.html where xxxxxxxx is some random chars.
>> sorry, in my remaster I couldn´t find this file. Is it created while Firefox is opend the first time ?
You should be able to edit that file, if you are carefull to use the right format.
(I don't know any easier way, but there might be one.)
coolibrie wrote:
or how to manipulate the homepage when it starts ?
What do you mean by this? Manipulate in what way?
>> I mean the webside firefox shows automatically when it starts.
>> Currently this side is at mozilla.org and I want to change it to another one.
>> I do think there is a file in the remaster where this can be changed, do you know where ?
Thanks again for your quick answers !
Kind Regards,
Coolibrie
-
Senior Member
registered user
(This information is for Knoppix 4.0.2 CD which I'm using. It's likely very much the same for other Knoppix versions.)

Originally Posted by
coolibrie
What do you mean by "standard Knoppix surface" ?
>> The workspace, containing the background picture and the set of icons like found HDDs, memory sticks ...
>>There is one icon with the name KNOPPIX that opens a webside while it is clicked.
>>Where is this located in my remaster ?
When using LiveCD, that file is located at /home/knoppix/Desktop/KNOPPIX.desktop.
It's not located anywhere in remaster, but is created by /etc/X11/Xsession.d/45xsession-script when X starts:
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
fi

Originally Posted by
coolibrie
Do you know how to set entries in Firefox personal toolbar folder
If you mean the toolbar which can be shown with View->Toolbars->"Bookmarks Toolbar", then those are saved to the same place where the rest of the Bookmarks are saved - i.e. the file /home/knoppix/.mozilla/firefox/xxxxxxxx.default/bookmarks.html where xxxxxxxx is some random chars.
>> sorry, in my remaster I couldn´t find this file. Is it created while Firefox is opend the first time ?
Maybe, I don't really know that.

Originally Posted by
coolibrie
What do you mean by this? Manipulate in what way?
>> I mean the webside firefox shows automatically when it starts.
>> Currently this side is at mozilla.org and I want to change it to another one.
>> I do think there is a file in the remaster where this can be changed, do you know where ?
That information would be saved to /home/knoppix/.mozilla/firefox/xxxxxxxx.default/prefs.js-file where xxxxxxxx is some random chars.
Normally you'd add a line like this to that file:
Code:
user_pref("browser.startup.homepage", "http://www.google.fi/");
But since such a file doesn't seem to exist in remaster (it would be located at /etc/skel/.mozilla/firefox/xxxxxxxx.default/prefs.js where xxxxxxxx is some random chars.) I'm not sure how to change the default homepage.
Similar Threads
-
Replies: 6
Last Post: 02-17-2006, 11:53 AM
-
By drabo in forum Customising & Remastering
Replies: 1
Last Post: 12-15-2005, 08:57 PM
-
By babelbrennt in forum Customising & Remastering
Replies: 4
Last Post: 09-06-2005, 11:24 PM
-
By alanblundellxx in forum General Support
Replies: 2
Last Post: 02-06-2005, 12:01 PM
-
Replies: 1
Last Post: 12-13-2004, 01:39 AM
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

Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit
$99.99

Lot of 88GB (22x4GB) ADVANTECH 1RX16 DDR4 PC4-2400U AQD-D4U4GN24-HP MEMORY RAM
$286.00

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$21.68

Major Brand 16GB (2x8GB) PC3-12800U DDR3-1600MHz DDR3-12800 DESKTOP RAM NON-ECC
$29.99

Lot of 3~BAD~NON-WORKING Micron 64GB 4DRx4 PC4-2666V-LE2 Server RAM Memory DDR4
$600.00

LOT OF 4 Samsung 16GB DDR4-2666 ECC UDIMM 2Rx8 PC4-21300 M391A2K43BB1-CTDQ
$469.95

Crucial DDR3L 16GB 2 x 8GB 1600 MHz PC3L-12800 Laptop RAM Sodimm Memory 1.35V
$41.00

Samsung 16GB LPCAMM2 PC5 7500 DDR5 LPDDR5X CAMM2 M561K1LC4DM0-CCTGM RAM Memory
$189.00

Micron 32GB 1x32GB DDR5 5600 CL46 ECC Unbuffered SO-DIMM MTC20C2085S1TC56BD1
$399.00

Samsung 4 X 4GB DDR4 3200MHz PC4-3200AA SO-DIMM Laptop Memory M471A5244CB0-CWE
$80.00