Putting Google Before Wikipedia in Gnome 3 integrated search.

This is just a little hack.  Hopefully others might find it useful.
When utilizing Gnome 3's integrated search feature the user also has the option to search for what they're looking for either from Wikipedia or Google.  Apparently Gnome 3 is reading these search providers in from the xml files in /usr/share/gnome-shell/search_providers and they appear in reverse alphabetical order.
It would be much more useful for me if Google was the default search instead of Wikipedia.  So I simply renamed the file google.xml to xoogle.xml so it would come after wikipedia in alphabetical order.
Laters!

This was bugging me as well, thanks! I will try this

Similar Messages

  • Put Delay Before 'return' in Function

    When I create function that allow flash to detect object's velocity, a problem happen. I can't put delay before 'return' executed. It's cause result of function is null or 0. There's the script:
    function SSvelocity(Target:Object,target_property:String,delay_ms:int=1000):Number
         if ((target_property!="x")&&(target_property!="y")&&(target_property!="z")&&(target_property!="rotation"))
              trace("ShortenScript: err(SSvelocity[1]): SSvelocity("+Target+","+target_property+","+delay_ms+")");
              trace("                                   SSvelocity(the_object,target_property,delay_millisecond)");
              trace("                                   position should filled with \"x\" or \"y\" or \"z\" or \"rotation\"");
              trace("                                   and don\'t forget about quotes(\")");
              DisplayError = true;
              return null;
         var detecta:Timer = new Timer(1000);
         var detectb:Timer = new Timer(1000);
         var resulta:Number;
         var resultb:Number;
         detecta.delay = delay_ms;
         detectb.delay = delay_ms;
         detecta.start();
         detecta.addEventListener(TimerEvent.TIMER, handlera);
         detectb.addEventListener(TimerEvent.TIMER, handlerb);
         function handlera(event:TimerEvent)
              detecta.stop();
              if (target_property == "x")
                   resulta = Target.x;
              else if (target_property=="y")
                   resulta = Target.y;
              else if (target_property=="z")
                   resulta = Target.z;
              else if (target_property=="rotation")
                   resulta = Target.rotation;
              detectb.start();
         function handlerb(event:TimerEvent)
              detectb.stop();
              if (target_property == "x")
                   resultb = Target.x;
              else if (target_property=="y")
                   resultb = Target.y;
              else if (target_property=="z")
                   resultb = Target.z;
              else if (target_property=="rotation")
                   resultb = Target.rotation;
         // I want put delay before return, because it's resulting NaN and often 0
         return (resultb-resulta);

    I agree with Ned that you should rethink your approach. Objects A and B are your Information Experts (GRASP (object-oriented design) - Wikipedia, the free encyclopedia) on the problem at hand, so they should be responsible for storing their own previous positions and calculating velocity.
    Let's assume that it's possible for you to apply the same Base Class to both A and B. That Base Class might look something like this:
    public class VelocityClip extends MovieClip {
         //each history will contain the past 10 values for that property
         protected var propertiesHistory:Dictionary = new Dictionary();
         //by adding or removing property names to this Array, you can change what properties are being tracked
         protected var trackedProperties:Array = ['x', 'y', 'rotation'];
         //capture values every 100 ms (10 times a sec)
         protected var timer:Timer = new Timer(100);
         public function VelocityClip() {
              super();
              for each (var property:String in trackedProperties) {
                   //create a spot to store the history of each tracked property
                   propertiesHistory[property] = new Vector.<Number>();
              timer.addEventListener(TimerEvent.TIMER, storeValues);
              timer.start();
         protected function storeValues(e:TimerEvent):void {
              for each (var property:String in properties) {
                   var history:Vector.<Number> = propertiesHistory[property] as Vector<Number>;
                   if (history.length > 9) {
                        //stay at 10 total indices by removing first item
                        history.shift();
                   history.push(Number(this[property]));
         public function getVelocity(property:String):Number {
              var history:Vector.<Number> = propertiesHistory[property] as Vector<Number>;
              if (!history) return NaN;//no history for this property
              if (history.length < 10) return 0; //haven't been moving for a full sec.
              //history[9] was recorded sometime in the last 99 ms, and history[9] and history[0] are 1 sec apart
              //subject to the limitations of the Timer Class
              return history[9] - history[0];

  • My iPad air won't charge at all and I don't know if it's the charger or port help!i have had a new port put in before and it worked fine after but it's not working now! I have spent way to much trying to fix this thing one problem after another?

    My iPad air won't change at all, and I don't know if it's the port or charger cable it is charging normally but it just won't charge. I have had a new port put in before after a charger getting stuck in there but it worked fine after and now it's not working at all! I don't know if maybe it's the charger getting old but I have spent far too much money on this iPad then I should have as it's one problem after another witch is causing me lots of stress.

    Try giving your iPad a reset. Hold down the sleep and home keys for about 20 seconds. When you see the silver apple, let go and let it reboot and try again.
    How are you charging it? its's best charged plugged into the wall  not via USB. So if you're trying via USB, try using the supplied power block plugged into the wall.

  • How can I remove Babylon and put Google into toolbar?

    How can I remove Babylon toolbar and put Google´s into my Firefox toolbar?
    Thanks

    Babylon: Removal (see [https://support.mozilla.com/en-US/questions/860950 Q860950])
    * How do I uninstall Babylon <br>http://support.babylon.com/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=79
    *How do I fully remove Babylon <br>https://support.mozilla.com/questions/746530

  • Putting Google maps on my Website

    I am brand new at website design and I am trying to put a website together mostly for fun what I would like to do is put Google maps on a page.  On that page I would like to mark locations (trails and camp site) with a little information and a link to a page that would have more information.  I believe there is a plug-in I can buy for only $25 but I am enjoying learning and would like to learn how instead of just a plug and play.  In contrast to that though I cheating and using Dreamweaver CS5.  Thank you for any help and sorry in advance for my ignorance.  If there is a site or explanation step by step (including code).  I have visited google maps http://code.google.com/apis/maps/documentation/javascript/tutorial.html#LoadingMap .
    My site is www.campingcoaches.com it is just for fun and a few friends to share where they have been camping so the coding I am working on in my spare time.
    All it take for Evil to thrive is for good people to do nothing

    All you need to do is to copy past the code and repeat from the "var marker" and down to the addListener for each marker with overlay you want.
    Remember to give the variables unique names.
    You can use this geoCode url to retrieve geocodes for the addresses you would like to have on your map:
    http://maps.google.com/maps/api/geocode/json?address=berlin,germany&sensor=false&language= en
    Look for the "location" section.

  • [Flex Hero] How to put Google Mobile Ads in AIR on Android

    Hi, everyone
    I am developing a free application with Adobe Flash Builder "Burrito". Thank you to Flex SDK team, the SDK is very easy to implement the application.
    My question is, Is it possible to put Google Mobile Ads in the application (for example, Ad Mob)? If yes, could you give me some guideline?
    I think this is the key feature to make AIR for Android more popular. People make money from it!

    I filed a feature request to expose this functionality in Flex: http://bugs.adobe.com/jira/browse/SDK-28875  Please vote and leave a comment with your use case.
    In the meantime you might want to look into exposing unavailable APIs like in this post: http://elromdesign.com/blog/2010/10/29/hacking-native-android-with-air-app-to-allow-air-ac cess-unavailable-apis/

  • Google and wikipedia have black backgrounds in firefox, white in explorer. Why? I changed no setting.

    I'm running Vista 64, have Windows color scheme set to aero, not high contrast, and firefox background color is set to gray. I don't like this white font on black background I'm getting in Google and Wikipedia. These two websites are fine in explorer. There must be a way to change this, right?

    I solved it myself and maybe someone else has the same "problem".
    Google. It's Google. I played around a bit with safe mode and when I disabled the ad blocker the videos came back.
    Google have decided not to let anyone watch their videos if the ads are blocked by AdblockPlus. Maybe this applies to other blockers too. On Maxthon, ads can still be blocked as it's still relatively small. But FireFox is now forced to up their game or knuckle under.

  • Can't open links and go to Google and Wikipedia

    After I've been logged on to my Mac for a while, maybe 30-60 minutes, I can't open any links from any website and programs like Skype. It doesn't say "error" or "couldn't connect..." or anything, it's just a white page. And for some reason I can't go to Google or Wikipedia, which is weird. I'm using Safari but i have also tried Firefox and I've tried it on my guest account, but it's still the same. The only way to solve it is to restart the computer. I can access Google via the search bar, but the links doesn't work. For example: I tried to open the Apple article on Wikipedia from Google. This is the url that loads: http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=10&ved=0CF8QFjAJ&ur l=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FApple_Inc.&ei=ESKiUZeFNYjBPP3jgJAL&usg= AFQjCNE0AxysxuP7bGhOrqFsVPjF-GfeTA&sig2=NUskKCDyWoU-PgeArov7ZA&bvm=bv.47008514,d .ZWU and the page is white. As you can see Wikipedia doesn't start to load.
    Does anybode else have this problem? I have googled, but I couldn't find any answers.

    Ignore that. Safe mode will give you different results that you cannot bring across. The problem seems to be that your DNS resolution is borked, this is what translates web adresses (www.webaddress.com) into IP adresses (195.234.65.23). Open terminal on your normal Mac install (non-safe mode) and type this:
    sudo dscacheutil -flushcache
    Then try again. If that does not fix it, then:
    Go to Applications > Utilities > Network Utility.
    Click on the Ping tab and type www.google.com in the host box.
    The first line will look something like this:
    ping google.com
    PING google.com (192.0.32.10): 56 data bytes
    you should then get 6 lines like this trying to contact google:
    64 bytes from 192.0.32.10: icmp_seq=0 ttl=240 time=98.767 ms
    64 bytes from 192.0.32.10: icmp_seq=1 ttl=240 time=96.521 ms
    64 bytes from 192.0.32.10: icmp_seq=2 ttl=240 time=95.766 ms
    64 bytes from 192.0.32.10: icmp_seq=3 ttl=240 time=95.638 ms
    64 bytes from 192.0.32.10: icmp_seq=4 ttl=240 time=95.414 ms
    64 bytes from 192.0.32.10: icmp_seq=5 ttl=240 time=93.367 ms
    Press CTRL+C if they carry on past 6 lines then you should get this:
    6 packets transmitted, 6 packets received, 0.0% packet loss
    round-trip min/avg/max/stddev = 93.367/95.912/98.767/1.599 ms
    The numbers do no matter except for the packet loss one. just above. If that is 100% then your ISP is to blame. If not and you still can't get on google, post that output here and I will tell you what the problem is.

  • Recently reestablished Google taskbar by following directions from contributer on how to do this re compatability download..forgot what to do so I can put google taskbar on laptop.have it on ff version 6 desktop. thanks

    recently reestablished Google taskbar by following directions from contributer on how to do this re compatability download..forgot what to do so I can put google taskbar on laptop.have it on ff version 6 desktop. thanks

    >
    <IfModule mod_weblogic.c>
    WebLogicCluster 127.0.0.1:7005,127.0.0.1:7007,127.0.0.1:7003,127.0.0.1:7103,127.0.0.1:7104
    MatchExpression /app1
    </IfModule>
    <Location /weblogic>
    SetHandler weblogic-handler
    WebLogicCluster 127.0.0.1:7003,127.0.0.1:7005,127.0.0.1:7007,127.0.0.1:7103,127.0.0.1:7104
    DebugConfigInfo ON
    PathTrim /weblogic
    </Location>
    <IfModule mod_weblogic.c>
    WebLogicCluster 127.0.0.1:7003,127.0.0.1:7005,127.0.0.1:7007
    MatchExpression /app2
    </IfModule>
    <Location /weblogic>
    SetHandler weblogic-handler
    WebLogicCluster 127.0.0.1:7003,127.0.0.1:7005,127.0.0.1:7007
    DebugConfigInfo ON
    PathTrim /weblogic
    </Location>
    >
    This configuration is weird little bit. There is MatchExpression /app1 and MatchExpression /app2 and at the same time two <Location /weblogic> sections. Are you sure you understand what that configuration stands for?
    Try something like this ...
    <Location /app1>
    SetHandler weblogic-handler
    WebLogicCluster 127.0.0.1:7003,127.0.0.1:7005,127.0.0.1:7007,127.0.0.1:7103,127.0.0.1:7104
    DebugConfigInfo ON
    </Location>
    <Location /app2>
    SetHandler weblogic-handler
    WebLogicCluster 127.0.0.1:7003,127.0.0.1:7005,127.0.0.1:7007
    DebugConfigInfo ON
    </Location>
    where /app1 and /app2 are contexts of your weblogic applications.
    http://download.oracle.com/docs/cd/E11035_01/wls100/plugins/apache.html
    http://httpd.apache.org/docs/2.0/mod/core.html#location

  • Hello, i just forgot my security question , so how could i change them or know the answers that i put them before thanks

    hello, i just forgot my security question , so how could i change them or know the answers that i put them before thanks

    See this... http://support.apple.com/kb/HT5312

  • Putting $ sign before printing the price

    Hi Experts,
    In my Webdynpro application, the price value is coming from a BAPI. I am diaplaying them in a table
    control in a column. I have one requirement where i need to put a "$" before diaplaying them in table.
    Can anybody please tell me whether we need to do the code changes in Webdynpro Java or
    in ABAP code ?
    Thanks.

    Hi Srini,
    No need to change any thing at ABAP side. You can achieve this by using the calculated attribute.
    Let us suppose the modelAttribute is price.
    1. Create one valueAttribute in the same node where price is there.
    2. Name it as priceCalc.
    3. Change the calculatedAttribute property to true for priceCalc.
    3. Two methods named getXXXPriceCalc() and setXXXPriceCalc() methods will be created automatically in the implementation.
    4. go to the getXXXPriceCalc() method and provide the implementation.
    public String getXXXPriceCalc() (....)
       return "$"+element.getPrice();
    //element represents the current node element. It is one of the  argument in getXXXPriceCalc() method.
    5. In the front end bind PriceCalc(value attribute) instead of price(model attribute) attribute.
    Regards,
    VJR.

  • Google opens new tab every time I search something

    Every time I google something, in addition to getting the search result in the tab I was currently using, https://www.google.se/blank.html opens in another tab and the focus changes to the new tab. This is getting really f-ing annoying. It's annoying enough that the new tab opens, but what really frustrates me most is that it has to focus the new tab every freaking time, even tho I have "When I open a new link in new tab Switch to it automatically" (Tools > Options > Tab) unchecked. Please help before I break something expensive!

    Hello,
    '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * You can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
    Thank you.

  • TS3274 My original iPad takes about 5 long seconds before responding to my finger tap in the safari window. Like I tap in Safari window, then count 5 seconds before I can begin typing my search words. Is this normal? I really don't remember it taking so l

    My original iPad takes about 5 long seconds before responding to my finger tap in the safari window. Like I tap in Safari window, then count 5 seconds before I can begin typing my search words. Is this normal? I really don't remember it taking so long when I bought it, but it has been this way for awhile. I have closed all open apps many times to no avail. I just reset all settings and still 5 seconds. I don't have a lot on my iPad with plenty of free space available. Also, I have to click twice on many things that typically take one click. Like it highlights it with first click, then second click completes the action that normally would be done in one click, like Facebook like button. Like will underline with click one, then will change to like on second click. Do I need to try to restore from my computer?
    Thanks for any help!

    Ive tried that but when Im logged in I dont have all the permmisions I should have so it just runs the test for my usernames own little virtual world.  Ive been using macs for over a decade now and I have never had my computer do anything like this. while sitting in front of my screen I watched the mouse go to some personal files and change the permissions and then covered their tracks by changing the timestamp on the file dates back. I watched it happpen while all internet conections were off.  I had my identity stolen, my facebook password changed, my email accounts closed out. and my firmware password changed all within two weeks of the origninal boot date

  • When using google I am transferred to other web search sites and not the sites I am clicking on.

    While using Google I am being connected to other search sites and not the sites I am clicking to go to.
    == URL of affected sites ==
    http://

    It has nothing to do with Firefox -- it sounds like the sites you're trying to go to are already taken down. If that's the case, try clicking the Google's results' "Cached" button, or just try the other results Google gave you.

  • HT2518 How do you reset the password on a migrated user account? Mac wants the old password putting in before we can set a new password and the old password won't work.  How do we get around this?

    Used Migraton Assist to transfer data from old Dell PC onto new Macbook Pro.  Data has come across but cannota access the User Account from the Dell.  It is displayed on the desktop of the Mac but is requesting and new password.  Before we can reset the password we have to put in the old password.  We have put in the old password but it doesn't work and therefore we can't reset the password and get into the User Account. 
    How do we get around this problem so that we can access the User Account.
    Although the data has transferred we cannot see our contacts transferred from Outlook into Mail.  We are wondering if they are contained within our User Account, but can't find out until we can access the it?
    Help wold be much appreciated.
    Pensos

    Hello:
    Hopefully this will help you:
    http://support.apple.com/kb/PH4117
    Barry

Maybe you are looking for

  • Sync errors - Can't read or write to "ipod name " disk - Possible FIX/CURE

    For those that are getting this error while syncing try the following . a . Stop Itunes from starting when plugging in your ipod ( this is temp just while doing the below and can be set back afterwards ) b . plug in ipod and go to " my computer " , r

  • F-53 Bank charges

    Hi Guys while useing f-53 for making payment we entered the bank charges in the screen.. becuase of bank charges  i am not able to make the payment . It shows the message it is too large for clearing . I also assigned Bank charges GL on OBXL.. Pl hel

  • Inserting strings over 2000 in length

    Hi, I'm trying to populate a database table which contains a long and I've been running into two Oracle errors: ORA-01462: cannot insert string literals longer than 2000 characters and ORA-01489: result of string concatenation is too long Can someone

  • Bapi or FM to post a FI document

    Hi experts, I am looking for a standard BAPI or FM to check/post a PARKED FI document. I know already BAPI_ACC_INVOICE_RECEIPT_POST but it creates a document from scrach. I need one that changes the status of an existing parked document   I need a BA

  • How to start with a "clean slate"

    Appologies for such a simple question, but I want to start off on the right foot here. I've just got Tom Wolksy's FCE2 book and want to get started, but relized that my version of FCE opens a previous project that my wife had started some time ago wh