1607 shaares
1 lien privé
1 lien privé
1 résultat
taggé
xdg-open
les médias d'un individu n'affichent plus lors d'un clic droit
xdg-open {file | URL}
Delete the file /usr/share/applications/wslview.desktop.
I hit this too on a fresh Ubuntu 22.04.1 LTS release.
I deleted the file /usr/share/applications/wslview.desktop and xdg-open started to work as expected.
I don't know what exactly happens but it seems that the wslview.desktop launcher is meant for using Ubuntu in Windows WSL. But for some reason it's launched for every xdg-open invocation. When it's removed, xdg-open will use another launcher associated with the URL, the correct one.
xdg-open command in Linux with Examples
https://www.geeksforgeeks.org/xdg-open-command-in-linux-with-examples/