Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Python 2.7 removal : problem with Firefox + Spidermonkey
Date: Sun, 02 Aug 2020 10:22:51
Message-Id: 20200802102216.GA19490@waltdnes.org
In Reply to: Re: [gentoo-user] Python 2.7 removal : problem with Firefox + Spidermonkey by james
1 On Sat, Aug 01, 2020 at 11:08:47PM -0400, james wrote
2 > On 8/1/20 12:10 PM, Walter Dnes wrote:
3 > >
4 > > So a "palemoon-bin" ebuild is possible. But is it necessary? If
5 > > you pull down and extract the precompiled tarball to your home dir, it
6 > > can be set to check for, and do, updates (as long as you have write
7 > > permission to the Pale Moon directory). No need for portage to do it.
8 >
9 > Further security ideas with palemoon are of keen interest to me too. A
10 > set of local security testing tools/semantics etc etc would be useful;
11 > pointers to existing security tools are keen appreciated too.
12
13 The best security advice for the average user is to keep up with the
14 latest updates. See http://www.palemoon.org/releasenotes.shtml for an
15 idea of feature updates and security and bug fixes with each release.
16 To keep up-to-date *ON AN OFFICIAL BINARY* follow the menu tree...
17
18 Tools ==> Preferences ==> Advanced ==> Update
19
20 ...and select the appropriate option. See
21 http://www.palemoon.org/support/prefs-advanced-update for an explanation.
22 If you install the official binary manually in your home dir (or
23 anywhere else you have write permission), Pale Moon can do in-place
24 updates. If you do it "the official Portage way") the installed files
25 will end up somewhere in /usr/ and you, as regular user, cannot
26 authorize the update. Since you're talking about security, I assume
27 you're not browsing as root.
28
29 Another thing to note is that the Pale Moon devs are currently
30 "de-unifying the source". This means that over time, manual builds will
31 take longer and longer to compile, especially on older machines with low
32 ram. Unifying source speeds up compile-time, but... large monolithic
33 source files make bugs and error messages a lot harder to track down.
34 Run-time performance is not affected.
35
36 tldr; the quickest/dirtiest/securest way to deal with Pale Moon (e.g.
37 for 64-bit) is...
38
39 mkdir $HOME/pm
40 cd $HOME/pm
41 #
42 # Download the official tarball from http://linux.palemoon.org/download/mainline/
43 #
44 # Stop Pale Moon and "uninstall" and extract
45 killall palemoon
46 rm -rf palemoon
47 tar xf <tarball_file_name>
48
49 ...and point your program launcher to
50
51 $HOME/pm/palemoon/palemoon ${*}
52
53 If you want to get fancy and run multiple profiles simultaneously you
54 can pass commandline parameters like...
55
56 $HOME/pm/palemoon/palemoon -new-instance -p 680_news
57 $HOME/pm/palemoon/palemoon -new-instance -p covid
58 $HOME/pm/palemoon/palemoon -new-instance -p dslr
59 $HOME/pm/palemoon/palemoon -new-instance -p slashdot
60 $HOME/pm/palemoon/palemoon -new-instance -p youtube
61
62 Note that these profiles have to already exist. To launch the profile
63 manager to enable profile creation...
64
65 $HOME/pm/palemoon/palemoon -new-instance -p
66
67 Multiple profiles have advantages...
68
69 1) You can get multiple specified webpages to open up on startup that
70 are related to one item. Hint; In "Tools ==> Preferences ==> General"
71 you can set "Home Page" like so...
72
73 http://bad.example.com | ftp://blah.blah.blah.com | https://youtube.com
74
75 ...etc, etc. Multiple webpages are separated by {SPACE} {PIPE} {SPACE}.
76 I've got some really long lines on one or two profiles.
77
78 2) 3rd-party cookies in one profile cannot be accessed by webpages in
79 another profile. This reduces the effectiveness of tracking.
80
81 3) Add-ons only apply to the profile they're downloaded to. The only
82 one I use is ANM "Advanced Night Mode"
83 https://addons.palemoon.org/addon/advanced-night-mode/
84 Some webpages are run by idiot webmasters who set "low contrast" fonts
85 to something bordering on...
86 FONT FOREGROUND #FEFEFE
87 FONT BACKGROUND #FFFFFF
88
89 ANM cures that by forcing white text on black background. This
90 add-on is specific to Pale Moon. The add-on works only in profile(s)
91 it's downloaded to, so sane webpages can be left alone. Actually, even
92 sane webpages sometimes look better with ANM.
93
94 --
95 Walter Dnes <waltdnes@××××××××.org>
96 I don't run "desktop environments"; I run useful applications

Replies

Subject Author
Re: [gentoo-user] Python 2.7 removal : problem with Firefox + Spidermonkey james <garftd@×××××××.net>