Running Linux Applications Under Sugar: Difference between revisions

Line 91: Line 91:
# Causes SeaMonkey to put the .mozilla directory in a
# Causes SeaMonkey to put the .mozilla directory in a
# place that is writable, and also where Rainbow wants
# place that is writable, and also where Rainbow wants
# it.  SUGAR_ACTIVITY_ROOT/data is a link to the same
# it.  SUGAR_ACTIVITY_ROOT/data is not directly suitable
# place, but it contains a reference to a user that will  
# since it contains a reference to a user that will  
# be destroyed on reboot, and SeaMonkey stores absolute  
# be destroyed on reboot, and SeaMonkey stores absolute  
# pathnames in its persistent data.
# pathnames in its persistent data.
export HOME="/home/olpc/isolation/1/gid_to_data_dir/$GROUPS"
export HOME=`/bin/ls -l $SUGAR_ACTIVITY_ROOT/data | /usr/bin/awk '{ print $10 }'`


# libgnomevfs ignores the HOME environment variable,
# libgnomevfs ignores the HOME environment variable,