The existing command "nautilus" is a Gnome file manager, so its not likely to be available on non-gnome distros, so "xdg-open" is likely to be more portable, but is it doing the same thing?

The (expletive deleted useless) nautilus man page doesn't say what it does when run with a file path, does it open that file or open the file manager at the path with the file selected1? In other words does xdg-open do the same thing?

Does it matter since "nautilus" won't work for lots of people anyway but xdg-open probably will?

Footnotes

  1. no I can't try nautilus, it isn't installed on my non-Gnome desktop and the file manager here when run with a file opens itself with the file selected, it does not open the file.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany/pull/3815/c2039460395@github.com>