Skip to content

Instantly share code, notes, and snippets.

@chris-jamieson
Created April 19, 2016 15:43
Show Gist options
  • Save chris-jamieson/756728b3ba7c07d7a90f843400af37bb to your computer and use it in GitHub Desktop.
Save chris-jamieson/756728b3ba7c07d7a90f843400af37bb to your computer and use it in GitHub Desktop.
Set up Franz for Ubuntu
  • Download Franz for your distribution from MeetFranz.com
  • change into the same directory as the downloaded file, then sudo tar -xf Franz-linux-x64-0.9.10.tgz -C /opt/franz
  • (optional) wget "https://cdn-images-1.medium.com/max/360/1*v86tTomtFZIdqzMNpvwIZw.png" -O franz-icon.png then sudo cp franz-icon.png /opt/franz
  • (optional) sudo touch /usr/share/applications/franz.desktop then sudo vim /usr/share/applications/franz.desktop

paste the following lines into the file, then save the file:

[Desktop Entry]
Name=Franz
Comment=
Exec=/opt/franz/Franz
Icon=/opt/franz/franz-icon.png
Terminal=false
Type=Application
Categories=Messaging,Internet
@ruebenramirez
Copy link

Thanks for this! I created a shell script from your notes! https://gist.github.com/ruebenramirez/22234da93f08be65125cc45fc386c1cd

@ninhnv-runsystem
Copy link

Dont need to create a launcher. Just open Franz. Right click Franz and select Lock to launcher

@RicardoEPRodrigues
Copy link

@ninhnv-runsystem that doesn't work on all Ubuntu distributions. For example Ubuntu Gnome does not have that feature out-of-the-box.

@erikdubois
Copy link

erikdubois commented Oct 31, 2016

Can you change your icon line in order not the use a hardcoded link.

Icon=/opt/franz/franz-icon.png
to
Icon=franz

Icon themes like Moka, Numix, Sardi and Surfn will use their own icon. If using a hardcoded link, the icon theme gets broken.
Thanks in advance. The system will provide an icon if you put it in /usr/share/icons/hicolor.

More info about hardcoded icons on github of foggalong - hardcodefixer
Foggalong/hardcode-fixer#258

@bennuttall
Copy link

Don't you need to sudo mkdir /opt/franz first?

What's the recommended way of launching Franz once these instructions are performed?

@bennuttall
Copy link

And isn't it tar xzf as it's a gzipped tarball?

@doubleh-rh
Copy link

Thank you for this!

@jjaone
Copy link

jjaone commented Jan 8, 2017

Installing Franz-linux-x64-4.0.4 to Ubuntu 16.04 LTS fails with core dump:
`
experimancer@linuxhost:~/Downloads/Franz-linux-x64-4.0.4$ ./Franz
auto enable launch
[18689:0108/180634:FATAL:nss_util.cc(214)] nss_error=-5925, os_error=0
#0 0x000001e04a2e
#1 0x000001e1a63b
#2 0x000001bbf8b4
#3 0x00000077e5ab
#4 0x0000007d0d7e
#5 0x00000077f944
#6 0x000003451368 atom::AtomCertVerifier::AtomCertVerifier()
#7 0x00000343d2dc atom::AtomBrowserContext::CreateCertVerifier()
#8 0x0000034d1c82 brightray::URLRequestContextGetter::GetURLRequestContext()
#9 0x000002634f2c
#10 0x0000029478c1
#11 0x000001e05716
#12 0x000001e20905
#13 0x000001e20bf8
#14 0x000001e2104b
#15 0x000001df9e59
#16 0x000001e394be
#17 0x000001e200fa
#18 0x000002667936
#19 0x000002667b3e
#20 0x000001e58b88
#21 0x000001e55113
#22 0x7fc572f426ba start_thread
#23 0x7fc56c9d082d clone

Aborted (core dumped)
`

@sandeep246
Copy link

when trying to install terminal showing no such file or directory

@anandsimer
Copy link

@sandeep246 is it referring to /opt/franz or franz tar file? In case it is /opt/franz, you will have to create the directory before running the command.
Try below steps:

Open terminal at location where the franz tar file is downloaded or cd to that directory.
then run following:
sudo mkdir /opt/franz

Substitute the downloaded franz tar name in below command.

sudo tar -xvzf <franz-linux-xx-x.x.x.tgz> -C /opt/franz

wget "https://cdn-images-1.medium.com/max/360/1*v86tTomtFZIdqzMNpvwIZw.png" -O franz-icon.png
sudo cp franz-icon.png /opt/franz/
sudo touch /usr/share/applications/franz.desktop
sudo vim /usr/share/applications/franz.desktop

then paste below, in above franz.desktop file and save it.

[Desktop Entry]
Name=Franz
Comment=
Exec=/opt/franz/Franz
Icon=/opt/franz/franz-icon.png
Terminal=false
Type=Application
Categories=Messaging,Internet

@N0Klu3
Copy link

N0Klu3 commented Feb 7, 2017

I installed Franz messenger via the last comment.

Its installed and working but keeps using over 100% CPU.
1768 savellm 20 0 1581140 113316 72904 R 105.0 0.7 12:24.70 Franz
That's from 'top'

Did I install this correctly? And is there any way to fix it, as I'm pretty sure it shouldn't use all that CPU.

Thanks

@alaxandra
Copy link

Hi,

I am unable to install following your instructions. First off, I am not able to sudo mkdir /opt/franz, apparently I do not have permissions.
I have tried creating the new directory using the visual file explorer, and also I have tried assigning broader permissions but without success.
Any advice?

Please consider me a complete beginner.

Thank you,
Alexandra

@RafaBenard
Copy link

@alaxandra, you might want to rm -rf /opt/franz first in order to run it clean and avoid issues.

@daronwolff
Copy link

Thank you very much! Very useful! 👍

@bruvers
Copy link

bruvers commented Mar 22, 2017

The current Franz version ships with an icon so the desktop file Icon line can be changed to this Icon=/opt/franz/resources/app.asar.unpacked/assets/franz.svg

@a-metta
Copy link

a-metta commented Apr 16, 2017

is anyone else experiencing franz opening and then having an entry on the launcher in ubuntu without an icon or name?

@skyway22
Copy link

skyway22 commented Apr 25, 2017

^ properly edit the .desktop file

@Tomasz-Silpion
Copy link

Don't forget to mkdir /opt/franz

@hamzajavedan
Copy link

hamzajavedan commented Jun 14, 2017

UPDATE: Don't know what just happened. I just ran the installer again completely dejected and Franz is up and running now :/

I followed the instructions for Ubuntu 17.04 with Franz-linux-x64-4.0.4, the latest version. Nothing has happened. I was expecting to see a desktop icon but theres nothing there. It feels as thought 17.04 does not support installation of software outside of Ubuntu. Furthermore, nothing happens when I double-click the franz executable file.Any once else experiencing something similar?

Copy link

ghost commented Jun 16, 2017

Thank you!

@mockshox
Copy link

Why there are no repos for major Linux distributions?

@Antuanego
Copy link

Please, let me know, how can i completely remove Franz from my Ubuntu 16.04?

@Enigma10
Copy link

This is what I did to uninstall franz from my Ubuntu.

  • cd /opt To set current directory as opt
  • sudo rm -r franz To remove franz folder

@WinEntDev
Copy link

I'm having problems signing in to Skype. The first page is showing, but when it's time for page two to enter my password Franz goes completely blank and nothing happens. Anyone else had this problem and found a solution? I'm using Ubuntu 17.04.

@rafaelmbs
Copy link

On my RHEL 7.4, the franz.desktop likes...
[Desktop Entry]
Name=Franz
Comment=
Exec=/opt/franz/Franz
Icon=/opt/franz/franz-icon.png
Terminal=false
Type=Application
Categories=GNOME;GTK;Network;InstantMessaging;

Just fixing categories for my dist.

tks a lot

@tluanga34
Copy link

tluanga34 commented Sep 28, 2017

I found this great application from Youtube video that talks about cool applications in Linux.
Would be great a lot if there is a script file that ships with Franz that install itself to the system.

@cerebrix
Copy link

cerebrix commented Oct 6, 2017

I installed via this method but I appear to be having a problem with restoring from the tray. When I close the app with the close window button. If i go to the tray and select "Show Franz" nothing happens. I can close the app from there, but I am unable to show it. Zorin OS 12.2

@chrisl300
Copy link

Deleting the directory under /opt does not uninstall the program.
Use:
sudo apt-get --purge remove franz

@1outres
Copy link

1outres commented Feb 18, 2018

Thank you, for this.

@denizssch
Copy link

https://gist.github.com/denizssch/b5e264d44900d511bd505888f70b38a3

I've wrote a script for install franz4-bin in Ubuntu and derivates (Debian), this not require to signup/in. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment