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 Sat 24 Aug 2019, 08:31
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Browsers and Internet
'Portable' Thunderbird - current 60.5.1
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [24 Posts]   Goto page: 1, 2 Next
Author Message
Mike Walsh


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

PostPosted: Mon 18 Feb 2019, 21:41    Post subject:  'Portable' Thunderbird - current 60.5.1
Subject description: Self-contained Thunderbird, similar to 'portable' Quantum - with 'internal' profile
 

Morning, all.

Having tried my hand at a couple of 'portables', after Fredx181 showed the way with 'FF-Quantum portable', a thought struck me. Ok, it's probably been done before - many times - but a portable version of Thunderbird sounded like a good idea.

Carry both browser & e-mail around on a flash drive wherever you go.....

Yeah, I know a lot of you will say, 'Why not make a portable version of SeaMonkey? It's all in one application'.

Unfortunately, I don't like SeaMonkey..!! (I don't think I'm alone, either...)

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

Anyway; here is Thunderbird 60.5.1, packed as a 'portable'. Tested as working in Tahr 6.0.6, Slackos 560 & 570, and BK's 'masterpiece', Precise 5.7.1. (32-bit).....and Xenialpup64 7.5 (64-bit).

You can find the 32-bit version here:-

https://drive.google.com/file/d/1uLkfIl8NYmd6o9nd1T9vKbbDlkfTVNUF/view?usp=sharing

.....and the 64-bit version here:-

https://drive.google.com/file/d/1h4yVtxs2acl45gHVxMcQ4AYoeFl_Udcc/view?usp=sharing

As with the other portables, untar 'em, then place the resulting thunderbird32/thunderbird64 directory anywhere you like. Then start by clicking on the 'tb' script inside. This creates your profile within the directory.....and by starting with the 'tb' script every time, will continue to use that profile.

Enjoy.

Edit:- If you find TB-portable won't fire up, it's almost certainly due to the GTK3 libs. The set I've included in each build won't necessarily work for every Pup on that platform. If that's the case, install GTK3 from your Puppy's PPM, and rename the 'extralibs' folder to something different, so the script doesn't find it. If it doesn't find what it's looking for there, it'll then look in the system files, and find the ones installed from the PPM.....and use them instead.


Mike. Wink

_________________
MY 'PUPPY' PACKAGES


Last edited by Mike Walsh on Tue 02 Apr 2019, 15:46; edited 2 times in total
Back to top
View user's profile Send private message 
backi

Joined: 27 Feb 2011
Posts: 1726
Location: GERMANY

PostPosted: Wed 20 Feb 2019, 15:00    Post subject:  

This is really cool Stuff! Very Happy Very Happy Very Happy
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4041
Location: holland

PostPosted: Wed 20 Feb 2019, 16:04    Post subject:  

@All, for info:

If you have thunderbird setup on your system the standard way (account made, mails in inbox, sent etc..) then you can synchronize it with Mike's portable.
- Open with rox (or other filemanager) the (hidden) folder ~/.thunderbird/xxxxxxxx.default (in my case it's 8ot2tkkn.default , see pic)
- Create in the extracted portable directory (where the tb script is located, e.g. thunderbird32) a folder named profile
(if it already exists, it's OK, but better make it empty by removing the files inside)
- Open it with rox (or other filemanager), place next to the ~/.thunderbird/xxxxxxxx.default folder (see pic)
- Select all files in the ~/.thunderbird/xxxxxxxx.default folder
- Drag and drop them to the profile folder (use copy)
Then, after copying is done, when you run the portable thunderbird (tb script) it should have all included (same as your standard thunderbird setup)

Fred
thunderbird-profile.jpg
 Description   thunderbird sync profile
 Filesize   223.33 KB
 Viewed   330 Time(s)

thunderbird-profile.jpg


_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
Mike Walsh


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

PostPosted: Wed 20 Feb 2019, 17:16    Post subject:  

Hi, Fred.

Snap..! Exactly how I did it myself.

Of course, most of my existing ~/.thunderbird directories are kinda redundant, now. Thunderbird-portable lives on a remote, auto-mounted 'data' partition, and all I've done is to run up a MenuEntry .pet (which I've installed to each Puppy) that calls the 'tb' script to fire it up.

All Pups are now literally 'singing from the same hymn-sheet'..!

Thanks for clarifying the procedure for other Puppians. I was going to do it myself, but you've saved me the trouble.

Cheers, mate.


Mike. Wink

_________________
MY 'PUPPY' PACKAGES

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

Joined: 27 Feb 2011
Posts: 1726
Location: GERMANY

PostPosted: Wed 20 Feb 2019, 18:09    Post subject:  

Hi Fred!
Followed your advice .
Just works ......but one Thing is a bit confusing me ......so let me try to explain.


Downloaded and extracted Thunderbird-60.5.1-i686-portable.gz.
A Folder Thunderbird-60.5.1-i686-portable.gz.extracted was the result..
Inside of this Folder is Folder Thunderbird-60.5.1-i686-portable.
Inside this Folder one will find the Folder thunderbird32.

I followed your Procedure above .....and then started thunderbird from Folder thunderbird32.....clicking tb .
Setup started .....waiting for download of all my Mails etc.......waited till finished .
After everything was finished .....i found a new Folder inside of Folder Thunderbird-60.5.1-i686-portable.gz.extracted ......named mnt .
Inside of Folder mnt..... two Sub-folders ...
a. one with Name sda7
b. another one with Name sdb1....
Both are containing (hidden) Folders named .thunderbird .
This sda7 was the former Location/Drive/Partition where i placed (hidden) Folder .thunderbird before on another Laptop using Thunderbird.
Sdb1 is the Location where i store my normal/non-portable Thunderbird now on this Laptop where i actually performing all those Tasks i am describing now.
Bit confusing i have to admit .......try to resume .

Inside Folder Thunderbird-60.5.1-i686-portable.gz.extracted somehow a Folder mnt was created after Thunderbirds first run....with Folders and Sub-Folders mentioned above .
Dont really expect an explanation .

Did this mnt Folder appear for you also ..?

Everything is working fine after reboot ....
Back to top
View user's profile Send private message 
backi

Joined: 27 Feb 2011
Posts: 1726
Location: GERMANY

PostPosted: Wed 20 Feb 2019, 18:47    Post subject:  

UPDATE :

Copied the whole portable Thunderbird (from Experiment above ) which included also this mysterious Folder mnt..... with its Subfolder described above to an Usb Stick where i have installed Xenial Dog ..
Booted with this Stick ....but when starting tb ....."Your thunderbird Profile cannot be loaded . It is may be missing or inaccessible ."

So i am asking myself .....just transfering Profile from static Thunderbird to portable Thunderbird will work? .
In my case it did work on the same Drive......but when copying this Thunderbird portable to another Usb-Stick and using it from there (on the same Machine ) did not work in my Case .
Using Thunderbird portable without Profile "Transplant" on another Stick......no problem.
What is your Experience ?
Back to top
View user's profile Send private message 
Mike Walsh


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

PostPosted: Wed 20 Feb 2019, 19:55    Post subject:  

@ backi:-

I had that exact same problem with 'missing or inaccessible profile' last week, when I was setting up a second Puppy on the ancient Dell lappie. In this case, the problem was with Firefox, but FF and TB both use pretty much the same internals.

Take a look in /root/.cache; in my case, I'd got a dead thunderbird sym-link, hanging around in there somewhere.....I sym-link a lot of stuff remotely. (Shows as an orange triangle with an exclamation mark ("!")) Deleting that was all it took to get things working again as they should.

You may actually need to delete the existing 'thunderbird' directory in /root/.cache. I'm thinking the two are interfering with each other.....the more so if you copied the thunderbird stuff from that Puppy into the 'portable' version's 'profile' directory. Thunderbird will be finding two identical sets of data, in two different locations, both with the same 'profile identifier'.....and it's getting confused.

Make sure you have a back-up copy of your Thunderbird profile before you try this.


Mike. Wink

_________________
MY 'PUPPY' PACKAGES

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

Joined: 18 Jul 2012
Posts: 1327

PostPosted: Wed 20 Feb 2019, 19:58    Post subject:  

fredx181 wrote:
@All, for info:

If you have thunderbird setup on your system the standard way (account made, mails in inbox, sent etc..) then you can synchronize it with Mike's portable.
- Open with rox (or other filemanager) the (hidden) folder ~/.thunderbird/xxxxxxxx.default (in my case it's 8ot2tkkn.default , see pic)
- Create in the extracted portable directory (where the tb script is located, e.g. thunderbird32) a folder named profile
(if it already exists, it's OK, but better make it empty by removing the files inside)
- Open it with rox (or other filemanager), place next to the ~/.thunderbird/xxxxxxxx.default folder (see pic)
- Select all files in the ~/.thunderbird/xxxxxxxx.default folder
- Drag and drop them to the profile folder (use copy)
Then, after copying is done, when you run the portable thunderbird (tb script) it should have all included (same as your standard thunderbird setup)

Fred


I set this up following these instructions, with a /sda2/StretchLinked/thunderbird64 folder with the .../profile folder inside of it.

When I try to run the tb script I get this.

Quote:
root@ChromeDog64:/live/image/StretchLinked/thunderbird64# ./tb
XPCOMGlueLoad error for file /mnt/sda2/StretchLinked/thunderbird64/libmozgtk.so:
libmirclient.so.9: cannot open shared object file: No such file or directory
Couldn't load XPCOM.


But when I run ./thunderbird, it works and contains my past emails.

Am I missing something?
Back to top
View user's profile Send private message 
Mike Walsh


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

PostPosted: Wed 20 Feb 2019, 21:13    Post subject:  

Now, then:-

Just made a fantastic discovery!

If (like me) you've been a long-term user of the 'FireTray' extension for ThunderBird - which allows minimising T-Bird to an icon in the 'notification area', along with an indication of new mail having arrived - then you'll have been bemoaning the fact that, due to the shift from 'legacy' extensions to the new Web-extensions API, the old FireTray has ceased to work.

Which is bloody annoying.....and is the main reason why, although TB60 runs in all my Pups (except for very old ones, that is), I've been sticking with TB52, being the very final release where FireTray still worked.

There is now a 'fix'.....and you can get FireTray working with TB60. Yay!

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

I was doing a wee bit of research into the current state-of-play of this extension, which led me to this thread on the Mozilla forums. Reading down through the thread, there's a post from aamadis, where he/she mentions 'BirdTray' (tried it, didn't like it.....needs Qt5 installed for it to work, and y'all know my views on Qt5 by now!); and also mentions an 'update' for FireTray. This leads to this page over at Github, which in turn leads you to this page.....where you can download the .xpi file for version 0.6.2 of FireTray, that'll work with TB60.

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

Download the file to a safe location. Fire up TB60. Go into Menu (the 'hamburger' symbol, top right)->Addons->Extensions. Look up the top for the wee box with a gear symbol. Use the drop-down to select 'Install from file'. Click on this, then navigate to where you saved the 0.6.2 .xpi file, then OK it.You'll get the older-style Addons Installer window come up (TB still uses this); just follow it through to OK and install the extension.

Then you'll need to re-start Thunderbird. When she fires up, if you're using your same profile from previous versions of TB, in the notification area you will get a brand, spanking-new up-to-date FireTray icon.....with all the functionality of the old one, including maximising/minimising TB itself, and indications for new mail.

It needs libappindicator3 to work, but so did the old one. If you've previously had FireTray working, this will too. Most Pups appear to have this by default, anyway.

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

If you've not used FireTray before, then set the 'Windows' tab of FireTray's preferences to look like this:-





This will give the icon the maximise/minimise ability.....and new mails will be obvious from the change in the icon.To get a message window come up, lower right of the screen, detailing new e-mails when you click the icon, you'll need to go into Preferences->'General' tab, and tick the checkbox for 'When new messages arrive : Show an alert'. This enables the notification window.

To get the main window to open from the 'notification window', just hover over the message title itself, which will turn blue; click, and the account window for that account will open, listing all your emails.

Hope that'll make some of you happy again.....! It certainly has me, 'cos I've always reckoned this to be one of the most useful Thunderbird extensions ever released. Long may it continue to run.


Mike. Wink

_________________
MY 'PUPPY' PACKAGES


Last edited by Mike Walsh on Thu 21 Feb 2019, 06:57; edited 1 time in total
Back to top
View user's profile Send private message 
Mike Walsh


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

PostPosted: Wed 20 Feb 2019, 21:31    Post subject:  

@ Dan:-

dancytron wrote:
I set this up following these instructions, with a /sda2/StretchLinked/thunderbird64 folder with the .../profile folder inside of it.

When I try to run the tb script I get this.

Quote:

root@ChromeDog64:/live/image/StretchLinked/thunderbird64# ./tb
XPCOMGlueLoad error for file /mnt/sda2/StretchLinked/thunderbird64/libmozgtk.so:
libmirclient.so.9: cannot open shared object file: No such file or directory
Couldn't load XPCOM.



But when I run ./thunderbird, it works and contains my past emails.

Am I missing something?


Mm. 'Libmirclient', huh? That's a new one on me. Sounds like it must be something to do with the ill-fated Mir display server Canonical spent so much time & effort trying to bring to release.....and which was ultimately dropped like a lead balloon when they realised nobody was the slightest bit interested in supporting it.

Maybe this will help?


Mike. Wink

_________________
MY 'PUPPY' PACKAGES

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


Joined: 11 Dec 2013
Posts: 4041
Location: holland

PostPosted: Thu 21 Feb 2019, 03:28    Post subject:  

dancytron wrote:
But when I run ./thunderbird, it works

That says that the dependencies are installed on your system, but the portable setup doesn't work.
I could reproduce this on Debian Stretch 64-bit and found that it's because of libgdk-3.so.0.1800.9 in the extralibs folder

Code:
ldd ./libgdk-3.so.0.1800.9 | grep 'not found'
   libmirclient.so.9 => not found

One solution is to rename (or remove) the extralibs folder and then it should work OK.

Btw, no such problem with the 32-bit portable.

Fred

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
backi

Joined: 27 Feb 2011
Posts: 1726
Location: GERMANY

PostPosted: Thu 21 Feb 2019, 04:22    Post subject:  

deleted
Last edited by backi on Thu 21 Feb 2019, 09:44; edited 1 time in total
Back to top
View user's profile Send private message 
Mike Walsh


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

PostPosted: Thu 21 Feb 2019, 07:40    Post subject:  

@ backi:-

I think where you're going wrong is in the initial 'copying' phase.

From the sound of things, you haven't even 'moved' the thunderbird32 directory to a different location before copying stuff over; it's still inside the '...tar.gz.extracted' directory when you do this. You really ought to move it to its intended location before you even start copying.

Be that as it may, I've had no problems whatsoever (after copying the profile across) with running this from a remotely-mounted partition; I'm currently 'sharing' this between around 8 Puppies, and it's working fine in all of them.

One other thing; '...keeps all my downloaded Mails from Server'. Out of curiosity, are you running IMAP, or POP3? In other words, do you keep your emails 'in the cloud'.....or are you of the older 'school of thought' that likes to download and keep all your emails locally? Not that it should make a scrap of difference, since Thunderbird should work equally well with either setup.....but since I've never used the POP3 method, I don't know whether there's any extra directories created locally that need to be linked to.

Perhaps this is where things are going wrong for you? Can't say with any degree of certainty.....

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

@ Fred:-

With regard to Dan's 'libmirclient' issue. I know libgdk/libgtk-3.0 are running at later versions in newer Pups; the ones I included in the 'extralibs' directory are the older 'Precise' versions that I originally posted the GTK3 .pet for (~400.4). D'you think I should remove these, and leave people with the advice to make sure they have the 'correct' issue for their particular Pup instead? It's possible there's a conflict arising here between different versions.....


Mike. Wink

_________________
MY 'PUPPY' PACKAGES

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

Joined: 27 Feb 2011
Posts: 1726
Location: GERMANY

PostPosted: Thu 21 Feb 2019, 08:19    Post subject:  

Hi Mike !
Seems your Diagnosis is correct.

Regarding IMAP or POP3 .......do it older 'school of thought' that likes to download and keep all your emails locally .
Thanks !
Back to top
View user's profile Send private message 
backi

Joined: 27 Feb 2011
Posts: 1726
Location: GERMANY

PostPosted: Thu 21 Feb 2019, 09:35    Post subject:  

Now works with Fred`s and Mike`s Advice.
What caused me Trouble where some old Settings from Edit> Account Settings>Server Settings >Local Directory (at the Bottom)--- from my former Machine .
Did created a new Folder in thunderbird32/profile/Imap Mail/MYNEWFOLDER and pointed to it in Server Settings.
Now is doing fine .
Very Cool Laughing Laughing Laughing Very Happy Very Happy

P.S:
Add-on GcontactSync no longer works in new Thunderbird ....what a fuck...

See you later !
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [24 Posts]   Goto page: 1, 2 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.1057s ][ Queries: 12 (0.0122s) ][ GZIP on ]