-
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

SFP TO RJ45 TRANSCEIVER SFP MODULE COPPER SFP OPTICAL PORT TO RJ45 ETHERNET PORT
$7.99

Cisco Acacia DP04QSDD-E25-840 400G QSFP-DD Coherent DCO Transceiver Module
$699.99

NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*
$24.00

Arista SFP-10G-SR 10GBASE-SR XVR-10001-20 850nm SFP+ Optical Transceiver
$30.00

Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver
$5.40

HP 560SFP+ 10GB 2-port PCIe NIC Ethernet ADAPTER 669279-001 w/ (2) 10GB SFP+
$16.99

Intel X520-DA2 10Gb 10Gbe 10 Gigabit Network Adapter NIC Dual Port E10G42BTDA
$28.94

Lenovo 00YK615 Intel X710-DA2 10GbE 2-port SFP+ PCI-E FC Network Adapter NIC
$27.99

Dell 10 Gigabit SFP+ SR Transceiver 0XYD50 NEW SEALED
$24.99

CISCO CVR-X2-SFP10G X2 to SFP+ 10GB 74-6321-03 Converter Module *Lot of 14”
$115.19