Reply
Thread Tools
seiichiro0185's Avatar
Posts: 270 | Thanked: 610 times | Joined on Nov 2007 @ Leipzig/Germany
#11
I did send a mail with the request to jolla, cause TJC wasn't open at this time yet. But as you pointed out, a similar request was posted on TJC. So everyone go vote for it
__________________
N800 -> N810 -> N900 -> N9 -> Jolla & TOHKBD -> Jolla C -> Xperia X -> XA2 Plus Dual Sim

http://www.seiichiro0185.org
 

The Following User Says Thank You to seiichiro0185 For This Useful Post:
Posts: 102 | Thanked: 187 times | Joined on Jan 2010
#12
Originally Posted by mgbler View Post
Open FingerTerm, type:
Code:
cd /home/nemo/Downloads
curl http://pastie.org/pastes/8582714/download > ddg.sh
chmod u+x ddg.sh
devel-su
sh ddg.sh
You should probably quote the su curl command in the 8582714 paste eg
su nemo -c "curl ... "
otherwise you could end up with an empty duckduckgo.xml and it will use bing anyway even if you choose ddg in browser settings.
 

The Following User Says Thank You to ljo For This Useful Post:
Posts: 6 | Thanked: 2 times | Joined on Jun 2012
#13
Originally Posted by mgbler View Post
Open FingerTerm, type:
Code:
cd /home/nemo/Downloads
curl http://pastie.org/pastes/8582714/download > ddg.sh
chmod u+x ddg.sh
devel-su
sh ddg.sh
hey there.

i am no coder but can open a terminal and type in like a monkey..
is the code you gave what i need to type into my jollato get duckduckgo on my jolla?
cheers
 

The Following User Says Thank You to wisdomlight For This Useful Post:
Posts: 738 | Thanked: 819 times | Joined on Jan 2012 @ Berlin
#14
Originally Posted by wisdomlight View Post
hey there.

i am no coder but can open a terminal and type in like a monkey..
is the code you gave what i need to type into my jollato get duckduckgo on my jolla?
cheers
i dont try this but it look so, that you put the line in a terminal and it will all do to get duckduckgo

cd /home/nemo/Downloads
(with this you change to directory "Downloads"

curl http://pastie.org/pastes/8582714/download > ddg.sh
(with this you download the information on pastie.org and save it to a file like ddg.sh)

chmod u+x ddg.sh
(with this you give rights to execute the ddg.sh file on your system)

devel-su
(this is needit to get root right on your phone, after this there will your password to login)

sh ddg.sh
(and the last... this will execute the file and install the information in your phone)

PS: dont kill me if i am wrong
__________________
www.sailfishmods.de
 

The Following User Says Thank You to cvp For This Useful Post:
Posts: 738 | Thanked: 819 times | Joined on Jan 2012 @ Berlin
#15
ok i try this and now it happend this what ljo have write....

You should probably quote the su curl command in the 8582714 paste eg
su nemo -c "curl ... "
otherwise you could end up with an empty duckduckgo.xml and it will use bing anyway even if you choose ddg in browser settings.
now i have a empty DuckDuckGo.xml. How can i this delete ?

------

if i try with this:
su nemo -c "curl ... "

than i get the info:
/usr/bin/curl: /usr/bin/curl: cannot execute binary file
__________________
www.sailfishmods.de

Last edited by cvp; 2014-01-03 at 12:48.
 

The Following User Says Thank You to cvp For This Useful Post:
Posts: 102 | Thanked: 187 times | Joined on Jan 2010
#16
Originally Posted by cvp View Post
ok i try this and now it happend this what wisdomlight have write....



now i have a empty DuckDuckGo.xml. How can i this delete ?
You need to delete it as the nemo user with rm command giving full path as argument.

Originally Posted by cvp View Post
if i try with this:
su nemo -c "curl ... "

than i get the info:
/usr/bin/curl: /usr/bin/curl: cannot execute binary file
This should go in the downloaded file as I wrote.
 

The Following User Says Thank You to ljo For This Useful Post:
Posts: 738 | Thanked: 819 times | Joined on Jan 2012 @ Berlin
#17
ok thanks, i see that there is a backup from original brwoser.qml

i fix it so:

Code:
devel-su
cd /usr/share/jolla-settings/pages/browser
rm browser.qml
rm browser.qml.ddg
mv browser.qml.orginal browser.qml
rm /home/nemo/.mozilla/mozembed/searchplugins/duckduckgo.xml
__________________
www.sailfishmods.de

Last edited by cvp; 2014-01-03 at 13:08.
 

The Following User Says Thank You to cvp For This Useful Post:
Posts: 1,298 | Thanked: 2,277 times | Joined on May 2011
#18
FYI: Updated DuckDuckGo search plugin XML can be found here: https://duckduckgo.com/opensearch.xml
(it's the original source).

Just rename the file to duckduckgo.xml first to avoid any collisions.
 

The Following 2 Users Say Thank You to shmerl For This Useful Post:
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#19
Hi
I noticed that cargo can't see files named in RTL languages, for example hebrew.
Would be nice if creator will add this support and showing hidden files..
Thanks

EDIT: Oops, it can see rtl. Sorry, my mistake..

Last edited by Schturman; 2014-02-05 at 07:15.
 

The Following User Says Thank You to Schturman For This Useful Post:
Posts: 1 | Thanked: 1 time | Joined on Oct 2014
#20
The browser.qml diff doesn't apply any more on 1.1.0.38. The ComboBox no longer has the names of the search engines hardcoded in the QML, now it seems to be getting them from org.sailfishos.browser.settings, any idea where that is defined?

Code:
            ComboBox {
                id: searchEngine

                width: parent.width
                //: Label for combobox that sets search engine used in browser
                //% "Search engine"
                label: qsTrId("settings_browser-la-search_engine")
                currentIndex: name2index(searchEngineConfig.value)

                menu: ContextMenu {
                    id: searchEngineMenu

                    Component {
                        id: menuItemComp

                        MenuItem {}
                    }

                    Component.onCompleted: {
                        var index = 0
                        settings.searchEngineList.forEach(function(name) {
                            var map = page._nameMap
                            // FIXME: _contentColumn should not be used to add items dynamicly
                            menuItemComp.createObject(searchEngineMenu._contentColumn, {"text": name})
                            map[name] = index
                            page._nameMap = map
                            index++
                        })
                    }
                }
 

The Following User Says Thank You to javimerino For This Useful Post:
Reply

Tags
duckduckgo, sailfish os

Thread Tools

 
Forum Jump


All times are GMT. The time now is 18:42.