-
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 .
![Quote](images/misc/quote_icon.png)
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
![Quote](images/misc/quote_icon.png)
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)
![Quote](images/misc/quote_icon.png)
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.)
![Quote](images/misc/quote_icon.png)
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.)
![Quote](images/misc/quote_icon.png)
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
![Quote](images/misc/quote_icon.png)
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.
![Quote](images/misc/quote_icon.png)
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
![Fanxiang SSD 4TB 2TB 1TB PS5 SSD M.2 NVME SSD 7300MBS PCIe 4.0 Solid State Drive picture](/store/img/VfAAAOSwdAxmn3FW/s-l225//Fanxiang-SSD-4TB-2TB-1TB-PS5-SSD-M-2-NVME-SSD-7300.jpg)
Fanxiang SSD 4TB 2TB 1TB PS5 SSD M.2 NVME SSD 7300MBS PCIe 4.0 Solid State Drive
$248.39
![4TB Ssd 870evo Internal Solid State Drive Hard Disk 2.5 Inch For Laptop SSD picture](/store/img/ftAAAOSwRuxmjLMQ/s-l225//4TB-Ssd-870evo-Internal-Solid-State-Drive-Hard-Dis.jpg)
4TB Ssd 870evo Internal Solid State Drive Hard Disk 2.5 Inch For Laptop SSD
$34.37
![Fanxiang M.2 SATA SSD 2TB 1TB 512GB 256GB SSD Internal M2 Solid State Drive Lot picture](/store/img/zy8AAOSwogJmn3aO/s-l225//Fanxiang-M-2-SATA-SSD-2TB-1TB-512GB-256GB-SSD-Inte.jpg)
Fanxiang M.2 SATA SSD 2TB 1TB 512GB 256GB SSD Internal M2 Solid State Drive Lot
$109.99
![1TB HDD/SSD 2.5](/store/img/IlgAAOSwtgpmKHfn/s-l225//1TB-HDD-SSD-2-5-SATA-Hard-Drive-with-Windows-10-or.jpg)
1TB HDD/SSD 2.5" SATA Hard Drive with Windows 10 or Windows 11 Pro Installed
$44.55
![Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5](/store/img/RzIAAOSwSZNlN-zB/s-l225//Patriot-P210-128GB-256GB-512GB-1TB-2TB-2-5-SATA-3-.jpg)
Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot
$19.99
![Kingchuxing 512GB 1TB 2TB SSD 2.5](/store/img/jCMAAOSwTHFk0gdG/s-l225//Kingchuxing-512GB-1TB-2TB-SSD-2-5-SATA-III-Interna.jpg)
Kingchuxing 512GB 1TB 2TB SSD 2.5"SATA III Internal Solid State Drive 500MB/s
$14.24
![Western Digital 256GB M.2 NVME PCIe 2280 HP SSD picture](/store/img/Y0kAAOSwYgpmoSEW/s-l225//Western-Digital-256GB-M-2-NVME-PCIe-2280-HP-SSD.jpg)
Western Digital 256GB M.2 NVME PCIe 2280 HP SSD
$14.95
![1TB 512GB 256GB M.2 NVMe SSD 2280 Single Notch with Windows 10 or 11 Installed picture](/store/img/GT4AAOSwJttmcyUF/s-l225//1TB-512GB-256GB-M-2-NVMe-SSD-2280-Single-Notch-wit.jpg)
1TB 512GB 256GB M.2 NVMe SSD 2280 Single Notch with Windows 10 or 11 Installed
$29.99
![Samsung 860 EVO 4TB V-NAND SSD SATA 2.5](/store/img/acsAAOSwKN5mhHLj/s-l225//Samsung-860-EVO-4TB-V-NAND-SSD-SATA-2-5-6Gb-s-MZ-7.jpg)
Samsung 860 EVO 4TB V-NAND SSD SATA 2.5" 6Gb/s MZ-76E4T0
$189.99
![Fanxiang 4TB 2TB 1TB SSD 2.5'' SATA III 560MB/s Internal Solid State Drive lot picture](/store/img/0dMAAOSw99Zl7sby/s-l225//Fanxiang-4TB-2TB-1TB-SSD-2-5-SATA-III-560MB-s-Inte.jpg)
Fanxiang 4TB 2TB 1TB SSD 2.5'' SATA III 560MB/s Internal Solid State Drive lot
$177.65