Page 1 of 1

Tutorial - Linux Installation Guide

Posted: 2016-01-01, 10:53
by Denton the bear
The following guide was written with Ubuntu Linux (using Unity & XFCE desktop managers) in mind, however it should work with other Debian based systems.

If you find any errors or a better way of achieving the same end please private message me so I can alter this post.
-----
Download the latest version of FossaMail from the http://www.fosshub.com/FossaMail.html.

Note: Where you see YOUR_FILENAME_HERE replace it with the name of the file you have downloaded.

Open a terminal and change directory to where you have downloaded the file from Mozilla, then run the following commands:

Code: Select all

sudo tar jxvf YOUR_FILENAME_HERE.tar.bz2 -C /opt/
sudo chown -R root:root /opt/FossaMail/
sudo chmod -R 755 /opt/FossaMail/
cd /usr/bin/
sudo ln -sf /opt/FossaMail/FossaMail FossaMail
To create a global menu entry, in the terminal run the following command:

Code: Select all

gksudo gedit /usr/share/applications/fossamail.desktop
Or to create a user specific menu entry, in the terminal run the following command:

Code: Select all

gksudo gedit /home/%username%/.local/share/applications/fossamail.desktop
Add the following text:

Code: Select all

[Desktop Entry]
Encoding=UTF-8

Name=FossaMail
Comment=Send and receive mail with FossaMail
GenericName=Mail Client
Exec=/opt/FossaMail/FossaMail %u
Terminal=false
X-MultipleArgs=false
Type=Application
Icon=/usr/share/pixmaps/FossaMail.png
Categories=Application;Network;Email;
MimeType=x-scheme-handler/mailto;application/x-xpinstall;
StartupNotify=true
Actions=Compose;Contacts;AddressBook;ProfileManager;

[Desktop Action Compose]
Name=Compose New Message
Exec=./FossaMail -compose
OnlyShowIn=Messaging Menu;Unity; 

[Desktop Action Contacts]
Name=Contacts
Exec=./FossaMail -addressbook
OnlyShowIn=Messaging Menu;Unity;

[Desktop Action AddressBook]
Name=Address Book
Exec=./FossaMail -addressbook
OnlyShowIn=Messaging Menu;Unity;

[Desktop Action ProfileManager]
Name=Profile Manager
Exec=./FossaMail -ProfileManager
OnlyShowIn=Messaging Menu;Unity;
Save and close gedit.

Add the icon for the start menu.

Code: Select all

sudo cp /opt/FossaMail/chrome/icons/default/default256.png /usr/share/pixmaps/FossaMail256.png
In XFCE FossaMail can be found under ApplicationsInternetThunderbird.
In Unity in the Dash type FossaMail.

Updating To The Latest Version

If you already have FossaMail installed using the method above and wish to update to a newer version you will need to undertake the following steps:

Code: Select all

sudo rm -rfv /opt/FossaMail
sudo tar jxvf YOUR_FILENAME_HERE.tar.bz2 -C /opt/
sudo chown -R root:root /opt/FossaMail/
sudo chmod -R 755 /opt/FossaMail/

Re: Tutorial - Linux Installation Guide

Posted: 2016-01-01, 11:23
by Moonchild
I think your update method is wrong -- removing thunderbird and changing ownership/permissions for /opt/firefox? ;)

Re: Tutorial - Linux Installation Guide

Posted: 2016-01-01, 11:33
by Denton the bear
Moonchild wrote:I think your update method is wrong -- removing thunderbird and changing ownership/permissions for /opt/firefox? ;)
Yeah that will be not enough caffeine this morning. I cut the text from my own wiki, then started to notice the mistakes while on my second cup of coffee.

Changes made, again let me know if I am still wrong.

Re: Tutorial - Linux Installation Guide

Posted: 2016-11-21, 05:11
by CrazyElf
For the icon in the ".desktop" file, should it not be:

Icon=/usr/share/pixmaps/FossaMail256.png

I noticed that you copied the file:
sudo cp /opt/FossaMail/chrome/icons/default/default256.png /usr/share/pixmaps/FossaMail256.png

Also, for any Linux Mint 18+ users, be advised if you are using Cinnamon 3+ to type:
gksudo Xed /usr/share/applications/fossamail.desktop

Since Xed replaced gedit.

Re: Tutorial - Linux Installation Guide

Posted: 2017-03-14, 20:32
by etech3
Is there an updated version to follow for installing FossaMail? I want to setup and test on Devuan with Mate.
Thanks

Re: Tutorial - Linux Installation Guide

Posted: 2017-03-16, 06:00
by kovacslt
Would you like to try my repo?
You can find the way to it on PaleMoon-Linux page ( http://linux.palemoon.org/ ).
I packed also FossaMail into .deb packages, and it's really easy to install/remove via apt-get.
Once installed via apt-get, update is done the usual "apt-get update" "apt-get upgrade" way.
It works on Mint 18, Ubuntu 16, and probably all derivatives which use .deb packages.
If anything doesn't work, or misbehaves please let me know...

Kind regards
Laszlo Kovacs

Re: Tutorial - Linux Installation Guide

Posted: 2017-03-18, 05:43
by etech3
kovacslt wrote:Would you like to try my repo?
You can find the way to it on PaleMoon-Linux page ( http://linux.palemoon.org/ ).
I packed also FossaMail into .deb packages, and it's really easy to install/remove via apt-get.
Once installed via apt-get, update is done the usual "apt-get update" "apt-get upgrade" way.
It works on Mint 18, Ubuntu 16, and probably all derivatives which use .deb packages.
If anything doesn't work, or misbehaves please let me know...

Kind regards
Laszlo Kovacs
Thanks Laszlo, install went smooth! Now to test test test...

Re: Tutorial - Linux Installation Guide

Posted: 2017-03-21, 10:17
by kovacslt
Hi,

I'm glad it helped you, you are most welcome! ;)