Last active
September 7, 2020 17:38
-
-
Save ismisepaul/4418f6ac242967c18a8cb0c96ecdde09 to your computer and use it in GitHub Desktop.
WhatsApp Ubuntu .desktop
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env xdg-open | |
| [Desktop Entry] | |
| #Put this file in /usr/share/applications/ | |
| 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 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36 Edg/85.0.564.44' 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; | |
| #Put the icon under /usr/share/pixmaps | |
| Icon=WhatsApp.png | |
| Categories=Network;Application; | |
| Keywords=WhatsApp;webapp; | |
| X-Ubuntu-Gettext-Domain=WhatsApp | |
| #Get value below - save this file, launch it (WhatsApp), run "xprop WM_CLASS" & click on the window | |
| StartupWMClass=web.whatsapp.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment