Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where are local settings stored for the non-flatpak version of celluloid? #907

Open
MichaelSebero opened this issue Nov 9, 2023 · 6 comments

Comments

@MichaelSebero
Copy link

Expected Results: a config file in /home/.config/celluloid

@MichaelSebero
Copy link
Author

I'm trying to export a specific celluloid configuration to a dotfile repo.

@gnome-mpv
Copy link
Collaborator

Settings are stored in the dconf database. You can export Celluloid's settings by running dconf dump /io/github/celluloid-player/celluloid/.

@MichaelSebero
Copy link
Author

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?

@gnome-mpv
Copy link
Collaborator

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.

@MichaelSebero
Copy link
Author

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?

@gnome-mpv
Copy link
Collaborator

There's also the dconf database file at ~/.config/dconf/user, but that's shared by all applications that use GSettings (most GTK applications).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants