Skip to content

Instantly share code, notes, and snippets.

@ruebenramirez
Created September 7, 2016 17:55
Show Gist options
  • Select an option

  • Save ruebenramirez/22234da93f08be65125cc45fc386c1cd to your computer and use it in GitHub Desktop.

Select an option

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"
@0xpantera
Copy link
Copy Markdown

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

@yannbertrand
Copy link
Copy Markdown

yannbertrand commented Oct 4, 2016

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

@yannbertrand
Copy link
Copy Markdown

It would be great to make an updater script 😄

@benavern
Copy link
Copy Markdown

+1

@erikdubois
Copy link
Copy Markdown

thanks

Copy link
Copy Markdown

ghost commented Nov 7, 2016

Good work Bro !

@kguidonimartins
Copy link
Copy Markdown

thanks

@andreppires
Copy link
Copy Markdown

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
Copy Markdown

❤️

@hbjydev
Copy link
Copy Markdown

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
Copy Markdown

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
Copy Markdown

Thanks man.

@lai32290
Copy link
Copy Markdown

lai32290 commented Apr 4, 2017

Thanks a lot!!

@Shaglock
Copy link
Copy Markdown

Shaglock commented Apr 6, 2017

How do I uninstall it?

@tenken
Copy link
Copy Markdown

tenken commented Apr 12, 2017

Ya anyone know how to uninstall Franz ?

Copy link
Copy Markdown

ghost commented May 8, 2017

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

Copy link
Copy Markdown

ghost commented Jun 14, 2017

Yo thanks man!

@kjdion84
Copy link
Copy Markdown

kjdion84 commented Jul 4, 2017

coming from ubuntu gnome user,

+10000000000000000000000000

@tuananh0788
Copy link
Copy Markdown

Thanks guy. It works.

@nianik5098
Copy link
Copy Markdown

great. thanks a lot.

@ulisesm
Copy link
Copy Markdown

ulisesm commented Aug 7, 2017

Thanks Mate!

@beatrizuezu
Copy link
Copy Markdown

thanks, your script help me

@hagaalgo
Copy link
Copy Markdown

Gracias

@BahaDuganov
Copy link
Copy Markdown

Thank you for this bash script

Copy link
Copy Markdown

ghost commented Nov 4, 2017

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

@mdeggies
Copy link
Copy Markdown

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

@alexcochran
Copy link
Copy Markdown

@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