Automatically start Seamonkey? Edit desktop icons?

Booting, installing, newbie
Post Reply
Message
Author
motorcity
Posts: 76
Joined: Wed 25 Feb 2009, 11:49

Automatically start Seamonkey? Edit desktop icons?

#1 Post by motorcity »

I've got a couple of little projects here;
#1 I read somewhere about making the browser startup when you boot up puppy, I'm trying to get seamonkey running after bootup.
#2 Somehow the browser icon still goes to the download and install a browser instead of seamonkey ~ that's gotta be fairly easy to change but I can't find anything on it so far.
#3 I'd also like a separate desktop icon for shutting down the computer.
Any help certainly appreciated!
I should probably mention this is puppy 528 and a full hard drive install.

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#2 Post by bigpup »

#2 Somehow the browser icon still goes to the download and install a browser instead of seamonkey ~ that's gotta be fairly easy to change but I can't find anything on it so far.
I assume you have installed Seamonkey.

Click on control icon on desktop.
Utility tab.
Default Apps Manager.
Browser.
Select Seamonkey.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#3 Post by bigpup »

#1 I read somewhere about making the browser startup when you boot up puppy, I'm trying to get seamonkey running after bootup.
Click on File icon on desktop.
Open startup directory.
Anything in this directory will run at startup.
Read the readme file for info.

For Seamonkey to start at bootup.

Need two Rox file manager windows open.
One with the startup directory open.
One with /usr/lib/seamonkey directory open.
In Seamonkey directory find the seamonkey file that looks like a gear.
Drag the seamonkey gear file to the startup directory.
Choose link absolute.

You have now made a file in the startup directory that will start Seamonkey at boot up.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#4 Post by bigpup »

#3 I'd also like a separate desktop icon for shutting down the computer.
In Rox file manager.
Go to /usr/bin
Left click and drag file wmpoweroff to the desktop.
Now have power off icon on desktop.

Right click on desktop icon for file.
To change name -> edit item
To change icon -> set icon
( normal icon set is located at /usr/local/lib/X11/pixmaps )
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

motorcity
Posts: 76
Joined: Wed 25 Feb 2009, 11:49

#5 Post by motorcity »

Thanks Bigpup. As your tag-line suggests, helping folks sometimes presents it's own frustrations. Witness this little story of mine helping a customer today. The concrete under his gate has heaved and he can't get it to open. He wants to try sanding the concrete down oh about 1/2 inch. I told him sanding concrete without a powertool wasn't going to work and he'd be better off raising the gate on its hinges, but he'd have none of it. No he was just going to sand it down. I figure the ground will thaw before he makes any real progress, but I had to let it go.
I tried your suggestion for my project #2. Seamonkey is already installed and running with a rather convoluted about:config setup, this is related to this puppy running as a cash register and using a receipt printer. (Most / all of my recent posts around here are involved with only that). Anyway I found out the hard way re-installing seamonkey isn't actually what I had in mind.
My goof! It's certainly not your fault.
I'm not a stranger to hacking code in various form (php is my usual) I'm imagining there's a file once altered by installing a browser that I could hack. Just not sure where that puppy lies.
I'll give it another go in the morning.
Nevertheless thank you very much for the help.

User avatar
OscarTalks
Posts: 2196
Joined: Mon 06 Feb 2012, 00:58
Location: London, England

Re: Automatically start Seamonkey? Edit desktop icons?

#6 Post by OscarTalks »

motorcity wrote:#2 Somehow the browser icon still goes to the download and install a browser instead of seamonkey ~ that's gotta be fairly easy to change but I can't find anything on it so far.
The "browse" icon calls /usr/local/bin/defaultbrowser so you can just open that file as text and edit it so the exec line reads exec seamonkey "$@"
Oscar in England
Image

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#7 Post by bigpup »

The "Default Apps Manager" should also work to change the default browser.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

gcmartin

Make a browser hide in PUP appearing to ONLY offer 1 app

#8 Post by gcmartin »

Hey guys, this sounds like a way to make a custom browser desktop PUP where the user only sees the app/site presented by the browser. There is a method with pfkey that will move the browser title line off-screen and there are configs which control browser menu options, thus someone could fill a screen with browser in such a way as it appears to be the only thing the PC can do.

Seems plausible for specific requirements.

Did I get this correct

motorcity
Posts: 76
Joined: Wed 25 Feb 2009, 11:49

#9 Post by motorcity »

Full success on #2 & #3
Thanks Oscartalks;
The "browse" icon calls /usr/local/bin/defaultbrowser so you can just open that file as text and edit it so the exec line reads exec seamonkey "$@"
Back to #1 automatically starting seamonkey.
What I find is two seamonkey directories;
/usr/lib/seamonkey (a symbolic link) and
/usr/lib/seamonkey-1.1.18 (assuming this is the one to use),
however both those have 13 different files with the gear type icon, none of which is very obviously the one I need.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#10 Post by Semme »

MC, what's your current version.. the one that opens?

motorcity
Posts: 76
Joined: Wed 25 Feb 2009, 11:49

#11 Post by motorcity »

its seamonkey 1.1.18

User avatar
OscarTalks
Posts: 2196
Joined: Mon 06 Feb 2012, 00:58
Location: London, England

#12 Post by OscarTalks »

Easy to create the symlink by opening a terminal and doing something like:-

Code: Select all

ln -s /usr/lib/seamonkey/seamonkey /root/Startup/seamonkey-launch
and press Enter.

Try that, BUT you may find that you need to introduce a few seconds of sleep delay to allow other stuff (including networking) to load up before you start the browser, in which case a little script (named seamonkey-launch or whatever) in /root/Startup would be better:-

Code: Select all

#!/bin/bash
sleep 10
exec seamonkey &
Add the carriage return to start a new line at the bottom.
You can experiment with the number of seconds of sleep delay.
Make sure it is executable.

To create a new script in ROX, open the directory (/root/Startup in this case), right click in open space, choose New>>Script, give the script its name and click Create. You can then edit the content.
Oscar in England
Image

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#13 Post by Semme »

Hey MC, you OK with that old dog? :D

motorcity
Posts: 76
Joined: Wed 25 Feb 2009, 11:49

#14 Post by motorcity »

Yeah this seems to work;

Code: Select all

#!/bin/bash
sleep 10
exec seamonkey & 
The 10 count seems pretty long, its about 20 seconds after X starts ~ this is being tested on a different box (not a full install) so I'm just restarting X server.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#15 Post by Semme »

Ten was conservative and a good place to start. You may find it comfortable around four or five.

Post Reply