<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Well, allmost ;-) ...<br><br>> From: bert@freudenbergs.de<br>> To: devel@lists.laptop.org<br>> Date: Mon, 31 Mar 2008 09:58:14 +0200<br>> CC: sugar@lists.laptop.org<br>> Subject: Re: [sugar] Update.1 RC3: candidate-703 Published!<br>> <br>> <br>> On 31.03.2008, at 05:06, Joshua Minor wrote:<br>> > On Mar 30, 2008, at 7:35 PM, Stefan Reitz wrote:<br>> ><br>> >> > .. or you can use Bert's script:<br>> >> ><br>> >> > wget dev.laptop.org/~bert/update-activities.py<br>> >> no problem<br>> >><br>> >> > python update-activities.py<br>> >> -bash-3.2# python update-activities.py (auto complete worked for <br>> >> the command)<br>> >> switching to user olpc ...<br>> >> bash: update-activities.py: command not found<br>> >><br>> >> what am I missing?<br>> ><br>> > Run it as user olpc instead of root.<br>> <br>> That, or<br>> <br>>         chmod +x update-activities.py<br>>         ./update-activities.py<br>> <br>> Looks like my user-switching hack does not work when run as "python <br>> update-activities.py".<br>> <br>> - Bert -<br>> <br>><br><br>Since my system came back with no activities (and a new bios) the only way to do something was ctrl-alt-f2.<br>Enter got me logged in as root. As such <br>wget dev.laptop.org/~bert/update-activities.py worked, then did<br>chmod +x update-activities.py and <br>./update-activities.py same result as before (--> switching to user olpc ...<br>> >> bash: update-activities.py: command not found)<br>switching to user olpc didn't help right away since now I couldn't see the file (belonging to root and being in root's ~) anymore... And I couldn't download it as olpc to its ~ because dev.laptop.org couldn't be resolved (as olpc)<br>So I turned root again and copied update-activities.py to /home/olpc, changed the owner <br>chown olpc:olpc update-activities.py turned root again<br>su olpc Then <br>./update-activities.py worked (If this doesn't work for someone else, remember I did the <br>chmod +x update-activities.py early on...)<br>ctrl-alt-f3 got my back to the sugar interface<br><br>I encountered a bunch of "caution: excluded filename not matched: mimetype", but I don't know if this has any consequences.<br>The order of the activity Icons has greatly changed - is there a way for me to influence their order of appearance?<br> <br>Thanks for the hints, I couldn't have done without.<br>Stefan<br><br>> _______________________________________________<br>> Sugar mailing list<br>> Sugar@lists.laptop.org<br>> http://lists.laptop.org/listinfo/sugar<br><br /><hr />Windows Live Messenger <a href='http://redirect.gimas.net/?cat=hmtl&n=M0803WLM&d=http://get.live.com/de-de/messenger/overview' target='_new'>Automatisch über neue E-Mails informiert!</a></body>
</html>