waotzi

Glenda Space

Exploring 9front on my Raspberry Pi 4

in the hacks folder you can find little scripts that I use sometimes.

I highly recommend checking this blog out, to set up the cpu server and install other apps which can come in handy :)

Plan9 Setup RPI

add permanent keyboard layout change

simply add this line with the kbmap you want to use to your profile in the terminal case

cat /sys/lib/kbmap/dvorak > /dev/kbmap

sync time automatically at start

just add this line to the profile file

aux/timesync -n pool.ntp.org

source

fix "buggy" spawned terminal

in your riostart file simply remove the following line:

; ~ $#console 0 || window -scroll console

and replace it with

window -scroll

fixing the background

first of all make sure to follow this tutorial to get the theme patch on rio working.

(if by accident you run the patch twice then you will get a lot of errors and you need to reset the hg tree and get the original rio files again)

once you got themes working go to

cd /sys/src/cmd/rio

acme rio.c

and simply follow the short guide to my rio background fix

rio-background-fix

for some reason the background is buggy until the rio window is resized, so the "bug fix" i made is just a stripped down version of the resized funcion in rio.c and i put it in redraw to execute in once since i did not know where else to put it to make sure it is run once at the start.

after the code as been fixed make sure to run mk and if no bugs were encountered run

mk install

werc

this tutorial is great. I was just confused on how to start the listener. Running this line fixed the problem.

aux/listen

to get the web server working and i also struggled at first to comprehend how to use the sites directory.

Simply make a folder with your local ip such as 192.168.0.2 and you can use it immediatley with wer c if everything is set up correctly.

you can also set up a loopback to use other local folders in the sites directory such as 127.0.0.1 or localhost

ip/ipconfig loopback add 127.0.0.1

useful links

Rc - The Plan 9 Shell

9front FQA

Setup CPU Server

Contrib package manager