LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-24-2003, 10:20 PM   #1
Bensoft Kill MS
Member
 
Registered: Jul 2003
Location: KY
Distribution: Red Hat 9
Posts: 65

Rep: Reputation: 15
How to load a program to ram without it popping up at login?


I remember seeing a thread like this, but couldn't find it by searching. Can the person please say how to do it again? [like loading galeon and openoffice specifially]
 
Old 11-26-2003, 02:26 AM   #2
arvindn
LQ Newbie
 
Registered: Nov 2003
Location: India
Distribution: fedora
Posts: 20

Rep: Reputation: 0
Hi,

I don't know about the other thread, but what you have to do is to make the kernel read the program's binaries from disk. So if the program is located in $PROG_DIR, you can do "cat $PROG_DIR?* > /dev/null" or something like that. Then the files will be read from disk and discarded but still be buffered in memory. I'm not sure what the directories are. For openoffice it is probably /usr/lib/openoffice/program/. No idea about galeon.

To make this execute every time you boot, you can put the command in /etc/rc.local IIRC.

Arvind
 
Old 11-26-2003, 02:27 AM   #3
arvindn
LQ Newbie
 
Registered: Nov 2003
Location: India
Distribution: fedora
Posts: 20

Rep: Reputation: 0
Sorry I meant write "cat $PROG_DIR/* > /dev/null"

Arvind
 
Old 11-26-2003, 04:07 PM   #4
Bensoft Kill MS
Member
 
Registered: Jul 2003
Location: KY
Distribution: Red Hat 9
Posts: 65

Original Poster
Rep: Reputation: 15
so in rc.local (what is IIRC?) I put cat $PROG_DIR/usr/lib/openoffice/program > /dev/null ?
Do I need to specify the actuall load file or does the prog_dir just run what is in the directory, which is in this case Open office? (for me it is /usr/lib/openoffice/program. Galeon is /usr/lib/galeon/components. Is that it or do I need to find another area that a galeon folder is located? Thanks.
 
Old 11-26-2003, 04:29 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
arvindn
Sorry I meant write "cat $PROG_DIR/* > /dev/null"
I can see that this should work, but I doubt
that the advantage of "caching" let's say
350MB in the case of OpenOffice would
do a lot for the time before the user can
actually use it :} (specifically if the PC
has less than 350 (+Kernel memory
+X memory + DE memory) MB of RAM ;}) ...



Cheers,
Tink
 
Old 11-28-2003, 03:58 PM   #6
Bensoft Kill MS
Member
 
Registered: Jul 2003
Location: KY
Distribution: Red Hat 9
Posts: 65

Original Poster
Rep: Reputation: 15
I have 512 mbs of ram...
 
  


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
a RAM check program? kpachopoulos Linux - General 2 11-06-2005 04:59 PM
RAM Testing program swmok Linux - Software 5 04-12-2005 10:39 PM
wanting to know which linux os is the easiest to load for a new comer with 64 meg ram Brett Scott Linux - Software 2 03-05-2005 01:15 AM
how can i pre-load applications into ram automatically at startup??? win32sux Linux - General 10 02-24-2004 05:20 AM
OpenOffice.org 1.1.0rc3 - registration msg keeps popping up on program start Locura Linux - Software 12 09-30-2003 10:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:40 AM.

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
Open Source Consulting | Domain Registration