You only need to set the Browser that you are using as the default to handle the Whatsapp action. For example:
For Vivaldi xdg-mime default vivaldi-stable.desktop 'x-scheme-handler/whatsapp'
Or for Chrome xdg-mime default google-chrome.desktop 'x-scheme-handler/whatsapp'
This didn't work. The change was made to the mimeapps.list file but the pop-up continues to appear.
I also believe that determining a default browser would not be the definitive solution, as I use many browsers every day. Ideally, the chat links would open in a new tab of the same browser I'm using, whatever it is.
@baltar , to be brutally honest... That is on you.
You are engaging in an unusual behavior by using multiple different browsers every day.
Your application defaults are a steady thing across your Operating System. Your default file manager, your default text editor... If you cannot settle on a default application, then you cannot use a default application.
It should work - Do you also have Whatsapp installed on your computer as a stand-alone application? If so, then it may be set as the priority default application to launch the whatsapp chat.
A computer is just an unthinking programmed machine. It cannot dynamically recognize and adapt to you changing applications repeatedly throughout the day and do the thinking for you.
I understand your point. I'm new to Linux and I bring this experience from Windows that I used previously.
There I didn't have any application for WhatsApp, whatever browser I was in, when accessing the conversation chats through the links, the system automatically identified that there was no specific application for this function and the browser gave me the option to continue via the web. whatsapp.com in a new tab.
A minha intenção não seria alterar o navegador padrão a todo tempo, mas de alguma forma fazer com que todos os navegadores que uso não busquem um aplicativo para abrir os links do whatsapp, que eles abram por eles mesmo pelo web.whatsapp.com
And again, I'm new to Linux and I can't say if the system can do this.