Closed elizagamedev closed 1 year ago
Mmh nice catch. This is something that should definitively be implemented.
@elizagamedev I opened a PR with the requested changes. I think it was an error to store the layouts.json file in the extension directory anyway, so I changed it in favor of ~/.config, or whatever the user_config_dir is. Could you test the PR to see if it works on your side? I'm also downloading an ISO of NixOS (which I've never used before) to test it, but a test from an experienced NixOS user would be best.
In the future, I'd like to store everything in dconf as it is cleaner and avoids these sorts of problems.
I'll close the issue. Feel free to reopen it if this does not solve the problem.
Thank you for the quick fix! I'll try this out on Nix.
Some Linux distros package gSnap upstream, like NixOS. Unfortunately, gSnap assumes that its own directory is user-writable, which is not the case when installing as a system package. In such cases, an error like the following is thrown shortly after enabling gSnap:
Perhaps instead of storing data in this directory, the next version of gSnap could instead store it somewhere in
$XDG_CONFIG_DIR
with some backwards-compatibility glue?