From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Mats Olsson" To: <9fans@9fans.net> Date: Tue, 7 Oct 2014 10:09:16 -0700 Message-ID: <625C19DC6E0E4CE380F7E119067BFE18@mail2world.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_3DFE_01CFE216.C0C68FB0" Subject: Re: [9fans] Clean desktop on Raspberry Pi using Plan 9. Topicbox-Message-UUID: 1915550e-ead9-11e9-9d60-3106f5b1d025 This is a multi-part message in MIME format. ------=_NextPart_000_3DFE_01CFE216.C0C68FB0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Thanka again for your help! Now I got it. Looked for the file in Acme and edited the file and pressed the middle button on Put. Kind Greetings, Mats <-----Ursprungligt Meddelande-----> From: Skip Tavakkolian [skip.tavakkolian@gmail.com] Sent: 6/10/2014 10:51:42 PM To: 9fans@9fans.net Subject: Re: [9fans] Clean desktop on Raspberry Pi using Plan 9. 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 < meo@spray.se > 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 ------=_NextPart_000_3DFE_01CFE216.C0C68FB0 Content-Type: text/html Content-Transfer-Encoding: 7bit Thanka again for your help! Now I got it. Looked for the file in Acme and edited the file and pressed the middle button on Put.

Kind Greetings,
Mats


<-----Ursprungligt Meddelande----->
  From: Skip Tavakkolian [skip.tavakkolian@gmail.com]
Sent: 6/10/2014 10:51:42 PM
To: 9fans@9fans.net
Subject: Re: [9fans] Clean desktop on Raspberry Pi using Plan 9. 


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 <meo@spray.se> 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

------=_NextPart_000_3DFE_01CFE216.C0C68FB0--