LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-10-2005, 12:32 AM   #1
MrSavage
LQ Newbie
 
Registered: May 2004
Posts: 10

Rep: Reputation: 0
How to preload firefox during boot


Hi i'd like firefox to be able to preload during boot like what microsoft did for ie.
Is this possible?

would this be applicable for any app.

I am using SUSE 9.2 and kde.
 
Old 01-10-2005, 12:59 AM   #2
uman
Member
 
Registered: Sep 2004
Distribution: Gentoo
Posts: 134

Rep: Reputation: 15
What distribution do you use?
EDIT: Duh I'm dumb you use suse...in that case I'm not sure. try going to a command line and typing "rc-update" (without the quotes) and see if it finds it. If so, I'll explain what to do. If not, I don't know.

Last edited by uman; 01-10-2005 at 01:00 AM.
 
Old 10-01-2005, 01:41 PM   #3
JanusPaul
Member
 
Registered: Nov 2004
Location: Houston, Texas
Distribution: Ubuntu, Debian, Solaris, Free BSD
Posts: 82

Rep: Reputation: 15
What about Debian/KDE users?
 
Old 10-01-2005, 03:46 PM   #4
Ahmed
Member
 
Registered: May 2005
Location: München, Germany
Distribution: Slackware, Arch
Posts: 386

Rep: Reputation: 41
Ever tried a task manager? I suppose there might be an option for issuing commands at startup. Or if you have KAlarm you can use that. (Insert the command "firefox" and set the recurrence to every login)

-A
 
Old 10-01-2005, 04:07 PM   #5
JanusPaul
Member
 
Registered: Nov 2004
Location: Houston, Texas
Distribution: Ubuntu, Debian, Solaris, Free BSD
Posts: 82

Rep: Reputation: 15
KAlarm is unavailable until the Debian package for it gets upgraded to KDE 3.4 (currently dependency lists link to KDE 3.3 libraries). KDE has an autostart feature, but preloading an application and starting an application are not entirely the same thing. I would like to know myself where a list of preloaded applications can be found for kdeinit's startup session. How would a task manager assist in this situation? Or what would I have to do inorder to accomplish preloading firefox o.O?
 
Old 10-02-2005, 01:10 AM   #6
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 57
Why do you want to do this? Faster startup? What's the point of saving a couple of seconds, once every boot? That said, if you'd Googled the question like I just did you'd have found plenty of articles on the subject. The main suggestion for linux seems to be mounting some of your libs into RAM. Probably a complete waste of time but best of luck to you
 
Old 10-02-2005, 01:16 AM   #7
JanusPaul
Member
 
Registered: Nov 2004
Location: Houston, Texas
Distribution: Ubuntu, Debian, Solaris, Free BSD
Posts: 82

Rep: Reputation: 15
Quote:
Originally posted by cs-cam
Why do you want to do this? Faster startup? What's the point of saving a couple of seconds, once every boot? That said, if you'd Googled the question like I just did you'd have found plenty of articles on the subject. The main suggestion for linux seems to be mounting some of your libs into RAM. Probably a complete waste of time but best of luck to you
I have googled this subject, with many different keywords. Coming here to LQ is usually my last resort.
 
Old 10-02-2005, 08:59 AM   #8
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 57
The best answer I could find was to make a new partition in your RAM (how-to), copy the firefox libraries to the new partition and either tell firefox to look in the new spot for them or mount the RAM disk to where firefox will expect it's libs to be. The reason this would speed things up is because RAM access is many times faster than your average hard drive.

I'm still struggling to figure out how this is a really good idea, you'd have to figure out a lot of what you need to do on your own as I couldn't find anyone who'd done it before or if they have, nobody has written a tutorial that I could find.

If you run into trouble post back and we'll help
 
Old 10-02-2005, 10:13 AM   #9
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 461Reputation: 461Reputation: 461Reputation: 461Reputation: 461
Not sure about Suse 9.2, but in 10.0 you can use "preloading".
SUPER preloading - OpenSUSE,
Quote:
What does preloading do? The basic idea is to load files into the cache that are used by certain applications, e.g. OpenOffice. This makes OpenOffice start up much faster because it reads most of its data from cache, not from the slow harddisk. Once KDE has completely started, the preloading is done in the background. This will not affect bootup speed at all.
Debian users can use "prelink" to load Firefox faster. It opens almost instantly on my system with a Anthlon 1.8 with 512 MB ram.

If you are using KDE you can add Firefox to the Start-up apps. You can do the same thing in Xfce. For Gnome users here is a guide (looks a little old)
Session

Adding the comand to .xinitrc should work also
 
Old 10-02-2005, 02:18 PM   #10
JanusPaul
Member
 
Registered: Nov 2004
Location: Houston, Texas
Distribution: Ubuntu, Debian, Solaris, Free BSD
Posts: 82

Rep: Reputation: 15
Quote:
Originally posted by cs-cam
The best answer I could find was to make a new partition in your RAM (how-to), copy the firefox libraries to the new partition and either tell firefox to look in the new spot for them or mount the RAM disk to where firefox will expect it's libs to be. The reason this would speed things up is because RAM access is many times faster than your average hard drive.

I'm still struggling to figure out how this is a really good idea, you'd have to figure out a lot of what you need to do on your own as I couldn't find anyone who'd done it before or if they have, nobody has written a tutorial that I could find.

If you run into trouble post back and we'll help
When is anything in Linux ever a good idea? Oh wait, I thought learning stuff just for the sake of learning was a good thing! Isn't that what Linux is all about? Freedom to learn! Who cares if it's a complete waste of time 'in your eyes', does that make it any less worth learning just for the sake of learning?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to preload an application? LBS Debian 1 08-04-2005 07:59 PM
Made stupid mistake with modprobe.preload Dillius Linux - Laptop and Netbook 2 01-30-2005 10:00 PM
Can I create a empty /etc/ld.so.preload ? michael_util Linux - Software 1 01-20-2005 07:10 PM
Library problem..ld.so.preload not found bruce1271 Linux - Software 1 09-25-2003 04:46 PM
JavaScript PreLoad Image andrewt Programming 1 08-25-2003 04:12 AM


All times are GMT -5. The time now is 09:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration