diff --git a/rpi/.xinitrc b/rpi/.xinitrc index d9a1b6a..9be1c1c 100644 --- a/rpi/.xinitrc +++ b/rpi/.xinitrc @@ -7,8 +7,8 @@ xset s noblank # Hide mouse pointer unclutter -idle 0 & -# reduce resolution to fix scaling issues with TVs at RC22 -xrandr --output HDMI-1 --mode 1024x768 +# Set resolution to full-hd (keep in sync with package.json) +xrandr --output HDMI-1 --mode 1920x1080 # Start browser in kiosk mode #chromium-browser http://localhost:8082 --start-fullscreen --kiosk --incognito --noerrdialogs --no-first-run --disk-cache-dir=/dev/null diff --git a/rpi/package.json b/rpi/package.json new file mode 100644 index 0000000..e32b1f4 --- /dev/null +++ b/rpi/package.json @@ -0,0 +1,9 @@ +{ + "name": "ssl-status-board", + "main": "http://localhost:8082", + "window": { + "kiosk": true, + "width": 1920, + "height": 1080 + } +}