Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PBM: Firefox/Aurora keeps overriding my default profile!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
VinzC
Advocate
Advocate


Joined: 17 Apr 2004
Posts: 4974
Location: Dark side of the mood

PostPosted: Mon Mar 02, 2015 8:43 pm    Post subject: PBM: Firefox/Aurora keeps overriding my default profile! Reply with quote

Hi all.

I've just upgraded Firefox from 30 to 35 to check an issue I had with a web site. Ever since Aurora keeps creating a profile named "dev-edition-default" and uses it instead of my regular, default profile. At first I thought it had erased my regular profile... until I remembered to run firefox -profileManager. So I did fire up the profile manager, deleted the intruding profile along with all of its files and started with my regular profile again.

Problem solved, right? Well, thought so...

Today I fired up Firefox/Aurora again and *bam*! Here comes the dev-edition-default again! Checked my firefox profiles in my home directory, a corresponding folder had been created! once! again! 8O

Fact is: that **** creates a new profile in $HOME/.mozilla/firefox and, if I don't run the profile manager at first, uses it anyway, regardless of what the true default profile is:
.mozilla/firefox/profiles.ini:
[General]
StartWithLastProfile=1

[Profile0]
Name=default
IsRelative=1
Path=2knr381s.default
Default=1

[Profile1]
Name=Safe
IsRelative=1
Path=6ww4vveu.Safe

[Profile2]
Name=dev-edition-default
IsRelative=1
Path=nlo584wi.dev-edition-default

I can delete the profile but it's not erased from the disk. I can edit profiles.ini, remove the reference to dev-edition-default and recursively delete the profile directory, it is re-created everytime I launch Aurora!

My question is: wtf is that damn profile and how can I get rid of it for good :evil: ?
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!


Last edited by VinzC on Tue Mar 03, 2015 7:54 am; edited 1 time in total
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5591

PostPosted: Mon Mar 02, 2015 9:03 pm    Post subject: Reply with quote

That's the default profile when you explicitly install Firefox Developer Edition, as the release notes pointed out a few months ago. If you want to share data between your normal Firefox and the unstable channel, set up Sync.

If you want to get rid of it, simply install the "stable" version of Firefox, which is now 36.
Back to top
View user's profile Send private message
VinzC
Advocate
Advocate


Joined: 17 Apr 2004
Posts: 4974
Location: Dark side of the mood

PostPosted: Mon Mar 02, 2015 10:56 pm    Post subject: Reply with quote

Ant P. wrote:
That's the default profile when you explicitly install Firefox Developer Edition, as the release notes pointed out a few months ago. If you want to share data between your normal Firefox and the unstable channel, set up Sync.

If you want to get rid of it, simply install the "stable" version of Firefox, which is now 36.

Wait, I'm used to installing the latest (Gentoo-non-stable) version of Firefox since, what, years (or at least months) so I haven't explicitly done anything else than what I'm used to do and I never got some developer edition. Is it something new?

Here are my use flags, which I've been using for a couple of months/years now:
Code:
www-client/firefox      -minimal -system-sqlite bindist system-jpeg system-cairo system-icu system-libvpx

Anyway, I'm syncing at the moment and am going to throw version 36 in. Will see...
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
VinzC
Advocate
Advocate


Joined: 17 Apr 2004
Posts: 4974
Location: Dark side of the mood

PostPosted: Tue Mar 03, 2015 6:21 am    Post subject: Reply with quote

Hmmkay, upgrading to 36 didn't change a thing. I still get that Developer Edition.

I'll ask the question the other way around: «how do I install Firefox Developer Edition on Gentoo»? Or «What causes Developer Edition to be installed?»
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5591

PostPosted: Tue Mar 03, 2015 5:32 pm    Post subject: Reply with quote

That would be the +bindist flag, which is intended for distributing binaries to other users.
Back to top
View user's profile Send private message
VinzC
Advocate
Advocate


Joined: 17 Apr 2004
Posts: 4974
Location: Dark side of the mood

PostPosted: Tue Mar 03, 2015 6:19 pm    Post subject: Reply with quote

Ant P. wrote:
That would be the +bindist flag, which is intended for distributing binaries to other users.

Aaah, ok. Then IMHO the USE flag definition should be changed as it reads:
euse -i bindist # for Firefox wrote:
Disable official Firefox branding (icons, name)
which are not binary-redistributable according to upstream.

... quite misleading. Something like
Quote:
Compiles Firefox Developer Edition

... more suited to the reality of facts as it now does much more than stripping the property-protected items.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5591

PostPosted: Tue Mar 03, 2015 7:04 pm    Post subject: Reply with quote

That flag used to make sense, back when it installed Iceweasel branding for trademark compliance. Then some gentoo dev got lazy and changed it to mean "use whatever the beta version does because it isn't using trademarked logos"... except now it's exactly that.

It's as ridiculous as it sounds, and gentoo's leaving people in a position of questionable legality by not fixing it.
Back to top
View user's profile Send private message
VinzC
Advocate
Advocate


Joined: 17 Apr 2004
Posts: 4974
Location: Dark side of the mood

PostPosted: Tue Mar 03, 2015 9:39 pm    Post subject: Reply with quote

Well, I don't really care that much about the history of that flag. I just know that explicit is better than implicit so I'd say it's up to the end user to interpret what "Firefox Developer Edition" means and its benefits. Or drawbacks. If you take it logically what the use.desc says no longer is what it should. So a change to reflect what that use flag really does is useful. I'll go patch that file and submit it to Gentoo bugzilla. After that how long it takes to get incorporated, well, none of my concerns ;-) .

diff -Nau /portage/portage.d/www-client/firefox/metadata{,.bindist}.xml:
--- /portage/portage.d/www-client/firefox/metadata.xml   2015-02-26 23:01:19.000000000 +0100
+++ /portage/portage.d/www-client/firefox/metadata.bindist.xml   2015-03-03 22:35:09.333060253 +0100
@@ -3,8 +3,9 @@
 <pkgmetadata>
 <herd>mozilla</herd>
 <use>
-   <flag name="bindist">Disable official Firefox branding (icons, name) which
-      are not binary-redistributable according to upstream.</flag>
+   <flag name="bindist">Builds Firefox Developer Edition. See
+      https://developer.mozilla.org/Firefox/Developer_Edition
+      for more information.</flag>
    <flag name="custom-optimization">Fine-tune custom compiler
       optimizations (-Os, -O0, -O1, -O2, -O3)</flag>
    <flag name="gmp-autoupdate">Allow Gecko Media Plugins (binary blobs) to be automatically

Done
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
Barbieken
n00b
n00b


Joined: 22 Mar 2014
Posts: 62

PostPosted: Thu Mar 05, 2015 1:32 pm    Post subject: Reply with quote

easy to get rid of it for good

edit your mozilla profiles.ini and rename your profile to dev-edition-default

Code:

[General]
StartWithLastProfile=1

[Profile0]
Name=dev-edition-default
IsRelative=1
Path=zw33z3tw.default
Back to top
View user's profile Send private message
VinzC
Advocate
Advocate


Joined: 17 Apr 2004
Posts: 4974
Location: Dark side of the mood

PostPosted: Sat Mar 07, 2015 12:40 pm    Post subject: Reply with quote

Barbieken wrote:
easy to get rid of it for good

edit your mozilla profiles.ini and rename your profile to dev-edition-default

Good spot, Barbieken! Thanks for the hint. I've reverted Aurora to Firefox (in the end I have no reason to not accept Mozilla's terms) and recompiled it without bindist. I'll keep your suggestion though.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum