toaruos/util/run-fullscreen.sh
2012-03-14 22:57:27 -05:00

10 lines
350 B
Bash
Executable File

#!/bin/bash
# Script to start at full screen resolution
RAMDISK="-initrd toaruos-initrd"
RAM=512
KVM="-enable-kvm"
FULLSCREEN="-no-frame"
qemu -kernel toaruos-kernel -m $RAM $RAMDISK -append "vid=qemu,`xrandr -q|perl -F'\s|,' -lane "/^Sc/&&print join '',@F[8..10]" | sed 's/x/,/'` hdd" -serial stdio -vga std -hda toaruos-disk.img $KVM $FULLSCREEN