Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
setup franz on ubuntu
#!/bin/bash
sudo rm -fr /opt/franz
sudo rm -fr /usr/share/applications/franz.desktop
# create installation dir
sudo mkdir -p /opt/franz
#install franz
wget -qO- https://github.com/meetfranz/franz-app/releases/download/4.0.4/Franz-linux-x64-4.0.4.tgz | sudo tar xvz -C /opt/franz/
# add app icon
sudo wget "https://cdn-images-1.medium.com/max/360/1*v86tTomtFZIdqzMNpvwIZw.png" -O /opt/franz/franz-icon.png
# configure app for desktop use
sudo bash -c "cat <<EOF > /usr/share/applications/franz.desktop
[Desktop Entry]
Name=Franz
Comment=
Exec=/opt/franz/Franz
Icon=/opt/franz/franz-icon.png
Terminal=false
Type=Application
Categories=Messaging,Internet
EOF"
@0xpantera
Copy link

0xpantera commented Sep 27, 2016

Hey, thanks for making this bash script. Where should you create the installation dir?

@yannbertrand
Copy link

yannbertrand commented Oct 4, 2016

It will create a franz folder inside /opt/, you don't need any installation dir 😉

@yannbertrand
Copy link

yannbertrand commented Oct 4, 2016

It would be great to make an updater script 😄

@benavern
Copy link

benavern commented Oct 25, 2016

+1

@erikdubois
Copy link

erikdubois commented Oct 31, 2016

thanks

Copy link

ghost commented Nov 7, 2016

Good work Bro !

@kguidonimartins
Copy link

kguidonimartins commented Nov 14, 2016

thanks

@andreppires
Copy link

andreppires commented Dec 7, 2016

screenshot from 2016-12-07 16-10-58
I tried my version of Desktop Entry, tried yours. Still don't working. I't does not appear in the menu.I already create Desktop Entries in other situation. But now I'm using fedora 25 with Wayland. It could be because of Wayland? 😕

@brunosan
Copy link

brunosan commented Dec 27, 2016

❤️

@hbjydev
Copy link

hbjydev commented Feb 19, 2017

@andreppires Try doing this: cp /usr/share/applications/franz.desktop /home/andreppires/.local/share/applications/franz.desktop

Works for me.

@RafaBenard
Copy link

RafaBenard commented Feb 27, 2017

Hi, does anyone knows how to create or add an icon to the tray area on KDE 4? It seems like the icon is missing for Kubuntu 14.04

@nishanthoblirajan
Copy link

nishanthoblirajan commented Mar 20, 2017

Thanks man.

@lai32290
Copy link

lai32290 commented Apr 4, 2017

Thanks a lot!!

@Shaglock
Copy link

Shaglock commented Apr 6, 2017

How do I uninstall it?

@tenken
Copy link

tenken commented Apr 12, 2017

Ya anyone know how to uninstall Franz ?

Copy link

ghost commented May 8, 2017

@Shaglock, @tenken
Try:
sudo rm -fr /opt/franz /usr/share/applications/franz.desktop

Copy link

ghost commented Jun 14, 2017

Yo thanks man!

@kjdion84
Copy link

kjdion84 commented Jul 4, 2017

coming from ubuntu gnome user,

+10000000000000000000000000

@tuananh0788
Copy link

tuananh0788 commented Jul 12, 2017

Thanks guy. It works.

@nianik5098
Copy link

nianik5098 commented Jul 21, 2017

great. thanks a lot.

@ulisesm
Copy link

ulisesm commented Aug 7, 2017

Thanks Mate!

@beatrizuezu
Copy link

beatrizuezu commented Sep 16, 2017

thanks, your script help me

@hagaalgo
Copy link

hagaalgo commented Sep 26, 2017

Gracias

@BahaDuganov
Copy link

BahaDuganov commented Oct 24, 2017

Thank you for this bash script

Copy link

ghost commented Nov 4, 2017

Thx a million times!!!!!!!!!!!!!!!!!!!!

@mdeggies
Copy link

mdeggies commented Nov 14, 2017

Looks like we can now directly download the deb and just click to install: https://meetfranz.com/#download

@alexcochran
Copy link

alexcochran commented Nov 18, 2017

@mdeggies I seem to be having issues with that install option and the icon appearing properly in Kubuntu 17.04. I know I can wire up the desktop entry, etc., but it just seems like it should be unnecessary

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