Unity VM Lens now in Ubuntu extras (plus software center)

The first Unity lens that I wrote, about 6 months ago or so, allows you to search and start Virtualbox VM’s straight from the dash.  The reason I made this, was because in my testing for work, I had a lot of different VM’s, and got sick of waiting for VirtualBox to open to then search through my 25+ Virtual Machines.  This lens (again) is written with Singlet + Unity.  Today it got accepted into the extras archive, which means you now don’t even need to add a PPA to install it in Precise!  This also means that it will soon be found in the Ubuntu Software Center, where you can install it, and rate it!

To install is now as simple as:

Like all the other lenses, you’d have to either setsid unity or restart your computer for the changes to take effect.

(PS I know this doesn’t seem that awesome, but it’s quite cool to think someone can install something I wrote from a fresh install of 12.04 without even having to add a PPA!)

Posted in Uncategorized.


  1. Hugh November 13, 2012 at 8:48 pm #

    Congrats Chris!

    I installed from ubuntu extras but it doesn’t seem to work. I am getting the following error on 12.04. I tried not to bother you but I looked through the code and the issue wasn’t clear to me. Thanks for any help you can provide.

    Traceback (most recent call last):
    File “./unity-lens-vm”, line 41, in
    from unity_lens_vm import UnityLensVmLens
    ImportError: cannot import name UnityLensVmLens

    • cwayne November 13, 2012 at 10:28 pm #

      Oh goodness, I just reproduced that bug! I have no idea how that got in there (it was tested by several people before being pushed, including myself :( ) I’ve fixed the bug, now it’s up to the uploaders to get the update in. Should be available tomorrow. Sorry and thanks!

  2. cwayne November 13, 2012 at 10:14 pm #


    Thanks for trying it out! That’s a weird error, I think I know how to fix it, but I’m trying to figure out first how it got there! Did you ever install from a PPA or anything, or did you first install from the Software Center? (or did you just apt-get install it)

  3. Hugh November 14, 2012 at 2:14 pm #

    Hey Chris,

    I really appreciate you looking at it. It looks like you got it figured out, but as an FYI, I just wanted to let you know I never installed from a ppa.

    Let me know if you need me to do anything, I would be glad to help.

    Thanks again!


  4. Hugh November 16, 2012 at 3:27 pm #

    I got the update today. It works like a champ. Thanks!

Post a Comment

Your email is never published nor shared. Required fields are marked *


You may use these HTML tags and attributes <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">