Skip to content

manual_installation

qtaped edited this page Jun 12, 2023 · 4 revisions

You can avoid all these steps by simply running setup script.

This is for information only, it may be out-of-date

Make the screen work

The wide screen does not work out of the box, you have to connect to your pi thru ssh (or plug your pi to a standard hdmi screen during this step).

ssh <pi_user>@<picomputer_ip_adress>

Sample files are in system folder.

Setup HDMI

Make a backup of your config:

sudo mv /boot/config.txt /boot/config.txt.backup

Download & copy system/config.txt to /boot/:

sudo wget -L https://raw.githubusercontent.com/qtaped/picomputer/main/system/config.txt -P /boot/

Note: In this file, a GPIO Default State is changed, it allows you to turn on/off the screen by controlling output2 on retroPSU, and always keep it on if piComputer restart.

Rotate screen in console mode

Append fbcon=rotate:3 to file /boot/cmdline.txt
Optional: append logo.nologo if you do not like raspberries.

sudo awk '{$0 = $0 " logo.nologo fbcon=rotate:3"} 1' /boot/cmdline.txt | sudo tee /boot/cmdline.txt >/dev/null

/boot/cmdline.txt should look like this:

console=serial0,115200 console=tty1 root=PARTUUID=XXXXXXXX-XX rootfstype=ext4 fsck.repair=yes rootwait logo.nologo fbcon=rotate:3 

Graphical acceleration

Run sudo raspi-config, then:

  • Go to Advanced Options install GL Driver and choose Full KMS
  • Enable Glamor graphics acceleration

Download & copy system/00-picomputer.conf

sudo wget -L  https://raw.githubusercontent.com/qtaped/picomputer/main/system/00-picomputer.conf -P /usr/share/X11/xorg.conf.d/

Increase and change font in console mode (optional)

Edit /etc/default/console-setup to include the following:

FONTFACE="TerminusBold"
FONTSIZE="12x24"

Reboot

reboot your piComputer. At this stage, the wide screen should work.

Get configuration files and scripts

Clone (or download) and run the install script.

e.g.

sudo apt install git
git clone https://github.com/qtaped/picomputer.git
cd picomputer
chmod +x install.sh
./install.sh

The install script will basically run apt to install some packages and will copy configuration files.

Where are the files?

All configuration files and scripts will be move in $HOME/.picomputer once installed (it is a hidden folder). The install script will make symbolic links to standard path. e.g. $HOME/.picomputer/config/i3 → $HOME/.config/i3/config

Reboot

reboot your piComputer.

Et voila !

Home

Software

Hardware

Clone this wiki locally