Skip to content

Instantly share code, notes, and snippets.

@rhemz
Last active April 26, 2021 01:23
Show Gist options
  • Save rhemz/87b9a8ee53abdd223c19e3460576e6a6 to your computer and use it in GitHub Desktop.
Save rhemz/87b9a8ee53abdd223c19e3460576e6a6 to your computer and use it in GitHub Desktop.
whatsapp desktop linux
cat /usr/share/applications/whatsapp-webapp.desktop
#!/usr/bin/env xdg-open
[Desktop Entry]
Name=WhatsApp
GenericName=WhatsApp
Comment=WhatsApp desktop webapp
#Exec=webapp-container --store-session-cookies --webappUrlPatterns=https?://*.whatsapp.com/* --user-agent-string='Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36' https://web.whatsapp.com %u
Exec=/opt/google/chrome/google-chrome --app=https://web.whatsapp.com/
Terminal=false
Type=Application
StartupNotify=true
MimeType=text/plain;
# If you want icon, type path of icon
# Icon=
Categories=Network;Application;
Keywords=WhatsApp;webapp;
X-Ubuntu-Gettext-Domain=WhatsApp
StartupWMClass=web.whatsapp.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment