Skip to content

Instantly share code, notes, and snippets.

@ruebenramirez
Created September 7, 2016 17:55
Show Gist options
  • Save ruebenramirez/22234da93f08be65125cc45fc386c1cd to your computer and use it in GitHub Desktop.
Save ruebenramirez/22234da93f08be65125cc45fc386c1cd to your computer and use it in GitHub Desktop.
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"
@kguidonimartins
Copy link

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

❤️

@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

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

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

Thanks guy. It works.

@nianik5098
Copy link

great. thanks a lot.

@ulisesm
Copy link

ulisesm commented Aug 7, 2017

Thanks Mate!

@beatrizuezu
Copy link

thanks, your script help me

@hagaalgo
Copy link

Gracias

@BahaDuganov
Copy link

Thank you for this bash script

Copy link

ghost commented Nov 4, 2017

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

@mdeggies
Copy link

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

@alexcochran
Copy link

@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