- At last! Mozilla fixing longstanding bugs! (I jest)
The devil is in the details though: https://hg-edge.mozilla.org/integration/autoland/diff/8a6d6c...
Looking briefly at this,
* there doesn't appear to be any migration from old directory to new directory. Does the code just use ~/.mozilla if it still exists, ~/.config/mozilla otherwise.. or does it _require_ MOZ_LEGACY_HOME=1 to be set to keep using your existing config, and just lose all config if you don't set that?
* there doesn't appear to be a proper split between ~/.cache (always-removable cached data) ~/.config (configuration) and ~/.local/share (application data that is not user-editable configuration and is not just cached data either), they just moved the entire set of profile stuff to ~/.config
Is that about right, or do I need to read the code more carefully?
by darkamaul
4 subcomments
- This is a meaningful step! For years, XDG Base Directory compliance has been spotty across major applications. Firefox's adoption matters because it's widely used and its implementation may encourage others to follow suit.
The Arch Wiki documentation will likely need updates [1], but sadly the list of non-compliant software is far too long.
[1]: https://wiki.archlinux.org/title/XDG_Base_Directory
- that's great!
The ~/.mozilla folder is one of the last remaining dotfiles in my home directory
$ ls -a ~
. .. .bashrc .mozilla .profile .ssh bak config local pro src
You can also be an xdg ninja if you want: https://github.com/b3nj5m1n/xdg-ninjaAnnoyingly, many programs hardcode ~/.config and ~/.local (instead of using XDG_CONFIG_HOME etc) and try to recreate them every time they run. This is a good indication to stop using these careless programs!
- This is great news. Firefox respects the system-defined folders on Windows and macOS. Linux, being the free spirit it is, doesn't have a 'standard'. XDG makes recommendations that make a certain amount of sense and aligning to that is a great step forward for such a large project.
by johnisgood
2 subcomments
- About time. Every piece of software should be XDG-compliant. I am surprised it was not the case at all to begin with.
- This is awesome! Been tracking the bug for what seems like Gimp 3 levels of time. But great job all involved.
by andriamanitra
1 subcomments
- First .mkv support and now this! I really like what Firefox has been doing recently. The only major annoyance that still remains is hard-coded keyboard shortcuts, fingers crossed!
by shevy-java
1 subcomments
- Not bad - with a delay of only 21 years, Firefox is just about to make a strong come back now. :D
by AdmiralAsshat
1 subcomments
- I wonder if the original reporter is still around to see their enhancement ticket closed?
by phoronixrly
0 subcomment
- Bug report: https://bugzilla.mozilla.org/show_bug.cgi?id=259356
Source: https://hg-edge.mozilla.org/integration/autoland/rev/8a6d6c0...
- I am wondering what other long standing bug or feature that is still missing on Firefox.
Firefox excel in terms of Multi Tab and memory usage. And I have yet to encounter a rendering issues in the past 12 months.
by PaulDavisThe1st
0 subcomment
# export XDG_CONFIG_HOME $HOME
though more seriously # export XDG_CONFIG_HOME $HOME/config
why another dotfile dir?
- Let's hope this will inspire other software developers to follow conventions and move their configs to appropriate directories.
- Sincere congrats! It only took 21 years.
by sam_lowry_
0 subcomment
- So... did they also implement the horrendous quirk of Chrome that breaks XDG when XDG_DESKTOP_DIR and XDG_DOWNLOAD_DIR point to the same directory? It probably costed a combined million hours wasted and made many people genuinely hate Linux
See here https://github.com/chromium/chromium/blob/5e4e38173b33159b0e...
by jaredhallen
0 subcomment
- Will it stop enabling dns over https by default?
by s1mplicissimus
0 subcomment
- bless them
- [dead]
- Now that everyone is kindly on board, IBM can finally bury this standard. /s
by jason-richar15
0 subcomment
- [flagged]
- I think the XDG spec is pretty petty. What difference does it make that the files are in ~/.config/mozilla instead of ~/.mozilla? And calling it a bug is presumptuous.
by codedokode
6 subcomments
- I don't like Unix filesystem structure in general. What's the point of having directories like /usr or /lib in the root directory, when they could be all under for example, /ubuntu24? And the user could keep files in the root directory and not in /home with lot of system files.
Also I don't like that some distributions suggest partitioning a drive. This is inconvenient, because you can run out of space at one partition, but have lot of free space at another. It simply doesn't make sense. And if you have swap as a partition, you get slightly faster access, but cannot change the size!