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:
parent
862d246c13
commit
d1d9b4757f
2 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
||||
# -----------------------------------------------------------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue