Troubleshooting URL opening
from iturnedintoanewt@lemmy.world to linux@lemmy.ml on 18 Sep 02:57
https://lemmy.world/post/36084459

Hi guys! So a few weeks ago I installed ‘WinApps’, which allows for running any windows app in Linux…through an RDP viewport. For almost any app, it really feels like its running natively within your Linux DE, and it really is awesome.

Anyway, I think during the app setup, it kinda associated any/all URL links to be opened by Firefox…the one running within Windows! So whenever I click on an URL, it spins up the VM, or if already running, it opens a WINDOWS Firefox. I tried changing the default in my KDE settgins - Default Applications - Web Browser: Mozilla Firefox (the Linux one!). So the behavior now when I click on any URL is…to open a blank Linux Firefox window. It ignores the clicked link and it doesn’t open anything else. What can I do to associate the URLs with Firefox?

Thanks!

#linux

threaded - newest

just_another_person@lemmy.world on 18 Sep 03:10 next collapse

xdg-open is responsible for handling those. You just need to change what it thinks the default might be: reddit.com/…/setting_default_browser_for_opening_…

lukecooperatus@lemmy.ml on 18 Sep 06:45 collapse

This sounds like a perfect use-case for setting Junction as your default “browser”: flathub.org/en/apps/re.sonny.Junction

It shows a dialog when you open a URL, allowing you to specify which browser you want to use each time.

<img alt="browser selection popup" src="https://lemmy.ml/api/v3/image_proxy?url=https%3A%2F%2Fdl.flathub.org%2Fmedia%2Fre%2Fsonny%2FJunction%2Fee654aee557bedd02c982ff0a6fbb873%2Fscreenshots%2Fimage-1_orig.webp">

In theory, you could then open links in your host OS browser usually, but still be able to select the VM browser easily sometimes.