I have referred this link: How to open Nautilus at current command line directory?
but ever since I upgraded to 17.10, running nautilus .
, when I am already in a particular directory using cd
in the terminal, gives me the following message.
sys:1: PyGIWarning: Nautilus was imported without specifying a version first. Use gi.require_version('Nautilus', '3.0') before import to ensure that the right version gets loaded.
Initializing nautilus-dropbox 2015.10.28
How do I fix this?
I am running Ubuntu 17.10 in Xorg mode
To open Nautilus from the current directory use:
To open with a given file selected use:
If the file name has spaces enclose it in double quotes (
"
).Warning messages will appear
Nautilus, gedit and other apps are all based on Gnome Took Kit (GTK) and it is infamous for giving warning messages. 99% of the time you can ignore them. Does
nautilus
open ok with the current directory displayed? That is the only question. For Ubuntu 16.04.3 LTS withxorg
there are lots of warnings:Once again Nautilus works fine and these annoying warning messages are simply part of the Gnome back bone history of Ubuntu and other Linux distributions.
The command
nautilus
takes as parameter the path to open, so if you want to open the current directory, you have to typeThe
.
standing for current directory