Is there a add-on or something to store my about:config settings in cloud so when i distrohop i dont have to set it manually?

You are viewing a single thread.
View all comments
3 points
*

Put the changes in a user.js file in your Firefox profile directory (the same one that probably already has prefs.js and logins.js).

Use this format (same as about:config):

user_pref("dom.security.https_only_mode", true);
user_pref("ui.systemUsesDarkTheme", 1);

Then sync or backup the whole directory, excluding the “cache” subdirectories to save space.

(Pet peeve: Firefox, please use $HOME/.cache/ like every other app!)

You might try losing everything but the .json and .sqlite files. Have not checked, but that is probably enough. Only missing paths are regenerated when you launch Firefox.

permalink
report
reply
3 points
*

(Pet peeve: Firefox, please use $HOME/.cache/ like every other app!)

set browser.cache.disk.parent_directory to /home/<user>/.cache/firefox

note: if you use flatpak you might need to allow access to this directory

permalink
report
parent
reply
3 points

Thanks. This spurred some research and I decided to disable the disk cache entirely instead:

user_pref("browser.cache.disk.enable", false);
user_pref("browser.cache.disk.smart_size.enabled", false);
user_pref("browser.cache.disk_cache_ssl", false);
user_pref("browser.cache.offline.enable", false);
user_pref("browser.cache.memory.enable", true):
user_pref("browser.cache.memory.capacity", 512000);

Seems an easy way to avoid the SSD churn and syncing issues, since today’s fast internet connections make disk caching less useful. That may be wrong but so far it seems as fast as ever.

permalink
report
parent
reply
2 points

just to complete this line of though, one could also use a ramdisk as the cache directory, that should have the same effect as the prefs.

permalink
report
parent
reply

Firefox

!firefox@lemmy.ml

Create post

A place to discuss the news and latest developments on the open-source browser Firefox

Community stats

  • 1.7K

    Monthly active users

  • 926

    Posts

  • 17K

    Comments

Community moderators