LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, Proxmox, Debian, CentOS, Ubuntu MATE
Posts: 1,008

Rep: Reputation: Disabled

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: 6,121

Rep: Reputation: 3815Reputation: 3815Reputation: 3815Reputation: 3815Reputation: 3815Reputation: 3815Reputation: 3815Reputation: 3815Reputation: 3815Reputation: 3815Reputation: 3815
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.
 
1 members found this post helpful.
Old 07-15-2019, 10:32 AM   #78
ZhaoLin1457
Member
 
Registered: Jan 2018
Posts: 321

Rep: Reputation: 281Reputation: 281Reputation: 281
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.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 03:59 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration