User Tools

Site Tools


raspi:install:rpi-install-en
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


raspi:install:rpi-install-en [2023/11/13 00:32] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +====== Install Rocrail on Raspberry Pi ======
 +[[:german|{{  :rocrail-logo-35.png}}]][[:raspi:install:rpi-install-de|{{ :icons:de.png}}]][[:raspi:install:rpi-install-en|{{ :icons:uk.png}}]] [[:raspi:install:rpi-install-fr|{{ :icons:fr.png}}]] [[:raspi:install:rpi-install-nl|{{ :icons:nl.png}}]]
 +  * [[:download-int#pios-en|Download]] | **[[:raspi:install:rpi-install-en|Rocrail install on Raspberry Pi]]** \\
 +  * [[:rocnet:headless-cam-en|Headless Setup]]
 +
 +\\
 + \\
 +//A graphical Rocrail installation from scratch on a Raspberry Pi.//\\    
 +
 + \\
 +|< >|
 +|  :!: **Attention** :!: \\ Since 10/2023 is there a new **Raspberry Pi Imager 1.8.** \\ The operation and functions have been expanded and changed. \\ Unfortunately is there yet not a YT video for it in english. \\ So it may be necessary for a while to use this german Video \\ for some declarations and it may help to use the undertitles: \\ **https://www.youtube.com/watch?v=APkKDII64c4**  |
 +
 + \\
 +
 +=====PiOS SD Preparation=====
 +To setup a SD Card for the Raspberry Pi, check this page:
 +  * https://www.raspberrypi.org/software/
 +
 +====Advanced Options====
 +With the Advanced Options SSH, WiFi and more can be configured before writing the OS to the SD Card.\\
 +After selecting the OS the Advanced Options will become available:\\
 +{{:raspi:install:pi-imager.jpg?400}}\\
 +Setup the Rpi Environment:\\
 +{{:raspi:install:pi-imager-options.jpg?400}}\\
 +
 +
 + \\
 +=====Download=====
 +Open the WEB Browser and surf to https://wiki.rocrail.net, and select "Windows & PiOS":\\
 +{{:raspi:install:rpi-install-1.png?600}}\\
 +====Select Installer====
 +Select the "Rocrail-ARMHF.zip" download:\\
 +{{:raspi:install:rpi-install-2.png?600}}\\
 +
 + \\
 +=====Extract=====
 +Wait until the ZIP file has been completely downloaded.\\
 +Open the ZIP file by clicking on the downloaded Rocrail file:\\
 +{{:raspi:install:rpi-install-3.png?600}}\\
 +After the Xarchiver has been opened, seldect Menu -> Action -> Extract:\\
 +{{:raspi:install:rpi-install-4.png}}\\
 +====Set Target====
 +Replace the "Extract to" target from "/tmp" with "/home/pi":\\
 +{{:raspi:install:rpi-install-6.png}}\\
 +Then click on Extract.\\
 +
 + \\
 +=====First time install=====
 +The following steps are only needed at the first time installation of Rocrail.\\
 +Skip this if you only did extract an update.\\
 + \\
 +Open the "File Manager", and open the /home/pi/Rocrail-ARMHF" folder:\\
 +{{:raspi:install:rpi-install-7.png?600}}\\
 +<html><!--
 +====wxWidgets====
 +**Note:** //Make sure the [[#file_manager_option|File manager option]] is disabled before activating the following scripts.//\\
 + \\
 +Double click on the wxinstall.sh file:\\
 +{{:raspi:install:rpi-install-16.png?600}}\\
 +and execute it in a terminal:\\
 +{{:raspi:install:rpi-install-12.png}}\\
 +Confirm the question in the terminal with enter:\\ 
 +{{:raspi:install:rpi-install-13.png?600}}\\
 +--></html>
 +====Desktop Link====
 +Double click on the desktoplink.sh file, and execute it in a terminal:\\
 +{{:raspi:install:rpi-install-8.png}}\\
 +Now the Rocrail Icon ist ready to launch:\\
 +{{:raspi:install:rpi-install-9.png}}\\
 +====File Manager Option====
 +To avoid this question on double click the Rocrail Icon:\\
 +{{:raspi:install:rpi-install-10.png?600}}\\
 +Change the File Manager Preferences, and select:\\
 +{{:raspi:install:rpi-install-11.png?600}}\\
 +
 +
 + \\
 +=====Rocrail Startup=====
 +After a double click on the Rocrail Icon, Rocview will startup:\\
 +{{:raspi:install:rpi-install-14.png?600}}\\
 +====Demo====
 +Select Menu -> File -> Demo Workspace:\\
 +{{:raspi:install:rpi-install-15.png?600}}\\
 +
 +
 + \\
 +=====Touch Screen=====
 +PiOS does support Touch Screens out of the box.\\
 +====Right Mouse Button====
 +To be able to access the context menus, a right mouse click emulation is needed.\\
 +This solution converts a long click into a right mouse click:\\
 +===The Utility===
 +  * https://github.com/PeterCxy/evdev-right-click-emulation
 +  * Download: https://github.com/PeterCxy/evdev-right-click-emulation/archive/refs/heads/master.zip
 +  * Fork with makefile fix: https://github.com/phd/evdev-right-click-emulation
 +
 +Install the dependencies:
 +<code>
 +sudo apt install libevdev2
 +sudo apt install libinput*
 +</code>
 +
 +Unzip the sources and compile the utility:
 +<code>
 +cd evdev-right-click-emulation-master
 +make
 +</code>
 +
 +Start the utility for testing:
 +<code>
 +cd 
 +sudo evdev-right-click-emulation-master/out/evdev-rce
 +</code>
 +Check if the display is recognised.\\
 +
 +
 +===Auto start the Utility===
 +Copy the utility directly in the home directory:
 +<code>
 +cd
 +cp evdev-right-click-emulation-master/out/evdev-rce .
 +</code>
 +
 +Create a file named as
 +''/home/pi/.config/autostart/LongClick.desktop''\\
 +
 +
 +Edit this file and put the following contents in it:
 +<code>
 +[Desktop Entry]
 +Name=LongCLick
 +Exec=sudo /home/pi/evdev-rce
 +Type=application
 +</code>
 +
 +===Makefile for PiOS 11===
 +(Lothar)
 +Fixes the build error under PiOS 11.\\
 +<code>
 +CC := gcc
 +XFLAGS := -Wall -std=c11 -D_POSIX_C_SOURCE=199309L
 +LIBRARIES := -levdev
 +INCLUDES := -I/usr/include/libevdev-1.0
 +CFLAGS := $(XFLAGS) $(INCLUDES)
 +
 +OUTDIR := out
 +SOURCES := uinput.c input.c rce.c
 +OBJS := $(SOURCES:%.c=$(OUTDIR)/%.o)
 +TARGET := $(OUTDIR)/evdev-rce
 +
 +.PHONY: all clean
 +
 +$(OUTDIR)/%.o: %.c
 + @mkdir -p $(OUTDIR)
 + $(CC) $(CFLAGS) -c $< -o $@
 +
 +$(TARGET): $(OBJS)
 + $(CC) $(CFLAGS) $^ $(LIBRARIES) -o $@
 +
 +all: $(TARGET)
 +clean:
 + rm -rf $(OUTDIR)
 +</code>
 +
 +
  
raspi/install/rpi-install-en.txt · Last modified: 2023/11/13 00:32 by 127.0.0.1