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 Sun 21 Jul 2019, 09:41
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Browsers and Internet
Portable Browser Installer
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 3 [41 Posts]   Goto page: 1, 2, 3 Next
Author Message
jrb


Joined: 11 Dec 2007
Posts: 1290
Location: Smithers, BC, Canada

PostPosted: Wed 08 May 2019, 21:10    Post subject:  Portable Browser Installer
Subject description: The latest Firefox, Palemoon and/or Seamonkey installed to your drive.
 

I have built a small .pet for 32bit OS's which will place an entry on your internet menu which will download the latest Firefox, Palemoon and/or Seamonkey, install them to a drive of your choice, remember that drive even if the name changes (usb order of insertion), place an entry on the Internet menu and ask if you want to make it your default browser.

Running this way will save use of ram as the browser files are not uploaded to ram like Puppy.

Older operating systems may need an upgrade of Yad to get the gui functional. When you install this .pet it will offer to download:
http://distro.ibiblio.org/puppylinux/pet_packages-common32/yad-0.40.3-i686_common32.pet to the root directory.

Sadly there's no guaranteeing the latest browsers will work in your older systems. I have tested in Precise-light and Bionic32-light and it works well. As soon as I finish this post I'll boot up Tahr32, try it, and report back (should have thought of that before Embarassed DOH!).

Big thanks to fredx181 for the use of his Firefox install script and his testing and feedback. Cool

I just added the PortaBrowseInstall-i386-0.4.pet which will download and install an updated version of Yad if you need and want it. It also will install Thunderbird email client. The installs are now truly portable in that the profiles are contained in the portable directories and will be maintained from Puppy to Puppy.
PortaBrowseInstall-i386-0.4.pet
Description  Installs portable versions of the latest Firefox, Palemoon, Seamonkey and/or Thunderbird email client
pet

 Download 
Filename  PortaBrowseInstall-i386-0.4.pet 
Filesize  20.6 KB 
Downloaded  225 Time(s) 
PortaBrowseInstall-i386-0.3.pet
Description  Install the latest Firefox, Palemoon and/or Seamonkey
pet

 Download 
Filename  PortaBrowseInstall-i386-0.3.pet 
Filesize  16.08 KB 
Downloaded  146 Time(s) 

Last edited by jrb on Tue 14 May 2019, 09:25; edited 1 time in total
Back to top
View user's profile Send private message 
jrb


Joined: 11 Dec 2007
Posts: 1290
Location: Smithers, BC, Canada

PostPosted: Wed 08 May 2019, 21:33    Post subject:  

I just tried all three installs in Tahr-605 and they worked quite well. Very Happy The only thing which didn't work was the pinstall.sh script which was supposed to offer to download the updated Yad, have to look into that. Worked in Precise-light and Bionic32-light. You can download it from the link in Post #1 if need be. You can tell if you need it if nothing happens when you click "Portable Browser Installer" on the internet menu.

I'll let the rest of you test in other OS's.

Having a bit of trouble with i86_64 installs but will get back to it.

(teaser: I have also run a crude script which downloaded and installed the latest chromium to disk. We'll see what happens with that.)

BFN, J

EDIT: I now realize my Tahr was not "pristine" and contained gtk3 which I had installed some time ago. See post here for files needed.

Last edited by jrb on Tue 14 May 2019, 09:44; edited 2 times in total
Back to top
View user's profile Send private message 
Mike Walsh


Joined: 28 Jun 2014
Posts: 5157
Location: King's Lynn, UK.

PostPosted: Sun 12 May 2019, 19:43    Post subject:  

Hallo, jrb.

A truly excellent idea! It takes the whole concept of 'portable browsers' a step further, and makes it really easy for even newbies to get a browser installed and working with the minimum of fuss, which at the same time doesn't occupy 'Puppy-space'.

Nice one. (And of course, the beauty of the Mozilla-based browsers, etc., is that they update 'in situ' - with the exception of PaleMoon 27.9.4 SSE, of course, and maybe SeaMonkey? Not sure about that; I believe it's only available as a 32-bit app, and I was never that enamoured of it...)

Now then; a suggestion, to 'round off' the 'family', as it were. How about adding Thunderbird to 'the mix'? No reason it shouldn't work, since I proved it was possible to build a 'portable' version of that, too. I use it myself, all the time; every one of my Pups has a custom MenuEntry .pet installed to point to it on a remote, auto-mounted partition, running with the 'FireTray' extension.

Just a thought, you understand.... Very Happy


Mike. Wink

_________________
MY 'PUPPY' PACKAGES

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


Joined: 11 Dec 2007
Posts: 1290
Location: Smithers, BC, Canada

PostPosted: Mon 13 May 2019, 00:58    Post subject:  

Mike Walsh wrote:
Hallo, jrb.

A truly excellent idea! It takes the whole concept of 'portable browsers' a step further, and makes it really easy for even newbies to get a browser installed and working with the minimum of fuss, which at the same time doesn't occupy 'Puppy-space'.

Nice one. (And of course, the beauty of the Mozilla-based browsers, etc., is that they update 'in situ' - with the exception of PaleMoon 27.9.4 SSE, of course, and maybe SeaMonkey? Not sure about that; I believe it's only available as a 32-bit app, and I was never that enamoured of it...)

Now then; a suggestion, to 'round off' the 'family', as it were. How about adding Thunderbird to 'the mix'? No reason it shouldn't work, since I proved it was possible to build a 'portable' version of that, too. I use it myself, all the time; every one of my Pups has a custom MenuEntry .pet installed to point to it on a remote, auto-mounted partition, running with the 'FireTray' extension.

Just a thought, you understand.... Very Happy


Mike. Wink

Thanks Mike, I'll have a look at the Thunderbird website and see what I can do. The only problem I've had is getting them to run profiles within the portable directory. Using your launch script from Palemoon_portable-28.3.0-i386.tar.gz and cding into the portable directory opens up two profiles, one in root and one in the portable folder. Confused

Haven't had much time in the last couple of days, my sewage line is clogged and the women in the household are not impressed with no showers and no laundry. A friend has lent me his backhoe and given me 10 minutes of instruction. Promises to be a real adventure. Oh well, that's life in the Great White North.

Cheers, J
Back to top
View user's profile Send private message 
kuman11

Joined: 26 Dec 2017
Posts: 199

PostPosted: Mon 13 May 2019, 01:19    Post subject:  

jrb,

if I install this on a portable HD, could the browser be used when I run my Puppy in a Ram mode?
Back to top
View user's profile Send private message 
kuman11

Joined: 26 Dec 2017
Posts: 199

PostPosted: Mon 13 May 2019, 01:28    Post subject:  

It's not all is quiet on the Western (Puppy) front ...
Back to top
View user's profile Send private message 
Mike Walsh


Joined: 28 Jun 2014
Posts: 5157
Location: King's Lynn, UK.

PostPosted: Mon 13 May 2019, 06:40    Post subject:  

Morning, jrb.

You may find having a read of the 'Portable-Thunderbird' thread helps. I know backi was having 'issues' with the extra profile in /root/.thunderbird...

http://www.murga-linux.com/puppy/viewtopic.php?t=115447

(Mind you, it turned out he was jumping the gun a bit, and was trying to copy his profile across while it was still inside the extracted tarball folder... Rolling Eyes)

Personally, I simply created the 'profile' directory and copied everything across before I ran the 'tb' script for the first time. Worked like a charm.

Another thing I've found is that even if you're running a mixture of 32- and 64-bit Puppies, you can still 'share' the same profile between T-Birds/Quantums/Palemoons/whatever. There's nothing arch-specific in the profile at all; it's all text files, databases and CSS stuff.

Thus, you can 'install' your 'portable-whatever' to its intended location, then sym-link a common profile directory into it before firing up for the first time....

Easy-peasy.


Mike. Wink

_________________
MY 'PUPPY' PACKAGES

Back to top
View user's profile Send private message 
Mike Walsh


Joined: 28 Jun 2014
Posts: 5157
Location: King's Lynn, UK.

PostPosted: Mon 13 May 2019, 06:51    Post subject:  

kuman11 wrote:
jrb,

if I install this on a portable HD, could the browser be used when I run my Puppy in a Ram mode?


Hi, kuman11.

Yes, of course it can. That's kinda the point of it being 'portable', y'know? You can 'install' this to any external device (HDD, flash-drive, SD card, etc). So long as Puppy can read it, it'll work.....because the 'profile' is self-contained along with it.


Mike. Wink

_________________
MY 'PUPPY' PACKAGES

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


Joined: 11 Dec 2007
Posts: 1290
Location: Smithers, BC, Canada

PostPosted: Mon 13 May 2019, 11:28    Post subject:  

Mike Walsh wrote:
Morning, jrb.

You may find having a read of the 'Portable-Thunderbird' thread helps. I know backi was having 'issues' with the extra profile in /root/.thunderbird...

http://www.murga-linux.com/puppy/viewtopic.php?t=115447

(Mind you, it turned out he was jumping the gun a bit, and was trying to copy his profile across while it was still inside the extracted tarball folder... Rolling Eyes)

Personally, I simply created the 'profile' directory and copied everything across before I ran the 'tb' script for the first time. Worked like a charm.

Another thing I've found is that even if you're running a mixture of 32- and 64-bit Puppies, you can still 'share' the same profile between T-Birds/Quantums/Palemoons/whatever. There's nothing arch-specific in the profile at all; it's all text files, databases and CSS stuff.

Thus, you can 'install' your 'portable-whatever' to its intended location, then sym-link a common profile directory into it before firing up for the first time....

Easy-peasy.


Mike. Wink

Good morning Mike, Thanks for answering kuman11's question.

I got Thunderbird working in Portabrowseinstaller, pretty much the same as setting up seamonkey. I'll see if I can puzzle out the profile situation and then post the new version.
Back to top
View user's profile Send private message 
RetroTechGuy


Joined: 15 Dec 2009
Posts: 2937
Location: USA

PostPosted: Mon 13 May 2019, 21:40    Post subject:  

jrb wrote:

I got Thunderbird working in Portabrowseinstaller, pretty much the same as setting up seamonkey. I'll see if I can puzzle out the profile situation and then post the new version.


Cool jrb, I'll have to look at this also... Smile

_________________
Add swapfile
WellMinded Search
PuppyLinux.US Search
Back to top
View user's profile Send private message 
Mike Walsh


Joined: 28 Jun 2014
Posts: 5157
Location: King's Lynn, UK.

PostPosted: Tue 14 May 2019, 05:07    Post subject:  

Morning, jrb.

Just so's you're aware of this, I thought I'd check something last night. I looked to see whether or not I had in fact deleted the /root/.thunderbird directory in each Puppy after switching the kennels across to the portable version. I booted into all 8 Pups last night in turn, made sure the directory no longer existed, then fired up TB.

No problems at all, same as for the last year.....

So; the advice in the TB thread still stands, as it does with Fred's portable-Quantum thread. If you want to use an existing profile with the portables:-

Before you fire it up for the first time:-

1) Create a new 'profile' directory within the portable app's directory.
2) Copy the contents of the profile across to it.
3) Delete the old profile directory in /root/.xxxxx (whatever)

OR (if you've already run it and a profile directory has been created), simply delete the contents of 'profile', then follow steps 2 & 3 above.


Mike. Wink

_________________
MY 'PUPPY' PACKAGES

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


Joined: 24 Feb 2014
Posts: 3253

PostPosted: Tue 14 May 2019, 07:39    Post subject:  

Nice!

I tend to run two browsers (included seamonkey, installed chrome) as I have one set to route via hashbang (socks ssh tunnel for all http and dns traffic), the other with no socks proxy (so routes http/dns via my ISP). i.e. I trust my ISP more for things like online banking and entering userid/passwords for some sites. When I run chrome twice it doesn't have that routing separation just seems to pick up on whatever routing the first loaded version is set to use.

_________________
( ͡° ͜ʖ ͡°) :wq
Fatdog multi-session usb

echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh
Back to top
View user's profile Send private message 
jrb


Joined: 11 Dec 2007
Posts: 1290
Location: Smithers, BC, Canada

PostPosted: Tue 14 May 2019, 09:34    Post subject:  

I just added the PortaBrowseInstall-i386-0.4.pet which will download and install an updated version of Yad if you need and want it. It also will install Thunderbird email client. The installs are now truly portable in that the profiles are contained in the portable directories and will be maintained from Puppy to Puppy.

Minimally tested in Precise-light, Bionic32-light, Tahr-605 and Xenial-705.
In Tahr only Palemoon would run until I installed:
    libgtk-3-common_3.10.8
    libxkbcommon0_0.4.1
    libgtk-3-0_3.10.8
Thanks to Mike Walsh for the advice on getting portable profiles working.

Cheers, J
Back to top
View user's profile Send private message 
tlchost

Joined: 05 Aug 2007
Posts: 2111
Location: Baltimore, Maryland USA

PostPosted: Tue 14 May 2019, 22:25    Post subject:  

jrb wrote:
I just added the PortaBrowseInstall-i386-0.4.pet which will download and install an updated version of Yad if you need and want it. It also will install Thunderbird email client.


Do you know if the Thunderbird handles multiple profiles? Thanks
Back to top
View user's profile Send private message Visit poster's website 
Mike Walsh


Joined: 28 Jun 2014
Posts: 5157
Location: King's Lynn, UK.

PostPosted: Wed 15 May 2019, 09:24    Post subject:  

@ tlchost:-

Probably the simplest way to handle that would be to utilise multiple launchers, the way I've done with Palemoon 27.9.4_SSE on my ancient Dell lappie.

One launcher/profile is the normal, everyday one. I've set up a second launcher/profile simply for viewing YouTube; starting Palemoon with the home page set to YouTube, and configured to start with the window in a minimised state.

The 'standard' launcher (plmn) looks like this (pretty much lifted straight from Fred's Quantum-portable launch script):-

Code:
#!/bin/sh

#LAUNCHDIR="$(cd "$(dirname "$0")"; pwd)"
LAUNCHDIR="$(dirname "$(readlink -f "$0")")"
mkdir "$LAUNCHDIR/profile" 2> /dev/null
 "$LAUNCHDIR/launch" "$@" -profile "$LAUNCHDIR/profile"


The second 'launcher' (plmn2), however, is a wee bit different.....and looks like this:-

Code:
#!/bin/sh

#LAUNCHDIR="$(cd "$(dirname "$0")"; pwd)"
LAUNCHDIR="$(dirname "$(readlink -f "$0")")"
mkdir "$LAUNCHDIR/profile2" 2> /dev/null
 "$LAUNCHDIR/launch" "$@" -profile "$LAUNCHDIR/profile2"


Note where 'profile' has been modified to 'profile2'. This same method will work for all the Mozilla-based applications,,,,,T-Bird included.

Perhaps not a good example, TBH. Where mine says 'launch', the script will normally call 'firefox' or 'palemoon' or'seamonkey' or 'thunderbird' (the relevant executable). Mine calls a second script, because this is a modification of watchdog's original build of Palemoon 27.9.4_SSE, which uses a glibc 'tweak' from Tahrpup. In this case, it's that script, using several 'LD_LIBRARY_PATH' calls for the 'internal' glibc that actually starts Palemoon.

My own launcher script for a 'portable' version of TB 45 (the last that didn't need GTK-3.0) looks like this:-

Code:
#!/bin/sh

#LAUNCHDIR="$(cd "$(dirname "$0")"; pwd)"
LAUNCHDIR="$(dirname "$(readlink -f "$0")")"
mkdir "$LAUNCHDIR/profile" 2> /dev/null
"$LAUNCHDIR/thunderbird" "$@" -profile "$LAUNCHDIR/profile"


Yah, that's a better example. The same principle holds true, however; you'd just modify 'profile' to read 'profile2' or 'profile3', or whatever name you wanted to give it. As long as you tell it what to call the profile, and then to run with that profile, you're home & dry.

-----------------------------------------

In theory, there's no limit to the number of profiles you could set up like this.....and every launcher/profile could have its own, individual Menu entry. Or a single Menu entry, which could then call a small GTK-dialog or YAD GUI with buttons to choose which one you want to launch. Or....well; use your imagination!

Sky's the limit, really..... Very Happy

(Works well enough for my purposes; I'm not short of RAM/Puppy-space, etc, to put this method to good use. It may, however, not be what you're looking for...)

------------------------------------------

@ jrb:-

Not trying to take the thread over, honest! I just happened to know of a method for doing what tlchost asked about, 'cos I've used it for a while myself, very successfully. So, I replied (at length....) Laughing


Mike. Wink

_________________
MY 'PUPPY' PACKAGES

Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 3 [41 Posts]   Goto page: 1, 2, 3 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Browsers and Internet
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.0648s ][ Queries: 12 (0.0043s) ][ GZIP on ]