Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autostart chiaki on startup with fullscreen #47

Open
Surya-Ananth opened this issue Mar 23, 2023 · 1 comment
Open

Autostart chiaki on startup with fullscreen #47

Surya-Ananth opened this issue Mar 23, 2023 · 1 comment

Comments

@Surya-Ananth
Copy link

Hi,
Is it possible to launch chiaki on boot in fullscreen?

@JeremyLJordan
Copy link

JeremyLJordan commented Jun 29, 2023

Hi,

I did this by adding a shell script to contrab. In cron I also made it to where if Chiaki exits, it restarts it. I did this because this PI is only used for chiaki. Here is the script

#! /bin/sh
echo "Starting Chiaki"
cd /home/pi/
./chiaki-rpi/build/rpi/chiaki-rpi

Bonus

I also added a cron job that automatically pairs my controller on boot.

@reboot sleep 20 && /bin/echo -e 'connect (MAC of controller) \n' | bluetoothctl

hope this helps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants