DEV Community

Rohan Rajpal
Rohan Rajpal

Posted on

Get desktop apps like Whatsapp, Notion on linux

It's sad that Notion and Whatsapp dont have desktop apps like linux. I use them a lot and having separate apps for them is definitely a plus.

There are workarounds which package these apps and make em work on Linux, but then updating them is a headache.

When trying to find a solution, luckily I came across this answer which solved all of my problems.

Steps

  1. Make sure you have a chromium based browser
  2. Go ahead and make a desktop file 2.1 vim ~/.local/share/applications/whatsapp.desktop
  3. Copy and paste the configuration below
#!/usr/bin/env xdg-open
[Desktop Entry]
Name=WhatsApp
GenericName=WhatsApp
Comment=WhatsApp desktop webapp
Exec=/usr/bin/google-chrome-stable --app=https://web.whatsapp.com/
Terminal=false
Type=Application
StartupNotify=true
MimeType=text/plain;
Categories=Network;Application;
Keywords=WhatsApp;webapp;
X-Ubuntu-Gettext-Domain=WhatsApp
StartupWMClass=web.whatsapp.com
Enter fullscreen mode Exit fullscreen mode
  1. Just make sure the Exec section has the chromium based browser you use. For vivaldi it was /usr/bin/vivaldi-stable for me. To find the path, just type which chrome in your terminal.
  2. Save it and that's it! Just

Here's the Notion desktop file I use

#!/usr/bin/env xdg-open
[Desktop Entry]
Name=Notion
GenericName=Notion
Comment=Notion desktop webapp
Exec=/usr/bin/vivaldi-stable --app=https://www.notion.so
Terminal=false
Type=Application
StartupNotify=true
MimeType=text/plain;
Categories=Network;Application;
Keywords=Notion;webapp;
X-Ubuntu-Gettext-Domain=WhatsApp
StartupWMClass=notion.so
Enter fullscreen mode Exit fullscreen mode

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

Top comments (0)

Eliminate Context Switching and Maximize Productivity

Pieces.app

Pieces Copilot is your personalized workflow assistant, working alongside your favorite apps. Ask questions about entire repositories, generate contextualized code, save and reuse useful snippets, and streamline your development process.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay