-
Notifications
You must be signed in to change notification settings - Fork 0
installation
This is a how to guide to install piComputer. Work in progress.
Install a minimal raspian Raspberry Pi OS on your pi following official guide.
Setup wifi and ssh. You'll need an internet access.
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).
Sample files are in system folder.
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.
Append fbcon=rotate:3
to file /boot/cmdline.txt
sudo printf ' fbcon=rotate:3' >> /boot/cmdline.txt
/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
Run sudo raspi-config
, go to Advanced Options
and enable Glamor
graphic 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/
Edit /etc/default/console-setup
to include the following:
FONTFACE="TerminusBold"
FONTSIZE="12x24"
reboot
your piComputer. At this stage, the wide screen should work.
Clone (or download) and run the install bash 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 (zsh, vim, xorg-server, i3, polybar, rofi, dunst...) and links configuration 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
your piComputer.
Et voila !