Tagged Questions
5
votes
0answers
74 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
46 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
115 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
139 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.
0
votes
1answer
70 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
572 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
322 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
172 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
72 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
181 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 "----> " + ...
7
votes
2answers
353 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
217 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?
...
19
votes
5answers
2k views
How do I start developing a lens for Unity?
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
292 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?