Is there a way I can block a folder from Gnome and/or Unity search?

OK, so; I formatted my HDD again, just to start from scratch again. Here's the whole story:

After successfully installing Ubuntu 11.10 i386 on my Lenovo T400 ThinkPad;

  1. Install dependencies (needed for Google Chrome and Gnome Shell)

    sudo apt-get -f install
    
  2. Install Gnome Shell

    sudo apt-get install gnome-shell
    
  3. Install Gnome Tweak Tool

    sudo apt-get install gnome-tweak-tool
    

    Once installed, it should show up as "Advanced Settings" in the menu.

  4. Optional Install Gnome Contacts

    Note: not included in Ubuntu, but somehow shows some contacts in DASH as search results; but won't open anything when clicked, unless you install this.

    sudo apt-get install gnome-contacts
    
  5. Optional Install Gnome Sushi (a MacOS X'-ish spacebar file previewer)

    sudo apt-get install gnome-sushi
    

Here's the important part, as of now, if I dare search "hard"... I'll get a mixed bag from hardware apps to other kind of hard stuff I wouldn't want to be shown in there.

So, let's install Activity Log Manager:

  • Install Activity Log Manager

    sudo add-apt-repository ppa:zeitgeist/ppa
    sudo apt-get update
    sudo apt-get install activity-log-manager
    

After this, I added "the folder" to the "pseudo-blacklist", and no luck. That's because this would only block it out of the Activity Log. Not Dash, and not search.

  • Install Activity Journal

This one is nothing but the GUI for Zeitgeist.

At this point; nothing has happened. Dash still shows whatever I'd browsed before, and whatever I browse now, will show.

  • Remove the "recently used" file, and turn it into a folder (right?)

    rm ~/.local/share/recently-used.xbel
    mkdir ~/.local/share/recently-used.xbel
    

After this last step; Dash won't shoe your previously browsed files, and, won't show your new browes files, plus, activity log manager won't be tracking whatever you set it to. No more "Recently opened" section in Dash, and now the beautiful Activity Journal will actually be useful!

Done! This actually worked for me, at least has until now (just a couple of hours), hopefully, it'll stay that way. If it stops working, I suppose I'll let you know.

Apparently, Sean Houlihane was right, thanks man.