1

I've encountered some websites that have links starting with whatsapp:// but there's no handler for this link.

How do I open these links automatically?

1 Answer 1

1

Create a ~/.local/share/applications/whatsapp.desktop:

[Desktop Entry]
Name=WhatsApp
Exec=google-chrome-stable https://web.whatsapp.com/
Icon=whatsapp
Type=Application
Categories=Network;InstantMessaging;
MimeType=x-scheme-handler/whatsapp;

For firefox, you can use Exec=firefox --new-window https://web.whatsapp.com/ instead.

1
  • Would x-www-browser not work just as well?
    – wizzwizz4
    Commented Oct 1, 2023 at 18:22

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .