Improved Unity Files Lens Call For Testing

We’ve got an enhancement to Ubuntu Unity in 12.04 which we’re looking for some community testing on. The Unity Files Lens has been improved so it’s more likely to find the things you’re looking for. In the current release we query Zeitgeist to find files matching what you’ve searched for, in this new test version we’ve improved the search so it doesn’t just look for things via Zeitgeist.

Here’s an example of what’s changed. My current 12.04 system is a fairly clean install with most of my data having been synced down using Ubuntu One or Dropbox file sync tools. As I’ve not opened many files on this machine yet, Zeitgeist doesn’t know about them.

Here’s the initial view of the Unity Files Lens when I press [Super]+F:-

Searching for my curriculum vitae (cv) results in only one hit which is a friends’ CV I downloaded from my email a little while back. My own CV is buried somewhere in a folder and I have no idea where it is, neither does Zeitgeist.

Here’s what it looks like when we test the new version of the Unity Files Lens.

Great! Now it shows the original results from Zeitgeist and any other files that match. It’s a simple change, but most welcome, and in need of testing!

If you’re on Ubuntu 12.04 please consider installing and testing this lens from this PPA:-

https://launchpad.net/~unity-team/+archive/lenses-testing

To install:-

sudo add-apt-repository ppa:unity-team/lenses-testing
sudo apt-get update

Then get the great new stuff with either:-

sudo apt-get install unity-lens-files

or:-

sudo apt-get upgrade

Then logout and back in or reboot to restart Unity.

If you discover any bugs, file them here:-

https://bugs.launchpad.net/unity-lens-files

Make sure you mention that you’re using the new PPA if you do!

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)
This entry was posted in Ubuntu. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

16 Comments

  1. Cyril
    Posted March 6, 2012 at 3:55 pm | Permalink

    Looks like it just matches the filename which is what I actually can’t remember most of the time… Why not integrate “tracker” for full text search? Today, you don’t search filename but for file content.

    • manny
      Posted March 6, 2012 at 5:31 pm | Permalink

      yes, i hope it can also search file content.

      imagine a google or forum search that only matches the title..

  2. Frederik Elwert
    Posted March 6, 2012 at 3:57 pm | Permalink

    That’s great news!

    What additional data sources are you using now? There was a discussion about using Tracker for files search and using Zeitgeist only for sorting, but I don’t know if this is really what you are doing here.

  3. Posted March 6, 2012 at 4:07 pm | Permalink

    @Cyril

    Does tracker look into directories other than XDG directories? Last I checked, it did not and it will introduce one more backend and not solve as many issues.

    With respect to full text search even zeitgeist does it. Since zeitgeist is an event store and not a file tracker, it can know about a file only when that file has been accessed. This is a restriction which will be solved pretty soon. Hold your breath

      More from author
  4. manny
    Posted March 6, 2012 at 5:28 pm | Permalink

    will it show these new results if you do the search from the home lens?

  5. Michael
    Posted March 6, 2012 at 8:07 pm | Permalink

    it works great :)

  6. ventrical
    Posted March 6, 2012 at 9:12 pm | Permalink

    A nice ambiance added to Unity. No ill effects yet.

  7. Jim
    Posted March 6, 2012 at 10:23 pm | Permalink

    What you left out of your post is that after the file you’re interested in was saved locally, it only appeared in the lens search after you waited for updatedb to run (which cron does once every 24 hours) or after you manually ran updatedb. Because of the extra time delay and/or manual intervention required for it to function, this is a dubious “improvement” for the file lens.

    • Posted March 6, 2012 at 11:13 pm | Permalink

      If a file exists on my filesystem and has done for well over 24 hours then this will find it. If the file was only just created/downloaded then personally I’m likely to have created/downloaded it myself so it will find that via zeitgeist. Works for me.

        More from author
  8. Franz Beckenbauer
    Posted March 7, 2012 at 10:49 am | Permalink

    “The Unity Files Lens has been improved so it’s more likely to find the things you’re looking for”

    This one sentence is the essence of what’s wrong with Unity.

  9. Adam
    Posted March 9, 2012 at 6:13 am | Permalink

    I’d like to see a columns/lists view instead of a rows/icons view. Its much quicker to scan down a column than across a row. If one needs bigger previews, a tooltip with large thumbnails would solve that.

  10. Colin Law
    Posted March 9, 2012 at 5:35 pm | Permalink

    I thought that the new files lens would find everything that is found by locate, but it does not. For example, if I do
    locate dmesg
    I get ten or so hits but in the new lens I get nothing. Is that by design?

    • Posted March 9, 2012 at 5:40 pm | Permalink

      I think it may be limited to your home directory, so yeah, locating dmesg would not work because that file is outside your home.

        More from author
  11. Colin Law
    Posted March 9, 2012 at 9:18 pm | Permalink

    I suppose there is logic in only looking in Home. The average user is probably only interested in those files and anyone who is interested in system files is capable of using locate to find them.

  12. gat
    Posted March 24, 2012 at 12:37 pm | Permalink

    is this feature already in unity 5.8.0? if not, the testing package shuld be rebased upon it.

Leave a Reply

Additional comments powered by BackType