<div class="gmail_extra"><div class="gmail_quote">On 3 December 2012 00:18, David Nečas <span dir="ltr"><<a href="mailto:yeti@physics.muni.cz" target="_blank">yeti@physics.muni.cz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
but according to it the same file belongs to different places, depending<br>
on how the user have come to its possession: If the user wrote a script<br>
himself, he will be crying if it is deleted. So it must go to<br>
XDG_DATA_HOME. But if exactly the same script is installed as an<br>
extension it should go to XDG_CONFIG_HOME. So directories must be<br>
duplicated between XDG_DATA_HOME and XDG_CONFIG_HOME. Which means<br>
people will put their scripts to one or another randomly (you cannot<br>
really stop them if both work) defeating the distinction.<br>
<br>
What if the user installs an extension and, later, decides to modify it?<br>
Does he have to move it from XDG_CONFIG_HOME to XDG_DATA_HOME because it<br>
becomes valuable now?</blockquote></div><br>I think this is making a mountain out of a molehill. Of course there are things that don't fit neatly into the categories - that's a problem common to almost any categorisation. It doesn't mean the categories themselves are worthless. You have to make some decisions about where things go, and other people might disagree with those decisions.<br>
<br>In these cases, I would personally decide:<br><br>For your scripts: if the scripts are the main focus of the program (e.g. it's some kind of IDE), they are data. If they are extensions for something like a media player, they are config - and should the user write their own, it's up to them to ensure it's saved elsewhere, in a VCS, on a plugins site, or whatever.<br>
<br>From the mplayer bug, I would say skins are config - losing them would be an annoyance, not a disaster. I'm not sure about the 'registry', but I'd be inclined to put it under data.<br><br>Best wishes,<br>
Thomas<br></div>