<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi Utkarsh,</p>
<p>Perhaps this is an area for improvement in Sugar. The journal
datastore was designed to be more than it is now (see the git
backend discussion).</p>
<p>I always found very silly how Sugar tries very hard to hide files
(even from the command line) when, in fact, it stores journal
objects as files.</p>
<p>It should be relatively simple to modify the Journal to save its
objects as regular files, and store the metadata in "filesystem
extended attributes" (please look that up). I believe this would
relieve a lot of confusion (in the ground) around the journal
(like you are having). Perhaps Tony and the community can be
convinced this is a good idea to implement.<br>
</p>
<p>Please read in detail the Sugar Human Interface Guidelines, which
describe the Sugar design in detail. Also read James Simmons
Make-Your-Own-Sugar-Activities which describes a good attempt to
make sense of the implementation from a Sugar Activity developer
perspective.<br>
</p>
With regards to the Documents directory, <i>use the source, </i>look
up in the journal code exactly how it decides. A good, standards
compliant implementation would use the result of the `<tt>xdg-user-dir
DOCUMENTS</tt>` command. Are you using system Sugar packages or
sugar-build? sugar-build probably overrides this.<br>
<br>
Regards,<br>
Sebastian<br>
<br>
<div class="moz-cite-prefix">El 22/05/16 a las 05:55, Tony Anderson
escribió:<br>
</div>
<blockquote cite="mid:5741901B.8060400@usa.net" type="cite">Hi,
Utkarsh
<br>
<br>
I may not be able to help. I am testing on an XO. However, the
object is not to use direct paths which may vary between SOAS and
Sugar on an XO.
<br>
<br>
Documents should be ~/Documents.
<br>
Journal objects are stored in ~/.sugar/default/datastore. However,
if you only reference the datastore with the datastore class -that
shouldn't be important.
<br>
<br>
So you can write them with datastore to the Journal. For
Documents, I use ~/Documents but there is a way to change the
'mount' in the datastore to use the
<br>
Documents folder (or to use a USB key).
<br>
<br>
Tony
<br>
<br>
On 05/22/2016 12:27 PM, Ütkarsh Tiwari wrote:
<br>
<blockquote type="cite">Hi,
<br>
I am unable to find the location where the sugar-build
stores the
<br>
Documents and Journal objects. I would also like to know how to
copy
<br>
the external files (.html, .txt, .png, .zip files - outside
<br>
sugar-build) to Journal or Documents.
<br>
<br>
P.S- I am on Ubuntu 15.04
<br>
<br>
Thanks,
<br>
Utkarsh Tiwari
<br>
_______________________________________________
<br>
Sugar-devel mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.sugarlabs.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.sugarlabs.org/listinfo/sugar-devel">http://lists.sugarlabs.org/listinfo/sugar-devel</a>
<br>
</blockquote>
<br>
_______________________________________________
<br>
Sugar-devel mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.sugarlabs.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.sugarlabs.org/listinfo/sugar-devel">http://lists.sugarlabs.org/listinfo/sugar-devel</a>
<br>
</blockquote>
<br>
</body>
</html>