open-uri: Extract logic to launch an application with an URI to a function
open-uri: Extract logic to launch an application with an URI to a function

This will be useful to call it from handle_open_uri(), when determined
that there's no need to show the chooser dialog.

matthiasclasen/xdg-desktop-portal,flatpak/xdg-desktop-portal,matthiasclasen/xdg-desktop-portal,matthiasclasen/xdg-desktop-portal,flatpak/xdg-desktop-portal,matthiasclasen/xdg-desktop-portal,flatpak/xdg-desktop-portal,matthiasclasen/xdg-desktop-portal,flatpak/xdg-desktop-portal