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

How can I purge *all* settings? #919

Closed
tomicakorac opened this issue Jul 16, 2022 · 4 comments
Closed

How can I purge *all* settings? #919

tomicakorac opened this issue Jul 16, 2022 · 4 comments
Labels
question Further information is requested

Comments

@tomicakorac
Copy link
Contributor

tomicakorac commented Jul 16, 2022

Question:
How can I remove any and all traces of Foliate having ever existed on my system?

The issue I'm facing:

  • I uninstall Foliate (apt purge foliate)
  • I search system-wide for *(F|f)oliat* and permanently delete each and every instance of found results
  • I re-install Foliate (apt install foliate)
  • My old app settings are magically back!

I want to nuke all of Foliate data and make a clean install. How can I do that? Which are all the places that Foliate uses to store config, cache, data and any other traces of its existance?

Version:

  • Foliate version: Latest
  • OS/Distribution and version: Ubuntu 22.04
  • Desktop environment: GNOME Shell 42
  • Installation method: PPA
@tomicakorac tomicakorac added the question Further information is requested label Jul 16, 2022
@johnfactotum
Copy link
Owner

Run gsettings list-recursively com.github.johnfactotum.Foliate.

Or use dconf Editor, navigate to /com/github/johnfactotum/, right click on Foliate, and select "Reset recursively".

@tomicakorac
Copy link
Contributor Author

Thank you.

@in-in
Copy link

in-in commented Jan 15, 2024

gsettings list-recursively com.github.johnfactotum.Foliate
No such schema “com.github.johnfactotum.Foliate”

@johnfactotum
Copy link
Owner

johnfactotum commented Jan 15, 2024

list-recursively was a typo. Should be reset-recursively.

"No such schema" means that GSettings is not aware of the settings, because the schema isn't installed. This could happen if

  1. You've uninstalled Foliate, in which case you should run it after reinstalling.
  2. You're running Foliate without installing, in which case you need to run gsettings with the --schemadir option with the schema directory that you're running Foliate with.
  3. You're using Flatpak, in which case you need to either run gsettings inside the app's sandbox, or you can just edit or delete ~/.var/app/com.github.johnfactotum.Foliate/config/glib-2.0/settings/keyfile.

Alternatively, in the first two cases, use dconf-editor, with which you can purge the settings whether the schema exists or not.

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

No branches or pull requests

3 participants