diff options
author | Marco Pesenti Gritti <marco@marcopg.org> | 2008-12-17 14:10:24 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@marcopg.org> | 2008-12-17 14:10:24 (GMT) |
commit | 919a734072c39f74df46c3fc8b9da2544bc319d7 (patch) | |
tree | 3a07d9615d075d38cf36bd5bef5b0da1bab5445b | |
parent | 1c72cf86cfce916633a91493e9d2566a64bbc71c (diff) |
xorg.conf for QEMU
-rw-r--r-- | fedora-live-base.ks | 1 | ||||
-rw-r--r-- | soas.ks | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/fedora-live-base.ks b/fedora-live-base.ks index 8869d94..d406fd8 100644 --- a/fedora-live-base.ks +++ b/fedora-live-base.ks @@ -13,6 +13,7 @@ timezone US/Eastern auth --useshadow --enablemd5 selinux --disabled firewall --enabled +bootloader --timeout=1 xconfig --startxonboot part / --size 3072 services --enabled=NetworkManager --disabled=network,sshd @@ -91,6 +91,47 @@ echo "sugar" > /home/liveuser/.Xclients chmod a+x /home/liveuser/.Xclients chown liveuser:liveuser /home/liveuser/.Xclients +if [ \`grep -c QEMU /proc/cpuinfo\` -ne 0 ]; then + cat > /etc/X11/xorg.conf <<FOE +Section "ServerLayout" + Identifier "Default layout" + Screen 0 "Screen0" 0 0 + InputDevice "Keyboard0" "CoreKeyboard" +EndSection + +Section "InputDevice" + Identifier "Keyboard0" + Driver "kbd" + Option "XkbModel" "pc105+inet" + Option "XkbLayout" "us" +EndSection + +Section "Monitor" + Identifier "Monitor0" + ModelName "Monitor 1024x768" + HorizSync 31.5 - 61.0 + VertRefresh 50.0 - 75.0 + Option "dpms" +EndSection + +Section "Device" + Identifier "Videocard0" + Driver "cirrus" +EndSection + +Section "Screen" + Identifier "Screen0" + Device "Videocard0" + Monitor "Monitor0" + DefaultDepth 24 + SubSection "Display" + Viewport 0 0 + Depth 24 + EndSubSection +EndSection +FOE +fi + EOF %end |