Screen Resolution on X86/X64 PC Installs

Hi all,

Quick fix for screen resolution if you would like to change it on a PC based install. Would be nice to have the as a feature of the UI in a future release.

SSH into your box (you may need to enable ssh, see the documentation for that).

Edit /opt/volumiokiosk.sh

sudo edit /opt/volumiokiosk.sh

Add the following to the while true set in order to set the X screen resolution and then the resolution that chromium displays at.

To set screen res:

xrandr -display :0.0 --output VGA1 --mode "1440x900"

And to set chromium add this to the chromium command line:

--window-size=1440,900

Your new script should look like:

[code]#!/bin/bash

xset -dpms
xset s off
openbox-session &

while true; do
rm -rf ~/.{config,cache}/chromium/
xrandr -display :0.0 --output VGA1 --mode “1440x900”
/usr/bin/chromium --disable-session-crashed-bubble --disable-infobars --kiosk --no-first-run --window-size=1440,900 ‘http://localhost:3000
done[/code]

Of course set the resolution to something that your screen can display.

Reboot your system.

Enjoy :smiley:
-Saff

Hi,

My script looks exactly like that and my resolution isn’t changing off my HDMI output. Thoughts?

Thanks!

Also, interestingly, that change stopped audio playback out of my Hiface. Returned the script to normal, and restarted and everything worked again. Odd… Also had to use nano and not edit???