Startup Script

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
UberNoob
Posts: 33
Joined: Sun 24 Jan 2010, 02:17
Location: Potsdam NY USA

Startup Script

#1 Post by UberNoob »

Hey folks-
There's probably a thread out there already (that the UberNoob cant find) that could answer this but...

Where is the script (or autoexec.bat equivalent) that launches stuff like freemem and blinky on startup?

@all Thanks again for your patience!
Follow the misadventures of "Timmy and his new puppy"
[url]http://puppylinuxnoob.blogspot.com/[/url]
About My Puppy: 4.3.1 FULL on a DELL INSPIRON B130

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#2 Post by dejan555 »

I believe those apps are launched from /root/.xinitrc
Also, you can put any script in /root/Startup that you want to run on X start.
One of the first scripts that's executed before starting X server is in /etc/rc.d/rc.sysinit and some other scripts are called by it afterwards.
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
UberNoob
Posts: 33
Joined: Sun 24 Jan 2010, 02:17
Location: Potsdam NY USA

#3 Post by UberNoob »

Thanks Dejan555 for much useful info that will no doubt come in handy!

What I hope to do at this point is prevent freemem from starting
Follow the misadventures of "Timmy and his new puppy"
[url]http://puppylinuxnoob.blogspot.com/[/url]
About My Puppy: 4.3.1 FULL on a DELL INSPIRON B130

npierce
Posts: 858
Joined: Tue 29 Dec 2009, 01:40

#4 Post by npierce »

If you are running JWM on Puppy 4.3.1, have a look at /root/.jwmrc-tray .

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#5 Post by dejan555 »

Oh right that's it, jwm has <Swallow></Swallow> tag for such applets as freememapplet must be there.
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
UberNoob
Posts: 33
Joined: Sun 24 Jan 2010, 02:17
Location: Potsdam NY USA

#6 Post by UberNoob »

Yes, I did that. But if JWM doesn't "swallow" it, it simply appears in its own teeny-tiny X window. I'm trying to stop it from being executed in the first place.
Follow the misadventures of "Timmy and his new puppy"
[url]http://puppylinuxnoob.blogspot.com/[/url]
About My Puppy: 4.3.1 FULL on a DELL INSPIRON B130

npierce
Posts: 858
Joined: Tue 29 Dec 2009, 01:40

#7 Post by npierce »

When these lines are removed from /root/.jwmrc-tray:

Code: Select all

                <Swallow name="freememapplet" width="34">                       
                        freememappletshell                                      
                </Swallow>   
freememapplet is no longer started when JWM is restarted. The reason that it appears in its own window when you restart JWM is because it is already running.

For me, when I restart the X server, freememapplet is then killed and does not reappear.

User avatar
UberNoob
Posts: 33
Joined: Sun 24 Jan 2010, 02:17
Location: Potsdam NY USA

Does the trick!

#8 Post by UberNoob »

Beautiful!

Thank you both for your patience and expertise :wink:
Follow the misadventures of "Timmy and his new puppy"
[url]http://puppylinuxnoob.blogspot.com/[/url]
About My Puppy: 4.3.1 FULL on a DELL INSPIRON B130

npierce
Posts: 858
Joined: Tue 29 Dec 2009, 01:40

#9 Post by npierce »

You are welcome. Glad it worked for you.

Post Reply