Skip to main content
  1. Archives/

File meta data and location of notes saved in notes tab of Nautilus

··304 words·2 mins·
Tips & How-To's Commands Linux Nautilus Tutorials

I spend quite a lot of time on Super User( my repis a testament to that I guess ;) ) - both on the site as well as the mindblowingly awesome chat (if you haven’t been here, you *must* drop by).

Today a user dropped by and asked a very nice question - which went like -

I have some files that have some text in the notes fields(the tab where you put notes in the properties dialog box)… so can I output those texts with using the ls command.

Now me being a KDE user I had noticed this but never paid much attention. This piqued my interest, and I fired a quick search on “notes in gnome file properties” - this returned few results, all of them corroborating that the meta data is stored in an XML file in ~/.nautilus/metafiles. So I told him about the location. He replies stating that the path does not exist and ~/.nautilus is empty. Now that prompted me to get off my Windows partition and boot into Gnome ( probably the second time that I’ve booted into it after installing Ubuntu - as I said above I’m more of a KDE guy :-) ) and find out for myself where this is.

First thing I did run a system wide find for metafiles folder:

find / -iname metafiles

That didn’t return anything, so I went back to the big G and searched deeper, to find this launchpad answer :

This is handled in gvfs now, and the information is stored in ~/.local/shared/gvfs-metadata

And indeed, it was

Unfortunately, given the data stored against it, I don’t think it would be possible to parse out the Notes data (The note I had saved was “where will this note be saved?”).

Just another thing you learn every day :)

Sathyajith Bhat
Author
Sathyajith Bhat
Author, AWS Container Hero and DevOps Specialist.

Related

[How To]Setup a BSNL DataOne BroadBand connection or a DSL Connection in Linux
··431 words·3 mins
Tips & How-To's Commands Linux Tutorials
Remember that all these assumes that your router is connected to the LAN port, if it’s connected to the USB port, then disconnect it and connect to the LAN port. If you dont have a LAN card, then consider getting one. It’s cheap, costs around Rs. 200. Next, it’s best to have the router configured in pppoe mode. In this case you just have to switch on the router, the router and DHCP will take care of the rest.
Five tips for a more efficient Linux desktop | Five Tips | TechRepublic.com
··130 words·1 min
Linked Commands Cover Find Linux Open Source Tips Tips-and-Howto's Tutorials
1: The pager I am always shocked at how few people actually use the Linux pager. It’s been around forever and has always served the same functionality — it offers the user multiple desktops to keep the desktop better organized. I employ the pager like this: With four workspaces, I dedicate each workspace to a different use. My layout looks like this: Desktop 1 is for networking tools. Desktop 2 is for writing/office tools.
Make Use of PeerGuardian 2’s IP Filter in KTorrent
··131 words·1 min
Tips & How-To's Linux Tutorials
PeerGuardian 2, is an awesome IP filtering software. Though its FOSS, it there isn’t a Linux port of it yet. But don’t worry, if you’re using KTorrent, you can make use of PeerGuardian’s filters. Let me show how you can do so. Launch KTorrent. Click on On Settings -> Configure KTorrent . Click on Plugins and ensure that IP FIlter is checked Now Click on Apply. Next on the sidebar, scroll down and click on IP Filter.