1
0
Fork 0
mirror of https://github.com/dbarzin/pandora-box.git synced 2025-07-19 05:19:40 +02:00

work on vm

This commit is contained in:
pandora 2022-07-12 16:31:57 +00:00
parent 862d246c13
commit d1d9b4757f
2 changed files with 5 additions and 0 deletions

View file

@ -148,6 +148,9 @@ usermod -a -G video $SUDO_USER
# allow read mouse input
usermod -a -G input $SUDO_USER
# allow read mouse input
usermod -a -G tty $SUDO_USER
# Start Pandora at boot
cp pandora.service /etc/systemd/system/pandora.service
sed -i "s/_USER_/$SUDO_USER/g" /etc/systemd/system/pandora.service

View file

@ -92,6 +92,8 @@ def display_image(status):
else:
return
os.system("convert -resize %s -background black -gravity center -extent %s %s bgra:/dev/fb0" % (SCREEN_SIZE, SCREEN_SIZE, image))
# os.system("killall -9 fbi 2>/dev/null")
# os.system("fbi -T 1 -d /dev/fb0 -noverbose -a %s" % image)
# -----------------------------------------------------------