-
Notifications
You must be signed in to change notification settings - Fork 13
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
Create hidden config directory under Linux #5
Comments
Actually, the standard on GNU/Linux is to use:
Just search for freedesktop.org standards and you'll see. |
Right: we'll need to create platform-specific behavior like we're already doing for OSX. In the meantime, a workaround is to set the "com.trsst.client.storage" and "com.trsst.server.storage" runtime properties at the command line, like so: java -Dcom.trsst.client.storage="~/.trsstd" -jar target/trsst-client-0.2-SNAPSHOT-exe.jar |
By way of background, we used to use trsstd for everything, but separated out the 'Keyfiles' as things that you do not want to delete, like your keystore and original copies of your feed and entries. You usually don't want to delete the 'System Cache' either, because it's an off-line copy of all the feeds you're following as well as full-text search indexes of each, but you could delete it and still function. So I'm not sure if "Cache" is the right word for that. |
You can delete with no major harm, then it goes into the cache folder, even if the term is not accurate. Imagine the cache folder as a way to free space used by tools like that CCleaner from Windows. Or also if the user wants to move config file from one machine to another. It'll transfer less files to his low-speed pen drive if he only copy the And users don't delete the contents of this folder frequently, then it shouldn't increase the server load significantly. And increasing background info, it's not uncommon for applications to merge |
On starting the client on Linux, it creates two directories ("Trsst Keyfiles" and "Trsst System Cache") in the user's home directory.
It would be great if these directories could - conforming to usual Linux standards - be created as subdirectories of a hidden directory, e.g. ".trsst".
The text was updated successfully, but these errors were encountered: