celluloid
celluloid copied to clipboard
Where are local settings stored for the non-flatpak version of celluloid?
Expected Results: a config file in /home/.config/celluloid
I'm trying to export a specific celluloid configuration to a dotfile repo.
Settings are stored in the dconf database. You can export Celluloid's settings by running dconf dump /io/github/celluloid-player/celluloid/
.
Aright so I just export this configuration to /home/.config/celluloid? under what name should the configuration be for it to be recognized by the application?
You have to use dconf load
to load settings back in from the file. It won't be loaded automatically.
Alternatively, you can set the envvar GSETTINGS_BACKEND=keyfile
and settings will be automatically saved to ~/.config/glib-2.0/settings/keyfile
.
Not sure what I'm doing here... when I load the keyfile from the glib-2.0 directory the console freezes up. Are you sure there's no config file stored on the system which contains the celluloid configuration I could copy to overwrite it automatically on a new system which doesn't have my configuration yet?
There's also the dconf database file at ~/.config/dconf/user
, but that's shared by all applications that use GSettings (most GTK applications).