1
vote
0answers
42 views

What's “Unity.LayoutHint” intended for?

I currently write my own lense in python (Ubuntu 13.4) using singlet. In the api documentation, there is a Unity.LayoutHint (View), which is used by Unity.PreviewAction (View). I don't see any change ...
5
votes
0answers
75 views

How do I package a Unity lens? [duplicate]

I'm new to Ubuntu apps and Launchpad. I've created a Unity lens using Quickly, but I'm stuck on how to deploy it. I have two questions. I can create a .deb file using quickly package, but when I ...
0
votes
1answer
48 views

What does this string do in a Unity lens?

My question is based on this article. My Wikipedia lens is working well and this article is very nice. But I don't understand, what is this string doing: for article in self.wikipedia_query(search): ...
1
vote
1answer
170 views

Unity lens to search for tags

I want to develop a dash lens to search files by tags (the ones that are set through Nautilus). I know on the one hand this program, that does the search: ...
2
votes
1answer
211 views

Where are the default Unity lenses stored?

I want to create a home build lens for the 12.04 dash and liked to use one of the default lenses as example. I'm thus for looking where I can find the files of these lenses.
1
vote
1answer
82 views

How can I search a Drupal site with the new Unity lens?

I'm creating a simple Unity lense for my college site which is based on Drupal, but I don't know how to adapt this command for Drupal API. Please help, it's python. We now create our query url, ...
3
votes
0answers
769 views

Quickly lens tutorial not working [closed]

I have been following the exact steps of this wikipedia lens tutorial with the result that the quickly run step gives the following warnings and the search does not display any results: WARN ...
6
votes
1answer
354 views

Creating a Unity Lens: The name `Activation' does not exist in the context of `Unity'

I'm trying to create a Lens for Unity in 11.10 using vala. This is my daemon.vala: using Dee; using Gee; namespace PidginLens { public class Daemon : GLib.Object, Unity.Activation { ...
3
votes
1answer
184 views

What is the API for new Lens features in the Ubuntu TV alpha?

As of the Ubuntu 12.04 alpha, lenses are simply lists of results pushed onto a DBus domain like net.launchpad.Lens.MyLens. This makes lenses and scopes more or less equivalent to search engines. ...
3
votes
1answer
73 views

What's the preferred way to distribute self written Unity Lenses?

With gnome-shell there is https://extensions.gnome.org where a developer could easily submit and distribute an self written gnome-shell extension. What's the preferred way with a self written Unity ...
3
votes
2answers
186 views

Can't get activate_uri signal working when making a lens

I'm trying to develop a lens for unity in ubuntu 11.10 and I can not get activate_uri signal working. This is an extract of my code: def _on_activate_uri (self, scop, uri): print "----> " + ...
8
votes
2answers
381 views

Is it possible to programmatically call, access, or get results from the Unity Dash?

Background After eyeing Unity's notification APIs for the past few releases, I've developed an itch to write a feed reader that syndicates new arrivals in the Messaging Menu... ... and provides ...
2
votes
1answer
250 views

How to create a new dash panel for my program?

I am developing a new AI chatbot assistant that i want to embed in the dash menu panel in unity. where do i go into the .* files to edit / create this? also can i code menus in python at all? ...
14
votes
1answer
763 views

What are differences between a lens and scope?

Well it seems those two terms are the most popular ones since 11.04. What truly are the differences and similarities between them (lenses and scopes)?
19
votes
0answers
2k views

How do I start developing a lens for Unity? [duplicate]

I would like to know how to create one of those lenses for unity. I know how to program. but I don't know where to start. Are there certain libraries I should use or docs that I should read? Are there ...
8
votes
1answer
311 views

Would a Unity lens written for Unity 3D also work in Unity 2D?

I am thinking of writing a few lens features to link Unity into some business web applications, do I have to target both Unity variants separately or can I do one and assume the other will just work?