From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <9F4F9A7C40114DA9963FF883CF2940F1@mail2world.com> References: <9F4F9A7C40114DA9963FF883CF2940F1@mail2world.com> Date: Mon, 6 Oct 2014 13:51:42 -0700 Message-ID: From: Skip Tavakkolian To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=001a11c1bd74077f5c0504c7402a Subject: Re: [9fans] Clean desktop on Raspberry Pi using Plan 9. Topicbox-Message-UUID: 18b5505a-ead9-11e9-9d60-3106f5b1d025 --001a11c1bd74077f5c0504c7402a Content-Type: text/plain; charset=UTF-8 from the shell window take a look at bin/rc/riostart (i.e. $home/bin/rc/riostart). remove the startup windows you don't want (like first.window, etc) term% cat bin/rc/riostart #!/bin/rc scr=(`{cat /dev/draw/new >[2]/dev/null || status=''}) wid=$scr(11) ht=$scr(12) window 0,0,161,117 stats -lmisce window 161,0,560,117 faces -i if(~ `{screensize} small) dump=acme.dump.small if not dump=acme.dump a=`{echo $wid-35 | hoc } window 60,90,$a,$ht acme -l lib/$dump window 20,140,610,450 /usr/glenda/lib/first.window term% On Mon, Oct 6, 2014 at 1:19 PM, Mats Olsson wrote: > Hi guys! > > How can I get a clean desktop at bootup on the Raspberry Pi using Plan 9? > No tutorials starting etc. Would highly appreciate to know how to know how > to configure the Raspberry Pi to start clean. Thanks beforehand! > > Kind Greetings, > Mats > --001a11c1bd74077f5c0504c7402a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
from the shell window take a look at bin/rc/riostart = (i.e. $home/bin/rc/riostart). remove the startup windows you don't want= (like first.window, etc)

term% cat bin/rc/riostar= t
#!/bin/rc

scr=3D(`{cat /dev/draw/new &= gt;[2]/dev/null || status=3D''})
wid=3D$scr(11)
ht=3D$scr(12)

window 0,0,161,117 stats -lmisce
window 161,0,560,117 faces -i

if(~ `{scree= nsize} small)
= dump=3Dacme.dump.small
if not
dump=3Dacme.dump

a=3D`{e= cho $wid-35 | hoc }
window 60,90,$a,$ht acme -l lib/$dump
window 20,140,610,450 /usr/glenda/lib/first.window
term%=C2=A0=

On Mo= n, Oct 6, 2014 at 1:19 PM, Mats Olsson <meo@spray.se> wrote:
<= blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px= #ccc solid;padding-left:1ex">
Hi guys!

How can I get a clean desktop at bootup on the Raspberry Pi using Plan 9? N= o tutorials starting etc. Would highly appreciate to know how to know how t= o configure the Raspberry Pi to start clean. Thanks beforehand!

Kind Greetings,
Mats

--001a11c1bd74077f5c0504c7402a--