toaruos/util/run-fullscreen.sh

10 lines
350 B
Bash
Raw Normal View History

2012-02-03 22:23:49 +04:00
#!/bin/bash
# Script to start at full screen resolution
2012-02-10 06:37:57 +04:00
RAMDISK="-initrd toaruos-initrd"
2012-02-03 22:23:49 +04:00
RAM=512
2012-02-10 06:37:57 +04:00
KVM="-enable-kvm"
FULLSCREEN="-no-frame"
2012-02-03 22:23:49 +04:00
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