mirror of
https://github.com/Ircama/epson_print_conf.git
synced 2025-05-09 05:32:08 -04:00

Some checks failed
Deploy Jekyll with GitHub Pages dependencies preinstalled / Build (github-pages-build gem) (push) Has been cancelled
Python syntax checker / build (3.10) (push) Has been cancelled
Python syntax checker / build (3.11) (push) Has been cancelled
Python syntax checker / build (3.12) (push) Has been cancelled
Python syntax checker / build (3.8) (push) Has been cancelled
Python syntax checker / build (3.9) (push) Has been cancelled
Python syntax checker / build (3.x) (push) Has been cancelled
Deploy Jekyll with GitHub Pages dependencies preinstalled / deploy (push) Has been cancelled
* Added-dockerfile-to-create-docker-image * README-update --------- Co-authored-by: Maria Voreakou <voreakou7@gmail.com>
24 lines
543 B
Bash
24 lines
543 B
Bash
#!/bin/bash
|
|
|
|
echo "Starting Xvfb virtual display..."
|
|
Xvfb :99 -screen 0 1280x800x24 &
|
|
|
|
sleep 2
|
|
|
|
echo "Creating minimal Fluxbox config..."
|
|
mkdir -p ~/.fluxbox
|
|
|
|
echo "session.screen0.toolbar.visible: false" > ~/.fluxbox/init # Hide toolbar to avoid errors
|
|
|
|
echo "Starting Fluxbox window manager..."
|
|
fluxbox -log ~/.fluxbox/fb.log & # Redirect logs to a file instead of the console
|
|
|
|
sleep 2
|
|
|
|
echo "Starting VNC server..."
|
|
x11vnc -display :99 -forever -nopw -bg -rfbport 5990 &
|
|
|
|
sleep 2
|
|
|
|
echo "Starting Tkinter application..."
|
|
exec python ui.py
|