Tutorial - Linux Installation Guide

Support topics for the mail/news/chat client
Denton the bear

Tutorial - Linux Installation Guide

Unread post by Denton the bear » 2016-01-01, 10:53

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/
Last edited by Denton the bear on 2016-01-01, 11:52, edited 3 times in total.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35404
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Tutorial - Linux Installation Guide

Unread post by Moonchild » 2016-01-01, 11:23

I think your update method is wrong -- removing thunderbird and changing ownership/permissions for /opt/firefox? ;)
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

Denton the bear

Re: Tutorial - Linux Installation Guide

Unread post by Denton the bear » 2016-01-01, 11:33

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.

CrazyElf

Re: Tutorial - Linux Installation Guide

Unread post by CrazyElf » 2016-11-21, 05:11

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.

etech3

Re: Tutorial - Linux Installation Guide

Unread post by etech3 » 2017-03-14, 20:32

Is there an updated version to follow for installing FossaMail? I want to setup and test on Devuan with Mate.
Thanks

kovacslt

Re: Tutorial - Linux Installation Guide

Unread post by kovacslt » 2017-03-16, 06:00

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

etech3

Re: Tutorial - Linux Installation Guide

Unread post by etech3 » 2017-03-18, 05:43

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...

kovacslt

Re: Tutorial - Linux Installation Guide

Unread post by kovacslt » 2017-03-21, 10:17

Hi,

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

Locked