2012-02-03 22:23:49 +04:00
|
|
|
#!/bin/bash
|
|
|
|
# Script to start at full screen resolution
|
|
|
|
|
2012-08-16 09:44:20 +04:00
|
|
|
RAM=1024
|
2012-02-10 06:37:57 +04:00
|
|
|
KVM="-enable-kvm"
|
2012-03-15 07:57:27 +04:00
|
|
|
FULLSCREEN="-no-frame"
|
2012-08-16 09:44:20 +04:00
|
|
|
RESOLUTION=`xrandr -q|perl -F'\s|,' -lane "/^Sc/&&print join '',@F[8..10]" | sed 's/x/=/'`
|
2012-02-03 22:23:49 +04:00
|
|
|
|
2012-09-04 10:40:50 +04:00
|
|
|
qemu-system-i386 -kernel toaruos-kernel -m $RAM -k en-us -append "vid=qemu=$RESOLUTION hdd" -serial stdio -vga std -hda toaruos-disk.img $KVM $FULLSCREEN
|