rugk
(rugk)
July 7, 2019, 4:32pm
1
Fedora Workstation does have a nice (preinstalled) CLI command called gnome-open
(/usr/bin/gnome-open
). It can open URLs or, what is really useful the file manager (Nautilus). So you can e.g. do gnome-open $PWD
and Nautilus opens with the current dir.
It is basically the “reverse” way of opening a terminal from Nautilus .
Now, how can I get the same in Fedora Silverblue. As it seems gnome-open
is not installed there. Not even in a toolbox container I’ve created.
Install libgnome
. That should give you gnome-open
⬢[returntrip@toolbox ~]$ dnf provides gnome-open
Last metadata expiration check: 0:01:00 ago on Sun 07 Jul 2019 20:28:11 CEST.
libgnome-2.32.1-18.fc30.i686 : GNOME base library
Repo : fedora
Matched from:
Filename : /usr/bin/gnome-open
libgnome-2.32.1-18.fc30.x86_64 : GNOME base library
Repo : fedora
Matched from:
Filename : /usr/bin/gnome-open
1 Like
qulogic
(Elliott Sales de Andrade)
July 8, 2019, 2:01am
3
You should use xdg-open
instead. It’s the cross-desktop version (which I assume, but do not know for sure, may be installed already.)
1 Like
rugk
(rugk)
July 8, 2019, 6:34pm
4
Yes, thanks, it indeed is preinstalled, as also suggested by @refi64 here .
fmuellner
(Florian Müllner)
July 11, 2019, 10:08am
5
gnome-open
has been superseded by gio open
a long time ago (note the 2.32 version of the libgnome package).
xdg-open
is a big wrapper script around the different desktop-specific tools, gio open
in GNOME’s case.
2 Likes