LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-14-2019, 07:50 PM   #76
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Rep: Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162

The changes in Firefox 68 perturbed me. Both for home use and at work where I support other users.

I don't like the upstream method of creating a new profile and setting that profile as the default. There are many discussions online about this new behavior, which started in FF 67. The idea is to support multiple profiles with multiple versions of Firefox installed. There are manual methods of restoring the original profile, but overall the default behavior is confusing for many users ("Whoa! What happened to my bookmarks!?").

I question the wisdom of this forced profile creation. I suspect a significant majority of Firefox users do not run multiple versions.

I found two ways to avoid creating a new profile when launching Firefox 68 for the first time. The first method is to hack the Firefox source code to produce a compiled binary that can create the required hash unique to each Firefox installation. That method is beyond my skills.

A second method is sneaky but effective. This method does not require generating a hash or manually using about : profile. Open a terminal window and run firefox --headless. Press Ctrl+C to terminate the instance. Then run Firefox normally from the GUI. With this approach Firefox generates the new installs.ini and amends profiles.ini without generating a new profile.

From what I can tell the hash generation code is in other-licenses/nsis/Contrib/CityHash/. I don't program in C++. I found this discussion.

Perhaps a C++ wizard can follow that discussion to provide instructions so others can create a compiled binary?

Seems the hash is reproducible within each distro/Firefox installation. For my Slackware Current VM this hash is 11457493C5A56847. I don't know if that hash is reproducible on other users' version of Current. Would other Current users please confirm? I got a different hash on a different distro but the hash is again reproducible.

The hash on my Slackware64 14.2 system is 30AA553C542FDB21. Would other Slackware64 14.2 users confirm?

A random 16 character hash can be created with cat /dev/urandom | tr -dc A-Z0-9 | head -c16. Firefox won't use that hash and seems designed only to use its own hash derived from the local Firefox install.
 
Old 07-15-2019, 03:21 AM   #77
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by ljb643 View Post
I don't know what would happen when a Slackware Firefox package tries to update itself from the Mozilla.com site. I don't intend to find out, either.
Firefox won't have the permission to update unless you run it as root. All the files are installed in locations that are not writeable by non-root users, so any attempts at using the built-in updater as a normal user will fail.

I haven't tried running the update as root, so I don't know what that might do, but at a minimum, it will screw up the package database.
 
2 members found this post helpful.
Old 07-15-2019, 10:32 AM   #78
ZhaoLin1457
Senior Member
 
Registered: Jan 2018
Posts: 1,045

Rep: Reputation: 1253Reputation: 1253Reputation: 1253Reputation: 1253Reputation: 1253Reputation: 1253Reputation: 1253Reputation: 1253Reputation: 1253
The Firefox shipped by Slackware will NOT update from Mozilla.org, even ran as root.

It will just show always that it is fully updated, no matter which is the latest Firefox version on Mozilla.org
 
3 members found this post helpful.
Old 10-16-2021, 09:53 AM   #79
~red
Member
 
Registered: Feb 2021
Location: This planet
Distribution: Arch Linux + GNOME, Slackware Current
Posts: 34
Blog Entries: 4

Rep: Reputation: Disabled
Lightbulb Firefox Developer Edition for Slackware

Quote:
Originally Posted by individual View Post
That's one way to do it. I modified the palemoon-bin SlackBuild to install Firefox Developer Edition.
Hey, in case anybody is interested on installing Firefox Developer Edition instead of main Firefox on Slackware too, I've written SlackBuild for it.

git clone https://github.com/RSKYS/SBo-git/tre...rk/firefox-dev

Cheers,

Last edited by ~red; 10-16-2021 at 06:15 PM. Reason: Modifying an owned SlackBuilds.
 
Old 10-16-2021, 10:05 AM   #80
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,125

Rep: Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200
FYI you don't need to use the archlinux's package, that's built from source on an archlinux OS...
you can download prebuilt binaries tarballs from mozilla, just like the normal edition of firefox

https://ftp.mozilla.org/pub/devediti...-x86_64/en-US/
 
Old 10-16-2021, 10:48 AM   #81
~red
Member
 
Registered: Feb 2021
Location: This planet
Distribution: Arch Linux + GNOME, Slackware Current
Posts: 34
Blog Entries: 4

Rep: Reputation: Disabled
Quote:
Originally Posted by ponce View Post
FYI you don't need to use the archlinux's package, that's built from source on an archlinux OS...
you can download prebuilt binaries tarballs from mozilla, just like the normal edition of firefox

https://ftp.mozilla.org/pub/devediti...-x86_64/en-US/
Yeah I know, but I prefered to do it this way
Everything seemed well, more ready
Icons, revoked updater and..

Edit:
Just incase, can I submit like as it is?
Although I'd like my previous SlackBuild's get pushed first

Regards, Pouria

Last edited by ~red; 10-16-2021 at 11:15 AM.
 
Old 10-16-2021, 11:10 AM   #82
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,668
Blog Entries: 19

Rep: Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490
Quote:
Originally Posted by upnort View Post
The hash on my Slackware64 14.2 system is 30AA553C542FDB21. Would other Slackware64 14.2 users confirm?
How do I find it out?
 
Old 10-16-2021, 02:20 PM   #83
TheRealGrogan
Member
 
Registered: Oct 2010
Location: Ontario, Canada
Distribution: Slackware, LFS, Manjaro (for gaming)
Posts: 570

Rep: Reputation: 413Reputation: 413Reputation: 413Reputation: 413Reputation: 413
Yeah, I think the updater only works when it's official builds. All the same, I don't need a useless piece of flotsam, so "ac_add_options --disable-updater" (in .mozconfig). It doesn't even try to check, or show that it's up to date, if I go to "about Firefox".

I also do ac_add_options --disable-crashreporter for good measure. Submitting crash reports for a personal build is of no use, and I can't say my firefox builds have ever crashed out of the blue, in all my years. Only once, when PGO+LTO stopped working when compiled with gcc, insta-segfault on opening. (I just use Clang and LLD now)
 
Old 10-17-2021, 01:41 AM   #84
usr345
Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 208
Blog Entries: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by TheRealGrogan View Post
Yeah, I think the updater only works when it's official builds. All the same, I don't need a useless piece of flotsam, so "ac_add_options --disable-updater" (in .mozconfig). It doesn't even try to check, or show that it's up to date, if I go to "about Firefox".
Do you compile Firefox by yourself? I also want to disable this junk.
 
Old 10-17-2021, 04:55 AM   #85
TheRealGrogan
Member
 
Registered: Oct 2010
Location: Ontario, Canada
Distribution: Slackware, LFS, Manjaro (for gaming)
Posts: 570

Rep: Reputation: 413Reputation: 413Reputation: 413Reputation: 413Reputation: 413
Quote:
Originally Posted by usr345 View Post
Do you compile Firefox by yourself? I also want to disable this junk.
Yes, I compile Firefox. I use my own custom .mozconfig and just send it to /opt/firefox. You can use the SlackBuild though, I just looked at it and I see it already has those options.

https://mirrors.slackware.com/slackw...zilla-firefox/
 
Old 10-17-2021, 05:36 AM   #86
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,981

Rep: Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556
Quote:
Originally Posted by TheRealGrogan View Post
Yes, I compile Firefox. I use my own custom .mozconfig and just send it to /opt/firefox. You can use the SlackBuild though, I just looked at it and I see it already has those options.

https://mirrors.slackware.com/slackw...zilla-firefox/
The source tree SlackBuild is what I use since we moved to the ESR version.
 
Old 10-18-2021, 12:00 PM   #87
twy
Member
 
Registered: Jun 2004
Distribution: Slackware64
Posts: 99

Rep: Reputation: Disabled
The old firefox 63 in slackware64-14.2 could really use an upgrade, an official patch package. Google maps 3D "global view" refuses to work with firefox 63. I have tried newer browsers from 3rd parties (chrome, chromium, and a newer firefox), and they all work with 3D global view. Just firefox 63 does not anymore. It is too old I guess. Sad.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: LibreOffice 6.1 Now Available, Facebook Open-Sourcing Fizz, Firefox Advance Is Latest Test Pilot Experiment, Dart 2.0 Stable Released LXer Syndicated Linux News 0 08-09-2018 01:20 AM
[SOLVED] Slackware 14.2 and latest stable Mesa giomat Slackware 11 02-12-2018 07:40 PM
What is more stable: Slackware or Debian Stable ? Xeratul Slackware 100 11-14-2015 10:07 PM
Ubuntu "9.04" EeePC 1000H latest Firefox latest Flash unreliable DalePace Linux - Laptop and Netbook 1 08-23-2009 02:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration