Collection location

3 Messages Forum Options Options
Embed this topic
Permalink
C.W. Holeman II
Collection location
Reply Threaded MoreMore options
Print post
Permalink
"Creating a collection"
http://wiki.laptop.org/go/Library_bundles:

> Collections currently unpack into a directory under /home/olpc/Library

I have installed Sugar on Ubuntu. There is no /home/olpc/. Where does a
bundle go?

--
C.W.Holeman II | cwhii_cplo@...  | http://JulianLocals.com/cwhii
 To only a fraction of the  human  race does God  give the  privilege of
 earning one's bread doing what one would have  gladly pursued free, for
 passion. I am very thankful. The Mythical Man-Month Epilogue/F.P.Brooks
_______________________________________________
Library mailing list
Library@...
http://lists.laptop.org/listinfo/library
S Page-2
Re: Collection location
Reply Threaded MoreMore options
Print post
Permalink
C.W. Holeman II wrote:
> "Creating a collection"
> http://wiki.laptop.org/go/Library_bundles:
>
>> Collections currently unpack into a directory under /home/olpc/Library
>
> I have installed Sugar on Ubuntu. There is no /home/olpc/. Where does a
> bundle go?

In 8.2.0,
bundle/contentbundle.py installs in env.get_user_library_path() , which
is os.path.expanduser('~/Library').

I don't know what user Sugar runs as on Ubuntu.
Can you run Sugar Control Panel's Software Update dialog?

As an alternative, I think you can still put library content in
/usr/share/sugar/activities and the library-common/make_index.py script
will add it to the OLPC library on the home page (does that even exist
in Sugar on Ubuntu?).

Hope this helps,
--
=S Page
_______________________________________________
Library mailing list
Library@...
http://lists.laptop.org/listinfo/library
Tomeu Vizoso
Re: Collection location
Reply Threaded MoreMore options
Print post
Permalink
In reply to this post by C.W. Holeman II
On Fri, Oct 24, 2008 at 9:47 PM, C.W. Holeman II
<cwhii_cplo@...> wrote:
> "Creating a collection"
> http://wiki.laptop.org/go/Library_bundles:
>
>> Collections currently unpack into a directory under /home/olpc/Library
>
> I have installed Sugar on Ubuntu. There is no /home/olpc/. Where does a
> bundle go?

Sugar on Ubuntu runs as your own user on the machine, so 'cd
~/Library'  will take you there. For activities, would be
~/Activities.

Perhaps a better place to ask about Sugar on non-XO would be
sugar@... and/or iaep@....

Good luck,

Tomeu
_______________________________________________
Library mailing list
Library@...
http://lists.laptop.org/listinfo/library