Speeding up Mozilla load time - ResellerRatings Store Ratings
Comparison shop, read reviews, find savings, at ResellerRatings.com.
Comparison shop, read reviews, find savings, at ResellerRatings.com.
Comparison shop, read reviews, find savings.
What are you shopping for?
Digital Cameras Plasma and LCD
HDTv's iPods and Other
MP3 Players PC Laptops Camcorders

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 09-13-2003, 12:18 PM   #1 (permalink)
Registered User
 
nukes's Avatar
 
Join Date: Oct 2002
Location: Scotland, UK
Posts: 2,946
nukes is on a distinguished road
Send a message via AIM to nukes Send a message via Yahoo to nukes
Speeding up Mozilla load time

Is there a way to make Mozilla run in a 'quick launch' mode in Linux like it can in Windows. Its almost always an app I use in X, and I could do without waiting for it all the time. I am happy to have a dock icon sitting at the bottom of the screen, but I don't want a browser window launched from .xinitrc. Any ideas?

__________________
_____
NuKeS
nukes is offline   Reply With Quote
Old 09-13-2003, 02:07 PM   #2 (permalink)
Registered User
 
jkrohn's Avatar
 
Join Date: Oct 2001
Location: Champaign, IL
Posts: 3,253
jkrohn is on a distinguished road
Send a message via ICQ to jkrohn Send a message via AIM to jkrohn Send a message via Yahoo to jkrohn
Well I think the problem with a system tray app is that the different window managers
1) Don't all have trays
2) Don't use the same trays.

That aside, I was looking at the KDE API and got a few ideas.
http://developer.kde.org/documentati...ystemTray.html

1) Modify the actual code of the browser. This is the hard option IMO, and not that useful.
2) Create your own widget that will wrap around whatever process you call and use it's minimize maximize (may have to use both max buttons) and it's quit button.

I believe the second is possible, but my experience in that area of programming is sparse. That idea does seem like the best though since it would be re-useable for most any app.

Just my ideas.
Jkrohn
__________________
Jkrohn
jkrohn is offline   Reply With Quote
Old 09-13-2003, 02:45 PM   #3 (permalink)
Banned
 
Join Date: Nov 2002
Location: Seattle, WA
Posts: 3,289
iNeb is on a distinguished road
Send a message via AIM to iNeb
Tried firebird? It's mozilla but faster =)
iNeb is offline   Reply With Quote
Old 09-13-2003, 02:50 PM   #4 (permalink)
Registered User
 
nukes's Avatar
 
Join Date: Oct 2002
Location: Scotland, UK
Posts: 2,946
nukes is on a distinguished road
Send a message via AIM to nukes Send a message via Yahoo to nukes
Yes I've tried firebird, but unless you can tell me a quick and easy way of exporting my 25mb+ of profile data into firebird (a straight copy doesn't work) then I'll be sticking with this as well.
BTW That wouldn't solve the problem, its because its having to load all the libraries to start with. They both use a lot of the same code, and the initial load times don't have a great gap between.
Maybe there's some way I can prefetch the libs into a cache and keep them there whether Mozilla's running or not?
__________________
_____
NuKeS
nukes is offline   Reply With Quote
Old 09-13-2003, 02:52 PM   #5 (permalink)
Registered User
 
jkrohn's Avatar
 
Join Date: Oct 2001
Location: Champaign, IL
Posts: 3,253
jkrohn is on a distinguished road
Send a message via ICQ to jkrohn Send a message via AIM to jkrohn Send a message via Yahoo to jkrohn
Well the nice gentlemen in #KDE-devel have informed me that a program that frames a given process to send it to the system tray is not very possible

Jkrohn
__________________
Jkrohn
jkrohn is offline   Reply With Quote
Old 09-14-2003, 10:05 AM   #6 (permalink)
Registered User
 
nukes's Avatar
 
Join Date: Oct 2002
Location: Scotland, UK
Posts: 2,946
nukes is on a distinguished road
Send a message via AIM to nukes Send a message via Yahoo to nukes
Right, I'll work something else out then.
__________________
_____
NuKeS
nukes is offline   Reply With Quote
Old 09-14-2003, 01:26 PM   #7 (permalink)
Registered User
 
jkrohn's Avatar
 
Join Date: Oct 2001
Location: Champaign, IL
Posts: 3,253
jkrohn is on a distinguished road
Send a message via ICQ to jkrohn Send a message via AIM to jkrohn Send a message via Yahoo to jkrohn
One thing that wouldn't be hard to do in theory.

If you have reserved psace on your desktop (like the bottom left/right in flux if your menu is on the bottom) you can edit mozilla and add a button to the toolbar.

This button would resize the window to say 5,5 and put it at 1,1. This is 100% possible using the window class of xul.

It is actually pretty darn easy too
This isn't the solution you are looking for but does offer you a way of pseudo putting it in the "system tray".

If it bothers you to be in the taskbar, you could always use kstart --skiptaskbar mozilla or something to that effect.

Jkrohn
__________________
Jkrohn
jkrohn is offline   Reply With Quote
Old 09-16-2003, 12:51 PM   #8 (permalink)
Registered User
 
nukes's Avatar
 
Join Date: Oct 2002
Location: Scotland, UK
Posts: 2,946
nukes is on a distinguished road
Send a message via AIM to nukes Send a message via Yahoo to nukes
I'll just leave it I think. I've been messing around with RAM disks and they weren't that much better.
They got the load time down to about 1.5 seconds, but take more time to initialise. Plus you need 75mb free ram.
Here's the script I wrote for it if anyones interested. Maybe tune2fs will help things in terms of speed. I'm looking for near-instant load times, but doubt I'll get it.
Code:
#!/bin/bash
echo An attempt at using a RAMDISK to improve system performance
modprobe rd rd_size=75000
echo Module: rd loaded
mke2fs /dev/ram0 > /dev/null
echo Filesystem created
mkdir /tmp/mozrd
cp -rp /usr/lib/mozilla/* /tmp/mozrd/
echo backup made.
echo Initiating library ramdisk
mount /dev/ram0 /usr/lib/mozilla
cp -rp /tmp/mozrd/* /usr/lib/mozilla
echo Unless you saw any errors, it should be working now.
Maybe keep the backup somewhere so it doesn't have to be done each time?
__________________
_____
NuKeS
nukes is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Most Active Discussions
Cyberpowerpc.com Any Good? (10)

Recent Discussions
Learn How I make $1000/mo with .. (0)
$65 A Day A Non-Blackhat Auto-.. (0)
Amazing MiniSite Template (0)
please ignore (1625)
Cyberpowerpc.com Any Good? (10)
Like New Wacom 12x19 Intuos 3 +.. (1)
For Sale BFG GTX285 OC2 with 10.. (2)
www.szprice.com - any experienc.. (1)
Games, Cables, PCI cards, and m.. (5)
Buymoreshopping.com? Wigix.com (3)
I want your old/new unused pc p.. (6)
:mad: Spam At-hon (3)
Fall-Winter Cleaning Sale (1)
DON'T BUY.COM Advisory (232)
Is certifiedwatchstore.com legi.. (1)

All times are GMT -6. The time now is 10:17 AM.