I was looking in my "Recent" places in Nautilus and saw a folder named .
.
My understanding is that a folder of the name .
represents the current directory and is not an actual folder. I checked the properties of this folder:
There don't seem to be hidden characters in the name (like space-dot-space). The folder is in /usr/local/bin
and has 4,728 items in it.
In fact /usr/local/bin
has 16,512 items in it, so it can't be that (ie. the same folder as it is in).
If I open this folder by double-clicking it, it seems to be really arduino-1.6.9
(ie. its name isn't really .
).
If I do ls -la
of /usr/local/bin
I see (amongst other things):
nick:/usr/local/bin$ ls -la
total 156928
drwxrwxr-x 7 root nick 4096 Oct 5 14:55 .
drwxr-xr-x 11 root root 4096 Apr 10 2015 ..
drwxr-xr-x 11 nick nick 4096 May 10 19:18 arduino-1.6.9
My question is: how come the folder /usr/local/bin/arduino-1.6.9
is showing up in the "Recent" list as .
?
This is Ubuntu 14.04 LTS 64-bit.
Can you find the reference to /usr/local/bin there and tell us what it says ?
There seem to be a few entries along these lines:
<bookmark href="file:///usr/local/bin/arduino-1.6.9/." added="2016-10-10T19:50:11Z" modified="2016-10-10T19:50:11Z" visited="2016-10-10T19:50:11Z">
<info>
<metadata owner="http://freedesktop.org">
<mime:mime-type type="text/plain"/>
<bookmark:groups>
<bookmark:group>geany</bookmark:group>
</bookmark:groups>
<bookmark:applications>
<bookmark:application name="geany" exec="'geany %u'" modified="2016-10-10T19:50:11Z" count="1"/>
</bookmark:applications>
</metadata>
</info>
</bookmark>
~/.local/share/recently-used.xbel
file ? That's where recently stored files are saved. Can you find the reference to/usr/local/bin
there and tell us what it says ? – Sergiy Kolodyazhnyy Oct 12 '16 at 6:49/.
part and show the next level up. – Nick Gammon Oct 12 '16 at 7:12/.
part ) More important question is why did it appear on the recent list, because it's not supposed to. It also shows that it came fromgeany
IDE, so my guess is that you tried to open that folder in geany, and it reported it as recent file – Sergiy Kolodyazhnyy Oct 12 '16 at 7:28.
was a recent folder. You may as well say that of every folder. – Nick Gammon Oct 12 '16 at 7:37.
in Nautilus, and I get/usr/local/bin
then surely that is the name that should appear on the folder? (Or maybe justbin
) – Nick Gammon Oct 12 '16 at 7:40