Preference Folder location


Posting rules: It shouldn't need saying, but... play nice. Please keep your discussions civil. You can disagree, just don't be disagreeable. And, of course, all of the usual stuff like no spamming. Tex adds: I'll be rigorously enforcing this as we go along. We're probably going to be a small community in a little lifeboat, so we can't have members at each others' throats. This is for the sake of the project as a whole. So when you post, pretend you're speaking in person with your very wealthy auntie who has always treated you wonderfully and currently lists you prominently in her will. I won't be tossing anyone out of the forums because we are all in this together (except spammers: immediate membership cancelation), but I'll delete suspect posts right away.


6 posts / 0 new
Last post
Partha
Preference Folder location

I have a fairly simple question. I am trying to figure out where are the LZ preferences saved. I mean, which folder, location on hard drive, etc.

Does anyone know offhand, the answer to this question for Windows and Mac?

TIA,
Partha

Jacal
On Windows,

they seem to be written to the registry, look at

HKEY_CURRENT_USER\Software\JavaSoft\Prefs\com\lightcrafts

This key gets deleted, when one resets the settings.

Templates and the log are in Documents\LightZone, Caches are in AppData\Roaming\LightZone.

J.

Partha
J,

J,

Thanks for your response! I appreciate it.

This to me seems like a dangerous practise - writing into the registry.

Is there a way to consolidate all settings into a more standard locations? For example, can the following be done?

Write everything to AppData\Roaming\LightZone:
Templates in AppData\Roaming\LightZone\Templates;
Logs in AppData\Roaming\LightZone\Logs
Preferences in AppData\Roaming\LightZone\Preferences

Jacal
I see, what you mean,

but this is actually a question for the developers.

On Ubuntu, I found the settings under

~/.java/.userPrefs/com/lightcrafts

in multiple prefs.xml files in different subdirectories.

Templates are in

~/.local/share/LightZone/Templates/

Caches in

~/.lzncache/

 

Partha
You are right of course. I

You are right of course. I was hoping that the developers read this forum as well. I'll post on github.

Thanks again,
Partha

Jacal
It might take some time,

our overwhelmed main developer reads both the forum and github. As far as I know, his time is very limited currently, but he always emerges, when he can. Posting on github is preferred, I suppose.