1
0
Fork 0
mirror of https://github.com/dbarzin/pandora-box.git synced 2025-07-25 00:09:40 +02:00
This commit is contained in:
pandora 2022-07-12 16:32:41 +00:00
commit d6389c1ac4
2 changed files with 22 additions and 1 deletions

View file

@ -91,9 +91,11 @@ def display_image(status):
image = "images/pandora-box5.png"
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)
#os.system("convert -resize %s -background black -gravity center -extent %s %s bgra:/dev/fb0" % (SCREEN_SIZE, SCREEN_SIZE, image))
os.system("killall fim 2>/dev/null")
os.system("fim -qa %s </dev/null 2>/dev/null &" % image)
# -----------------------------------------------------------