Palemoon: updated or not updated, and other considerations

Non release banter
Post Reply
User avatar
Rava
Contributor
Contributor
Posts: 1319
Joined: 11 Jan 2011, 02:46
Distribution: Porteus 3.1.0 x86-64 XFCe
Location: Germany

Palemoon: updated or not updated, and other considerations

Post#1 by Rava » 25 Aug 2016, 02:54

I use palemoon, I presume there is no update-palemoon...

Nota bene:
This series of posts were from another thread. The discussion really began to be out of topic. I have provided a title to the thread.

@rava: feel free to change the title if it does not suit you.
Cheers!
Yours Rava

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 977
Joined: 20 Mar 2012, 03:42
Distribution: 3.2.2-64bit xfce/openbox
Location: australia
Contact:

Re: Porteus donations - thank you for your support!

Post#2 by ncmprhnsbl » 25 Aug 2016, 03:32

Rava wrote:I presume there is no update-palemoon...
fear not, update-palemoon is there..
Forum Rules : http://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Rava
Contributor
Contributor
Posts: 1319
Joined: 11 Jan 2011, 02:46
Distribution: Porteus 3.1.0 x86-64 XFCe
Location: Germany

Re: Porteus donations - thank you for your support!

Post#3 by Rava » 15 Nov 2016, 07:12

ncmprhnsbl wrote:
FURRY_NOVA wrote: Does it require "t=porteus" in the default browser url query string to work?
yes, i believe thats how it works...
No, it doesn't.

Same with google, many search engines put info into the search URL that is not needed for the search.

E.G. when I use palemoon to search for "I am searchy", (including the " ), I get this URL by default:
https://duckduckgo.com/?q=%22I+am+searc ... oon&ia=web

t=palemoon is just that it knows my browser is a palemoon, but you can leave that out.
Added ia=definition would mean it looks up the definition as first search result.
When you click Images you get this URL:
https://duckduckgo.com/?q=%22I+am+searc ... &ia=images

Now let's remove the unneeded stuff:
https://duckduckgo.com/?q=%22I+am+searchy%22&ia=images

See that it differs. The ia=images means, show only images, when omitted it shows the images in a row at the top,and you can scroll that row to right and left. When you expand that to have the screen filled with images (like it's the default for image google search), you have to use ia=images

Now, when you want to share such URL, just use
https://duckduckgo.com/?q=%22I+am+searchy%22&ia=images
instead of
https://duckduckgo.com/?q=%22I+am+searc ... &ia=images
cause, need-to-know. Cheers.
Cheers!
Yours Rava

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 977
Joined: 20 Mar 2012, 03:42
Distribution: 3.2.2-64bit xfce/openbox
Location: australia
Contact:

Re: Porteus donations - thank you for your support!

Post#4 by ncmprhnsbl » 15 Nov 2016, 11:33

:) when i said 'how it works' ... i was talking about how duckduckgo knows you are using porteus...
the t=porteus is necessary for porteus to receive income from ddg searches ...
similarly t=palemoon generates income for palemoon...
Forum Rules : http://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Rava
Contributor
Contributor
Posts: 1319
Joined: 11 Jan 2011, 02:46
Distribution: Porteus 3.1.0 x86-64 XFCe
Location: Germany

Re: Porteus donations - thank you for your support!

Post#5 by Rava » 15 Nov 2016, 11:53

ncmprhnsbl wrote::) when i said 'how it works' ... i was talking about how duckduckgo knows you are using porteus...
Sorry, misunderstanding.
ncmprhnsbl wrote:the t=porteus is necessary for porteus to receive income from ddg searches ...
similarly t=palemoon generates income for palemoon...
So, then PM inserts that without telling its users?

And I asked brokenman a longer while ago how to implement it but at the time he had no solution ready for the older, final version like mine. Do I get it right that now we have the solution? Can you point me to it, please?

[I presume some about:config hacking is needed to replace the t=palemoon with t=porteus ...
Cheers!
Yours Rava

donald
Full of knowledge
Full of knowledge
Posts: 1223
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Re: Porteus donations - thank you for your support!

Post#6 by donald » 15 Nov 2016, 13:09

@ Rava
If i go into /opt/palemoon/browser/searchplugins/
the only one with
<Param name="t" value="porteus"/>
is the DDgo xml file.
I do not see t=palemoon anywhere,where did you see this?
(PM 26.5.0 x86)

User avatar
brokenman
Site Admin
Site Admin
Posts: 5575
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: Porteus donations - thank you for your support!

Post#7 by brokenman » 15 Nov 2016, 13:52

The .xml file is required and then update the default search engine and keep any changes in the /home config folder.

Palemoon probably also has an account with ddg so by default it ships with this string by default.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
FURRY_NOVA
Black ninja
Black ninja
Posts: 84
Joined: 11 Aug 2016, 17:26
Distribution: Porteus XFCE v3.2 i586
Location: United Kingdom

Re: Porteus donations - thank you for your support!

Post#8 by FURRY_NOVA » 15 Nov 2016, 17:03

I've had no success modifying latest Opera default search engine. For speed-dial, Google is locked as the default engine. Address bar can only allow default DuckDuckGo without porteus url query, although I can add it but I would have to manually click the custom one before hitting enter.

If I get time, I could try making a simple porteus speed dial page. But I imagine everyone prefers using the address bar like me. So I don't think it'll be worth it. :unknown:
New to Linux but learning. Hoping to help out Porteus community. :)

User avatar
brokenman
Site Admin
Site Admin
Posts: 5575
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: Porteus donations - thank you for your support!

Post#9 by brokenman » 15 Nov 2016, 17:23

I've had no success modifying latest Opera default search engine.
Me either.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
Rava
Contributor
Contributor
Posts: 1319
Joined: 11 Jan 2011, 02:46
Distribution: Porteus 3.1.0 x86-64 XFCe
Location: Germany

Re: Porteus donations - thank you for your support!

Post#10 by Rava » 17 Nov 2016, 19:44

donald wrote:@ Rava
If i go into /opt/palemoon/browser/searchplugins/
the only one with
<Param name="t" value="porteus"/>
is the DDgo xml file.
I do not see t=palemoon anywhere,where did you see this?
(PM 26.5.0 x86)
Mine is in /usr/lib64/palemoon/browser/searchplugins

Code: Select all

$ grep 'Param name="t" value=' *
duckduckgo-palemoon.xml:    <Param name="t" value="palemoon"/> 
(I had no idea it was in there, you gave me the clue where to look.

So, in order to change it into t=porteus, I presume I have to edit the duckduckgo-palemoon.xml, select a different search engine as default and switch back to ddg?

Or does it need more than that, or a certain way in switching the default search engine?

//EDIT
at least just switching the engine did not work, I edited the ddg xml file, but PM still inserts t=palemoon

I have no clue what would happen if I use "manage search engines", highlight ddg and then click "remove". I presume it might delete the ddg xml file. If so, how would I be able to include it, usually you go to a certain website to choose new search engines and not select from a local xml file, or not?

//EDIT2
Selecting "add search" directs me to https://addons.palemoon.org/search-plugins/
An that page says
The following search plugins are already included by default in Pale Moon and thus cannot be listed here as they would conflict: DuckDuckGo, Yahoo, Bing, Ecosia, Twitter, and Wikipedia.
So, I presume there is a certain trick in convincing PM to use the changed ddg search. Or do I just have to restart PM? Could be it still has the settings for the ddg search remembered, and after a restart it re-reads the ddg xml?
Cheers!
Yours Rava

User avatar
brokenman
Site Admin
Site Admin
Posts: 5575
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: Porteus donations - thank you for your support!

Post#11 by brokenman » 17 Nov 2016, 23:33

Did you update using the script in Porteus?

Code: Select all

update-palemoon
This should create the file you require. Everything should be in place. To test it, type a word directly into the URL bar in palemoon. It should search using duckduckgo and append the t=porteus string.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
FURRY_NOVA
Black ninja
Black ninja
Posts: 84
Joined: 11 Aug 2016, 17:26
Distribution: Porteus XFCE v3.2 i586
Location: United Kingdom

Re: Porteus donations - thank you for your support!

Post#12 by FURRY_NOVA » 18 Nov 2016, 03:39

I've just tested Palemoon. The address bar and search engine bar both add "t=porteus" to the url query. The start.me page search adds "t=palemoonsp" instead though.
New to Linux but learning. Hoping to help out Porteus community. :)

User avatar
francois
Contributor
Contributor
Posts: 5081
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: Palemoon: updated or not updated, and other consideratio

Post#13 by francois » 18 Nov 2016, 21:36

Brokenman wrote:

Test update-palemoon on 64bit and everything is working when typing something into the default duckduckgo search bar. The porteus string is appended automatically by default.

Nota bene:
Sorry folks, the moderator had some difficulty with moving this post from brokenman.
Voltaire: Le mieux est l'ennemi du bien.

Bogomips
Full of knowledge
Full of knowledge
Posts: 2563
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: Palemoon: updated or not updated, and other consideratio

Post#14 by Bogomips » 19 Nov 2016, 19:25

OK now able to confirm:
  • Palemoon Off the Shelf

    Code: Select all

    https://duckduckgo.com/?t=palemoon&q=linux+boot+kernel+parameters GET https://duckduckgo.com/s1222.css
    https://duckduckgo.com/?t=palemoon&q=linux+boot+kernel+parameters GET https://duckduckgo.com/r1222.css
    https://duckduckgo.com/?t=palemoon&q=linux+boot+kernel+parameters GET https://duckduckgo.com/locales/en_US/LC_MESSAGES/duckduckgo-duckduckgo+sprintf+gettext+locale-simple.20161118.114529.js
    https://duckduckgo.com/?t=palemoon&q=linux+boot+kernel+parameters GET https://duckduckgo.com/d2020.js
    https://duckduckgo.com/?t=palemoon&q=linux+boot+kernel+parameters GET https://duckduckgo.com/g1520.js
  • Palemoon Porteus Doctored

    Code: Select all

    https://duckduckgo.com/?t=porteus&q=linux+boot+kernel+parameters GET https://duckduckgo.com/s1222.css
    https://duckduckgo.com/?t=porteus&q=linux+boot+kernel+parameters GET https://duckduckgo.com/r1222.css
    https://duckduckgo.com/?t=porteus&q=linux+boot+kernel+parameters GET https://duckduckgo.com/locales/en_US/LC_MESSAGES/duckduckgo-duckduckgo+sprintf+gettext+locale-simple.20161118.114529.js
    https://duckduckgo.com/?t=porteus&q=linux+boot+kernel+parameters GET https://duckduckgo.com/d2020.js
    https://duckduckgo.com/?t=porteus&q=linux+boot+kernel+parameters GET https://duckduckgo.com/g1520.js 
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

Post Reply