Ubuntu lens

[Old Forum airon90] anonymous
Created: 6 years and 9 months ago
Hi, I think you all knows what Ubuntu is :) 
You know that Ubuntu added Unity interface in order to improve user experience with Linux.
They are adding  new lenses to Unity Dash. What is a lens? A lens is a tool which permits to make specific searches, on your pc and on the web (latest lens is abour cook recipes, for example). Why don't you get in contact with Unity Lens Programmers and you create a lens for make searches through DDG or why don't you create your own? In this way you don't have to open a browser in order to search but you can search directly on your pc. What do you think? :) 

This forum has been archived

Thank you all for the many comments, questions and suggestions. Particular thanks go to user x.15a2 for constantly monitoring, replying and helping so many users here. To continue these discussions, please head over to the DuckDuckGo subreddit.


dashesy
That seems like a good idea, I much rather my lens does not turn out to be a spyglass behind my back (other search engines I meant) :)  

Side note, I do not use Unity myself
posted by dashesy 6 years and 9 months ago Link
anonymous
I just find something useful here:
You should know programming in Python and using Singlet.
If someone want to test it, let's give it a try! ;)
posted by [Old Forum airon90] • 6 years and 9 months ago Link
anonymous
Good idea!

For Ubuntu users running Gnome-SHell, there is a way to add a DuckDuckGo search box in the Dash (which permit, as a lens, to search the web without launching a browser. But, anyway, the search box launch a browser, so...)



Unhappy, it do not works well on my computer, cause the search box become very very big with this trick!

Ogu (France)
posted by [Old Forum shogu] • 6 years and 9 months ago Link
anonymous
I never tested gnome-shell because it doesn't work on my pc (fallback version appears :S). However thank you :)
posted by [Old Forum airon90] • 6 years and 9 months ago Link
yegg
Cool -- will reach out.
posted by yegg Staff6 years and 9 months ago Link
anonymous
I made a ubuntu unity lens as a little sideproject. I followed quite much this tutorial: http://developer.ubuntu.com/2012/04/how-to-create-a-wikipedia-unity-lens-for-ubuntu/

So far I'm really happy with the result.

If anybody else want's to participate: Feel free :)

I hope it's okay that i have included two versions of the duckduckgo logo ...

posted by [Old Forum guest] • 6 years and 6 months ago Link
anonymous
Bam. Forgot the githublink: https://github.com/wolfv/duckduckgo-lens
posted by [Old Forum guest] • 6 years and 6 months ago Link
anonymous
Please could you create a PPA on Launchpad? Otherwise I'll do it for you :)
Great work bro!
posted by [Old Forum airon90] • 6 years and 6 months ago Link
anonymous
Hey Mate,


Since it's my first, I don't really know what I'm doing :) Please tell me if you have troubles with anything.

I'm not completely sure if you need to put duckduckgo-lens into your "Startup Applications". Could be, not sure. I have mine in it, and it works for me right now.

I've also uploaded a .deb to github, so feel free to take that one, if the ppa is somehow not working for you :) https://github.com/wolfv/duckduckgo-lens/raw/master/duckduckgo-lens_0.1_all.deb 

Please let me know your experiences, if it goes well for you I might apply for the software center :)
posted by [Old Forum guest] • 6 years and 6 months ago Link
anonymous
airon90@pc:~$ sudo add-apt-repository ppa:w-vollprecht/ppa
You are about to add the following PPA to your system:
 
Press [ENTER] to continue or ctrl-c to cancel adding it

Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/dist-packages/softwareproperties/ppa.py", line 95, in run
    self.add_ppa_signing_key(self.ppa_path)
  File "/usr/lib/python2.7/dist-packages/softwareproperties/ppa.py", line 117, in add_ppa_signing_key
    "--recv", signing_key_fingerprint])
  File "/usr/lib/python2.7/subprocess.py", line 493, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
    raise child_exception
TypeError: execv() arg 2 must contain only strings

And please, could you make all strings translatable? :)
posted by [Old Forum guest] • 6 years and 6 months ago Link
anonymous
It was me unlogged :)
posted by [Old Forum airon90] • 6 years and 6 months ago Link
anonymous
Installing .deb package from Ubuntu Software Center returns error:

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 1041, in _simulate
    trans.unauthenticated = self.__simulate(trans)
  File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 1098, in __simulate
    deb = self.install_file(trans, simulate=True, **trans.kwargs)
  File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 591, in install_file
    deb = self._check_deb_file(path, force, trans.uid)
  File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 1227, in _check_deb_file
    "\n%s" % (path, stdout))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 42: ordinal not in range(128)
posted by [Old Forum airon90] • 6 years and 6 months ago Link
This comment has been removed for violation of our forum rules.
posted by <hidden> • 3 years and 5 months ago