Search Results

Search found 10 results on 1 pages for 'user49523'.

Page 1/1 | 1 

  • How do I compile a Wikipedia lens and install?

    - by user49523
    I read a tutorial about how to compile and install a Wikipedia lens, but it didn't work. The tutorial sounds easy - i just copied and pasted to the file that was suppose to edit. I have tried some times and here are 2 edits edit 1: import logging import optparse import gettext from gettext import gettext as _ gettext.textdomain('wikipedia') from singlet.lens import SingleScopeLens, IconViewCategory, ListViewCategory from wikipedia import wikipediaconfig import urllib2 import simplejson class WikipediaLens(SingleScopeLens): wiki = "http://en.wikipedia.org" def wikipedia_query(self,search): try: search = search.replace(" ", "|") url = ("%s/w/api.php?action=opensearch&limit=25&format=json&search=%s" % (self.wiki, search)) results = simplejson.loads(urllib2.urlopen(url).read()) print "Searching Wikipedia" return results[1] except (IOError, KeyError, urllib2.URLError, urllib2.HTTPError, simplejson.JSONDecodeError): print "Error : Unable to search Wikipedia" return [] class Meta: name = 'Wikipedia' description = 'Wikipedia Lens' search_hint = 'Search Wikipedia' icon = 'wikipedia.svg' search_on_blank=True # TODO: Add your categories articles_category = ListViewCategory("Articles", "dialog-information-symbolic") def search(self, search, results): for article in self.wikipedia_query(search): results.append("%s/wiki/%s" % (self.wiki, article), "http://upload.wikimedia.org/wikipedia/commons/6/63/Wikipedia-logo.png", self.articles_category, "text/html", article, "Wikipedia Article", "%s/wiki/%s" % (self.wiki, article)) pass edit 2: import urllib2 import simplejson import logging import optparse import gettext from gettext import gettext as _ gettext.textdomain('wikipediaa') from singlet.lens import SingleScopeLens, IconViewCategory, ListViewCategory from wikipediaa import wikipediaaconfig class WikipediaaLens(SingleScopeLens): wiki = "http://en.wikipedia.org" def wikipedia_query(self,search): try: search = search.replace(" ", "|") url = ("%s/w/api.php?action=opensearch&limit=25&format=json&search=%s" % (self.wiki, search)) results = simplejson.loads(urllib2.urlopen(url).read()) print "Searching Wikipedia" return results[1] except (IOError, KeyError, urllib2.URLError, urllib2.HTTPError, simplejson.JSONDecodeError): print "Error : Unable to search Wikipedia" return [] def search(self, search, results): for article in self.wikipedia_query(search): results.append("%s/wiki/%s" % (self.wiki, article), "http://upload.wikimedia.org/wikipedia/commons/6/63/Wikipedia-logo.png", self.articles_category, "text/html", article, "Wikipedia Article", "%s/wiki/%s" % (self.wiki, article)) pass class Meta: name = 'Wikipedia' description = 'Wikipedia Lens' search_hint = 'Search Wikipedia' icon = 'wikipedia.svg' search_on_blank=True # TODO: Add your categories articles_category = ListViewCategory("Articles", "dialog-information-symbolic") def search(self, search, results): # TODO: Add your search results results.append('https://wiki.ubuntu.com/Unity/Lenses/Singlet', 'ubuntu-logo', self.example_category, "text/html", 'Learn More', 'Find out how to write your Unity Lens', 'https://wiki.ubuntu.com/Unity/Lenses/Singlet') pass so .. what can i change in the edit ? (if anybody give me the entire edit file edited i will appreciate)

    Read the article

  • Video files from another partition or volume does not play

    - by user49523
    Some video files from another partition or volume does not display in some video displays but display on another and crashes on others. Seem to play on these video players: vlc smplayer gnome-mplayer Seem to have some issues in these video players: totem -some videos are play while others not banshee -some videos are play while others not bangarang -few videos are play while others not and it crashes and happens also in home folder of filesystem dragon player -crashes and seem not to display any video and happens also in home folder of filesystem Why this happens? Is this a bug? On ubuntu 11.10, every video display play all the video from another partition or from home filesystem.

    Read the article

  • why jamendo is off stores of music player banshee and rhythmbox and how can i add jamendo to the stores?

    - by user49523
    jamendo is open music platform for artists and listers, i know that debian was on jamendo on the stores on rhythmbox by default, and also ubuntu use to have so why is not been there anymore on ubuntu ? is it because of ubuntu one ? and how can i add jamendo to the music players like rhythmbox and banshee ? magnatune store is on rhytmbox plugins bu t not on banshee ? can we expect jamendo to be include on next release , that i am using beta version, of ubuntu 12.04?

    Read the article

  • Can I change the filter options in the video lens?

    - by user49523
    Can I change the video options on the new dash menu? To be more precise, on the video file find menu filters, can I Add, Remove or Change what URLs can be include? If so how can I do? For example if I want to change in the filters youtube shows to YouTube comedy, how you do it? (I just installed MyUnity but from what I read and tested it won't fully work on Unity 2D, however I can change video filters using that)

    Read the article

  • How to use Unity 3d and Gnome Shell without any drivers?

    - by user49523
    Currently I don't have any driver available for the laptop that I use , and because of this I only can use Unity 2d and Gnome Panel. I have Ubuntu 11.10 and Ubuntu 12.04 installed and no drivers for both. I would like to use Unity 3d and Gnome Shell..instead of Unity and Gnome Panel or at least have that option even if computer became a little slower. Is there a way of enabling Unity 3d and gnome without any driver had been installed?

    Read the article

  • how to switch beetween users using kde,gnome and unity without enter everytime password only on kde?

    - by user49523
    i can switch between users after login in with them with gnome and unity without typing again the password but i have to type again with kde .. so can i switch from gnome or unity to kde without typing again the user password? ..and, it is possible to start ,from shutdown computer, login with 3 different users using gnome,kde and unity? and it is possible to open kde,gnome and unity with the same user without log out ? (this is only to have 1 user instead of 3)

    Read the article

  • gnome mplayer bug?

    - by user49523
    gnome mplayer (gnome-mplayer) does not play video or dvd in expand or when the window is resized the video stay the same size and there is some kind of video error that is a picture of a previous frame of the video ,a small part is display and freezes undefined, unless is put back or not maximize. ..and the aspect of the video is the same 4:3 and do not change for example for 16:9 (and i think here is the error,not sure) other video displays not show this error not sure if is the rigth place do ask here

    Read the article

  • why boinc now on ubuntu 12.04 just run 2 tasks?

    - by user49523
    i use to have when i have the computer turn on and was idle having more than 2 tasks running at same time.. but now this is not happens and it is enable at maximum of 2 tasks at same time, i don know why. also i was able 2 do that on ubuntu 11.10 not sure if is the same using boinc on ubuntu 11.10. so why this happens? and how can i set up boinc 2 run more than just 2 tasks at same time in ubuntu 12.04 beta?

    Read the article

  • How can I motivate the community to use boinc?

    - by user49523
    boinc is a really nice application to use on background of a computer that can help science projects and humanity as a all. I would like somehow to encourage people use boinc with their preferences on boinc like projects choice, cpu from 10 to 100 ,.. with their computer that will help science to move more quickly and help humanity There are 20 million users of ubuntu if most of use boinc , this will increase the speed of science projets .. and if other people from other operating systems use as also like mac,windows,.. and other open source like debian,.. this would even speed more science and now anyone can win also a prize , joining a project management like http://boincstats.com/ and there is more 2 How can i get ubuntu users and ubuntu community to know and use boinc application?

    Read the article

  • its possible to use unity 3d and gnome3 without any drivers?

    - by user49523
    currently i don't have any driver available for the laptop that i use , and cause of this i only can use unity2d and gnome2. i have ubuntu 11.10 and ubuntu 12.04 installed and no drivers for both. i would like to use unity3d and gnome3..instead of unity and gnome2 or at least have that option even if computer became a lit slower. so there is a way of enabling unity 3d and gnome without any driver had been installed?

    Read the article

1