Instructions for setting up touch display with Raspberry Pi running Arch linux. This is a brand-new release using DSI display port.
Hardware Assembly and Installation
Install Cellwrite or Matchbox-keyboard or other virtual keyboard
sudo pacman -S cellwriter
Go to application /Accessories /Keyboard Note: The system font was messed up after installing cellwirter. It was restored after add following fonts (refer Fonts in window title crashing xfce4-title).
sudo pacman -S ttf-droid
sudo pacman -S ttf-dejavu
Autostart X at login, refer to here12#~/.bash_profileexec startxfce4
update!! following is needed instead of above for SSH to work.1[[ -z $DISPLAY && $XDG_VTNR -le 3 ]] && exec startxfce4
Automatic login to virtual consol, refer to here run following command,1systemctl edit getty@tty1
and, past contents, and save123[Service]ExecStart=ExecStart=-/usr/bin/agetty --autologin username --noclear %I 38400 linux
Notes: The file is located in etc/systemd/system/getty\@tty1.service.d autologin.conf or override.conf
SSH -X stopped working after this, but SSH -Y works. Update: fixed with following:123$ ssh user@host$ sudo su# xauth merge /home/user/.Xauthority
- Auto login to virtual never gives me problem. While auto start x did fail to start. Here is what I did, SSH into raspberrypi from another PC.
- go to ~/.bash_profile and un-comment the line for auto-x
Reset default target to boot into, reference here1sudo systemctl set-default -f multi-user.target
This should fix the startxfce4 failure issue.
- Redo step 2 and step 3.
- Here is a good info from gentoo site.
A 7″ tablet with a full Arch Linux System.
Some screenshots of the system.