Autostart H2R Graphic
Automate H2R Graphics on Raspberry Pi
Last updated
Was this helpful?
Automate H2R Graphics on Raspberry Pi
Last updated
Was this helpful?
You can start H2R Graphics as well as opening browser windows automatically each time the Raspberry Pi is booted but is dependant on which windows manager you are using.
If you installed the default OS on your Pi 4 and Pi 5 and not enabled X11, then you are running on Wayland.
We need to edit the wayfire.ini file and add a section
Now scroll all the way to the last line and add the following:
Once again exit the editor and save by pressing, Crtl + X, then Y, then Enter.
H2R will atttempt to re-open the browser window on start. This might work for you but if you need more control then it is better to launch the chromium-browser as part of the auto-start process.
In this case the wayfire.ini file should look like this:
the portion of code between "" need to match your application. This example open the output 1 on project ABCD with black background. (The sleep 10 is necessary to ensure H2R start before the browser and is not in the foreground)
If you are running a legacy OS (Bullseye) or have changed the default window manager via the raspi-config tool from Wayland to X11, then you are at the right place.
Instructions are on the way..