Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 20 Aug 2014, 10:50
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Automatically start Seamonkey? Edit desktop icons?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [15 Posts]  
Author Message
motorcity

Joined: 25 Feb 2009
Posts: 70

PostPosted: Thu 06 Mar 2014, 11:54    Post subject:  Automatically start Seamonkey? Edit desktop icons?  

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.
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 5084
Location: Charleston S.C. USA

PostPosted: Thu 06 Mar 2014, 22:18    Post subject:  

Quote:
#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.

_________________
I have found, in trying to help people, that 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 Shocked
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 5084
Location: Charleston S.C. USA

PostPosted: Thu 06 Mar 2014, 22:43    Post subject:  

Quote:
#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.

_________________
I have found, in trying to help people, that 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 Shocked
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 5084
Location: Charleston S.C. USA

PostPosted: Fri 07 Mar 2014, 08:35    Post subject:  

Quote:
#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 )

_________________
I have found, in trying to help people, that 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 Shocked
Back to top
View user's profile Send private message 
motorcity

Joined: 25 Feb 2009
Posts: 70

PostPosted: Fri 07 Mar 2014, 19:57    Post subject:  

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.
Back to top
View user's profile Send private message 
OscarTalks

Joined: 05 Feb 2012
Posts: 861
Location: London, England

PostPosted: Fri 07 Mar 2014, 22:23    Post subject: Re: Automatically start Seamonkey? Edit desktop icons?  

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

Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 5084
Location: Charleston S.C. USA

PostPosted: Sat 08 Mar 2014, 04:13    Post subject:  

The "Default Apps Manager" should also work to change the default browser.
_________________
I have found, in trying to help people, that 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 Shocked
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 4211
Location: Earth

PostPosted: Sat 08 Mar 2014, 06:49    Post subject: Make a browser hide in PUP appearing to ONLY offer 1 app  

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

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engine or use DogPile
Back to top
View user's profile Send private message 
motorcity

Joined: 25 Feb 2009
Posts: 70

PostPosted: Sat 08 Mar 2014, 09:15    Post subject:  

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.
Back to top
View user's profile Send private message 
Semme

Joined: 07 Aug 2011
Posts: 3711
Location: World_Hub

PostPosted: Sat 08 Mar 2014, 09:48    Post subject:  

MC, what's your current version.. the one that opens?
Back to top
View user's profile Send private message 
motorcity

Joined: 25 Feb 2009
Posts: 70

PostPosted: Sat 08 Mar 2014, 10:34    Post subject:  

its seamonkey 1.1.18
Back to top
View user's profile Send private message 
OscarTalks

Joined: 05 Feb 2012
Posts: 861
Location: London, England

PostPosted: Sat 08 Mar 2014, 10:38    Post subject:  

Easy to create the symlink by opening a terminal and doing something like:-
Code:
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:
#!/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

Back to top
View user's profile Send private message 
Semme

Joined: 07 Aug 2011
Posts: 3711
Location: World_Hub

PostPosted: Sat 08 Mar 2014, 11:14    Post subject:  

Hey MC, you OK with that old dog? Very Happy
Back to top
View user's profile Send private message 
motorcity

Joined: 25 Feb 2009
Posts: 70

PostPosted: Sat 08 Mar 2014, 11:31    Post subject:  

Yeah this seems to work;
Code:
#!/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.
Back to top
View user's profile Send private message 
Semme

Joined: 07 Aug 2011
Posts: 3711
Location: World_Hub

PostPosted: Sat 08 Mar 2014, 11:38    Post subject:  

Ten was conservative and a good place to start. You may find it comfortable around four or five.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [15 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0849s ][ Queries: 12 (0.0104s) ][ GZIP on ]