<div dir="ltr"><div><div><div>1) Can a script be run at the end of Sugar's first boot?  Or really anytime after gsettings name/gender/grade stuff?  (After every boot if nec.)<br><br></div><div>I tried inserting a script very late within /usr/bin/sugar (however that runs too early during Sugar's 1st boot) but I'm now remember an autoexec.bat-style /home/olpc/.olpc-<something?> file Quozl mentioned earlier which is auto-run for testing --- hopefully near the end of Sugar's launch, does anyone recall such/similar?<br></div><div><br>(Crazy Talk: might be there be some way to trigger off the creation of /home/olpc/.olpc-configured which apparently happens during 1st boot?  In any case, 1st boot or any-subsequent-boot can be resolved trivially, given a suitable trigger/callout we need near the end of Sugar's every bootup sequence, regardless whether 1st-boot or every-subsequent-boot...)<br><br><br>2) Much Harder Question, which might not be solvable:<br><br>Resetting ("gsettings reset ...") or renaming Sugar's nick from Terminal using "gsettings set org.sugarlabs.user nick TEST-MACHINE-XYZ" works!  But scripting this doesn't work using 'su - olpc -c "gsettings set org.sugarlabs.user nick DEFAULT-MACHINE-XYZ" ' fails, with error:<br><br></div>** (process:2326): CRITICAL **: unable to create directory 'run/user/0/dconf': Permission denied. dconf not working properly.<br><br></div>** (process:2326): WARNING **: failed to commit changes to dconf: Error spawning command line 'dbus-launch --autolaunch=7115ce3ab0574964a6590ee50e4be226 --binary-syntax --close-stderr': Child process exited with code 1<br><br></div>(Might there be any other ways to script this / skin this cat?)<br></div>