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

Add Import/Export of settings and game configuration #527

Open
adrianlopezgalera opened this issue Jan 6, 2021 · 3 comments
Open

Add Import/Export of settings and game configuration #527

adrianlopezgalera opened this issue Jan 6, 2021 · 3 comments

Comments

@adrianlopezgalera
Copy link
Contributor

Hi!

I don't want to overburden you, because another user has proposed many interesting features a few days ago. I haven't seen any way to export your settings for the games installed or the program itself. It would be very useful in case of reinstalling or install GameHub on another computer in order to avoid to repeat custom options for each game.

Regards.

@Lucki
Copy link
Contributor

Lucki commented Jan 6, 2021

Moving or backing up the database should be enough.
It's currently located at ${XDG_CACHE_HOME:-$HOME/.cache}/com.github.tkashkin.gamehub but will be moved with the next major version, probably to ${XDG_DATA_HOME:-$HOME/.local/share}/com.github.tkashkin.gamehub.

@tkashkin
Copy link
Owner

tkashkin commented Jan 6, 2021

You can also export settings and access tokens:

Export: dconf dump /com/github/tkashkin/gamehub/ > gamehub_settings
Import: dconf load /com/github/tkashkin/gamehub/ < gamehub_settings

@adrianlopezgalera
Copy link
Contributor Author

adrianlopezgalera commented Jan 7, 2021

Thank you very much to both of you! Now I know where it is and how to backup and restore it. Is there any plan to add this option to the "settings" menu? I think that newbies or non-developer people maybe need a easy way. Obviously, I understand that it's not a priority and it takes time.

I want to write an article soon about your program with the purpose of making it known among some GNU/Linux gamers of Spain (where I'm from).

By the way, I don't know if you saw another comment from me here. Just for pointing out: #413 (comment)

Thanks again!

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

3 participants