Here's a more robust script in Python. It handles multiple files, prefers the [InternetShortcut] section over [DEFAULT] no matter where they appear, and uses xdg-open to get the user's default browser.
Here's a more robust script in Python. It handles multiple files, prefers the [InternetShortcut] section over [DEFAULT] no matter where they appear, and uses xdg-open to get the user's default browser.