Open darvelo opened 10 years ago
We already use open
as default for Mac. It's possible to make the same with xdg-open
for linux. Don't you know do other Linux distros use xdg-open
? (like Red Hat for example)
xdg-open is part of a standard developed in part by Red Hat as part of the freedesktop.org project. The first official version of xdg-utils was released in 2006, and is in common use. Here's the Arch linux article for xdg-open. I haven't personally used any Linux besides Debian, but I know xdg-open is at least available on Debian, Ubuntu, Arch, and Fedora. On Debian it was installed by default.
Another vote for xdg-open
usage; my default browser on Ubuntu is Chrome, but this plugin starts Firefox.
For some crazy reason, when running this plugin with the default hotkey I get this message in GNOME:
I get this error sometimes with other things, and according to a poster on the Debian forums:
For this reason I choose to use
xdg-open
from terminal to open urls. It chooses the system- or user-configured default browser, just likeopen
on Mac.If I manually do:
Then it works like a charm. But maybe this could do better with official support? I dunno. In any case, it may help people who have the same mysterious error.