Today marks the release of Ubuntu Gutsy Gibbon. One brand new feature of gutsy is that tracker, a desktop indexer like google dektop, runs by default. Tracker also supports taxonomy for your files and folders but this feature is not yet integrated into gnome. But wait…you can have it anyway in a few simple steps:
- Install python-nautilus package:
- Download “Tags-Tab”-Extension and move it to .nautilus/python-extensions (you may have to creat this folder)
- Restart Nautilus:
Alt+F2 and type in killall nautilus
Now you can start tagging files and folders. Simply right-click on the item you want to tag, go to the “Tag”-tap and insert your tags.
- Setup Searchfolders
In order to have your tagged items on your hand when ever you need them, simply go to nautilus click on the search button and type:
tag:[tagname]
Then go to File->Save search…
sudo aptitude install python-nautilus
Voila, now you can start reorganizing your desktop with tags. I “implemented” some sort of GTD-System with a “next”-tag for files I want to work on in the next days.
Update 29.10.07: User if this did not work for you, you should try to make both the .py and .pyc files in the
extensions directory executable.
Update 16.02.08: The download link should work again.
This doesn’t work for me. I have downloaded it and put it in .nautilus/python-extensions but nothing happens when I go looking for the tag-tab. How can I troubleshoot this?
Fantastic! I’ve been looking for something like this. Can’t wait to try it.
I’m in Feisty Fawn and it isn’t working for me either. I chmod permissions on the dir and file but no go. Anyone have ideas?
This doesn’t work for me either. I restart nautilus but there’s not tag tab in the properties window.
Doesn’t seem like anyones gotten this to work so far. Are you sure you posted this correctly?
Awesome! This is great, thanks.
For me it worked exactly like that, but I will try to find out why it doesn’t for some people.
I got it to work by making both the .py and .pyc files in the
extensions directory executable.
Maybe need to install python-dev?
What .py and .pyc file, this page only links for an .pyc file?
The python-dev solved my problems. Thanks a lot nullzero!! 🙂
Thanks. Installing python-dev solved my problem too. And, I was currently using gusty.
(1) In my case, the proper directory to install tracker-tags-tab.py into was usr/lib/nautilus/extensions-1.0/python
(2) In order to do this I had to open the terminal and type
sudo nautilus . Without sudo I could not paste the file.
(3) I also installed the python-dev package thru synaptic just in case.
(4) It works! Cool.
(5) Does anyone know how to enable Tracker tagging in Konqueror?
Works for me after installing python-dev. Thanks.
There is a project on google code that allows to organize files with tags. Take a look at http://code.google.com/p/dhtfs/
I have followed the steps outlined here, and (after also installing python-dev) a “Tags” panel has been added to the Properties that I can get by right-clicking on any file in Nautilus.
However, Search is unable to find these tags. Searching, whether directly in Nautilus or through the Tracker Search Tool, fails to come up with anything when I type
tag:[tagname]
What am I doing wrong? or, what else needs to be done?
@steven: Did you typed the [ brackets ? If so try without them: tag:tagname
@brib: yes, I did type without the brackets, and I observed the proper capitalization for the tags, and still… nothing.
@steven: strange. Do you find the files if you just search for the tagname?
@brib: No, the search doesn’t seem to find any of the tags (or other metadata for that matter).
However, I seem to have found a workaround. If I type
> tracker-tag
in the Terminal, I do get a list of all the tags, and of how many files are tagged with each tag. But that doesn’t give me the names of the files. So tracker was finding the tags some way or another, even if a tracker search failed to produce them.
The workaround was to install a program called paperbox. This is a frontend that finds all the tags in tracker and lets me search them.
this works for me for files on my computer’s hard drive but the preferences doesn’t have a tags tab for files on my external (usb) drive.
@tich:
I think trackerd, which is the backend for the tagging, only indexes your home dir, but you can setup more folders in the tracker preferences
I tried this in Ubuntu 7.10 and Nautilus hangs when calling the property pages. Check out the bug-report here: https://bugs.launchpad.net/nautilus-python/+bug/145811
I installed the python files, as well as python-dev. The properties of zipped files and certain other file-types have a Tag tab, but not txt files or media files. Additionally, the tag tab only appears for files on my desktop, not in my home folder or any other folders as far as I can tell. Any suggestions?
for those of you using ubuntu 7.10, just type the tag name into the tracker search field and the item with that tag should show up at the bottom of the search box. ie. type “photos” without the quotes and without “tag:” to see all documents tagged with the word “photos”
can you support xp? i wish xp has tagging feature.
Me = Figured it out.
First, make sure your file is executable.
chmod u+x ~/.nautilus/python-extensions/tracker-tags-tab.py
Then, and this is very important: Make sure the package “python-nautilus” is installed! That is the package name for Ubuntu Hardy. It should be same/similar for all other distros/versions!
Now it is working on mine!
I found out that if the file you try to tag is not being indexed (stated in Tracker Preferences), then the Tag tab is not available when you view the Properties of the file.
Занятный пост, очень интересно было почитать
Удачи вам! Я думаю у вас все получится 🙂
In Ubuntu Intrepid, this python code is causing nautilus to crash when clicking on file “properties”. dmesg displays a segmentation fault:
nautilus[6055]: segfault at 4 ip b594bded sp bff3dc30 error 4 in libpython2.5.so.1.0[b58ed000+110000]
whatever that means… I tried copying the file to either .nautilus/python-extensions or usr/lib/nautilus/extensions-2.0/python and made it executable, both produced the same error. Anyone else having this problem or know of a solution?
yes i have the same problem
the first time i click properties on a fresh login
all nautilus window crash
then the next time the script works and i have a tag tab
in preferences
however tracker wont find the tags but
$traker-tag -l will list them
if i then do a re-index with tracker the tags made with
the python script do work in tracker-search-tool
also if I drag a file from a non tracked folder into a folder tracked
by tracker and the click properties it will not have the tag tab
not untill i log off
FOUND SOULUTOION
tracker would not find the tags that were set by the python script
because i was using a coma and a space to seperate the tags
like this “tag1, tag2, tag3, …..”
this will not work
you must use only commas! like this “tag1,tag2,tag3,…..”
the tracker-tags-tab.py script dosent truncate the spaces in the front
or rear of a tag your entering
just listen to your hard drive writing to the traker.db file
as you change this “tag1,tag2,tag3” to this “tag1, tag2 ,tag3”
dose that help anyone else?
Doesn’t work for me at all… I’m using Ubuntu 8.10. I’ve installed python-dev and python-nautilus, created ~/.nautilus/python-extensions, copied the file there, made both files +x.
First time I log in, every time I click on properties of any file, Nautilus crashes. From then on, all goes normal, but no tag tab…. =/
well I had it working as stated above but now I am having the same
problem as Leonardo C.
also I tried re indexing and lost all my old tags – which isn’t supposed to happen, luckily I had all the .db files from
~/.cache/tracker/ backed up
But still this will be useless if to backed up .db (data base) files wont merge upon re-indexing
i386 ubuntu 8.10
Didn’t work for me on Ubuntu 8.04. Tags tab simply not showing up in preferences dialog. All correct packages are installed, permissions are set correctly on the file. Not sure what else to do.
On Jaunty nautilus also crashes reproducibly when clicking on properties. 😦
Anyone knows any other way to tag files with nautilus?
Finally! After going through all the tips on this page and still getting no result, I got Tag-tab working. My solution was to run Tracker. I have never used it before, so I had to run the indexing tool. No it works just fine. Thanks!
Благодарю за то что просветили, выводы соответствующие обязательно сделаем. 😉
Hello,
has anyone tried the script with lucid (10.04), or later
run? I do not get it to run even though I did everything
was how it was described.
I’ve done it. My Tracker just stopped working.
Did the following:
in the terminal (source: http://wiki.ubuntuusers.de/tracker):
sudo apt-get install tracker-utils
tracker-process-r
Since that’s not enough, I have enabled in software sources, the pre-release updates.
So that my system has now returned to original performance.
Do you mind if I quote a couple of your articles as long as I provide credit and sources back to your blog? My blog site is in the very same niche as yours and my users would genuinely benefit from a lot of the information you present here. Please let me know if this okay with you. Appreciate it!
Bonjour, brilliant ! Indeed assists my analysis on the case
This works for me in Natty, except the tag search function. I get no search results at all. Also when I want to tag a file with a tag already in the list, I can’t just click on the checkbox. It won’t fill in the check box until I create a new tag in the list.
Is there a way to add a tag column in list view? It would be nice to be able to see the tags for each file at a glance.
ветеринарная диетология справочникдиета при хроническом тонзиллитетелепередача что съесть чтобы похудетпосле того как начала заниматься сексом похуделаможно ли когда бросил курить похудетьсанатории по снижению веса в татарстанепри диете перестали идти месячныекакие упражнения для похудения ног5-й стол диетатворожно яблочная диетадиеты чтобы быстро похудетьпохудеть за три дня на 5 кгдиета три дня одновосстановить стул во время диетыдолжностные обязанности диет.сестрыотвар льняного семени для похудениядиета правильное питаниеразговор о правильном питании для родителей в школепохудеть за короткое время без диетдиета 10 кг за месяц
If you would like to get a good deal from this post then you have to apply these methods to your won blog.
Hello, the whole thing is going sound here and ofcourse every
one is sharing facts, that’s genuinely excellent, keep up writing.