Stories
Slash Boxes
Comments

SoylentNews is people

SoylentNews is powered by your submissions, so send in your scoop. Only 12 submissions in the queue.
posted by janrinok on Wednesday November 26, @05:55PM   Printer-friendly

https://linuxiac.com/mozilla-resolves-21-year-old-bug-adds-full-xdg-directory-support/

Firefox 147 adds support for the XDG Base Directory Specification, ending a 21-year wait and aligning the browser's Linux file storage with modern standards.

The upcoming Firefox 147 will introduce a long-requested change for Linux users by finally adopting the XDG Base Directory Specification, closing a bug that has been open for more than 21 years.

The update modernizes how the browser stores files on Linux systems and aligns its behavior with that of most desktop applications, which have been doing so for years. Here's what I'm talking about.

Until now, Firefox placed nearly all of its user files—settings, profiles, data, and cache—inside a single folder called ~/.mozilla in the user's home directory. This approach worked, but it also contributed to the familiar clutter many Linux users see when applications each create their own hidden folders.

At the same time, the XDG Base Directory Specification is a widely used standard that aims to organize those files cleanly. Instead of placing everything directly in a single directory, applications are encouraged to use three dedicated locations: one for configuration files, one for application data, and one for cache files. These are typically found under ~/.config, ~/.local/share, and ~/.cache.

Starting with Firefox 147, newly created profiles on Linux will follow this structure. Configuration files, long-term data, and temporary cache files will now be stored in their proper locations.

It's important to note that this doesn't affect existing users immediately: if a legacy ~/.mozilla folder already exists, Firefox keeps using it to avoid breaking profiles. But for anyone installing Firefox fresh or creating new profiles, the browser will behave like other modern Linux applications.

As I said in the beginning, the change also marks the end of one of the browser's longest-standing issues. Believe it or not, bug 259356 was first reported in 2003, and the request to support XDG directories has resurfaced repeatedly among Linux users and distributions over the years.

It is expected that this change will finally simplify file management, reduce home-folder clutter, and, most importantly, align the browser with the expectations of today's Linux environments.


Original Submission

 
This discussion was created by janrinok (52) for logged-in users only, but now has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 4, Insightful) by higuita on Wednesday November 26, @07:30PM

    by higuita (2465) on Wednesday November 26, @07:30PM (#1425287)

    my bet is that someone will make a script do do that migration, all depends if this requires changes in many files or just move files around

    Starting Score:    1  point
    Moderation   +2  
       Insightful=2, Total=2
    Extra 'Insightful' Modifier   0  
    Karma-Bonus Modifier   +1  

    Total Score:   4