summaryrefslogtreecommitdiffstats
path: root/configs
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2008-03-02 17:44:23 -0600
committerDan McGee <dan@archlinux.org>2008-03-02 17:44:23 -0600
commita59da4f9225c8c1a3974b32872f3586451b38a8c (patch)
treebc6d37dbccbb54a7cee75a5f88c3a0a30602494e /configs
parentbfb7bc798c50c0d6f92073379c132fea04ee39c9 (diff)
downloadeee-a59da4f9225c8c1a3974b32872f3586451b38a8c.tar.gz
eee-a59da4f9225c8c1a3974b32872f3586451b38a8c.zip
Updates to allow for external monitor usage
Add some ACPI event hooks in to capture Fn-F5 and call xrandr if we are in an X session. This will cycle through LCD, VGA, and both modes, using the preferred resolution on the external device (and on the internal LCD as well which is always 800x480). Note that in order for display.sh to do its job, you need to have sessreg run on your X login and logout. Also note the changes to xorg.conf- you have to set your screen Virtual size to at least as big as the largest resolution you will use on your external monitor. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'configs')
-rw-r--r--configs/xorg.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/configs/xorg.conf b/configs/xorg.conf
index 6528519..21ca9b7 100644
--- a/configs/xorg.conf
+++ b/configs/xorg.conf
@@ -86,21 +86,28 @@ Section "Screen"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
+ # Add a Virtual section to each Display so we can later plug in an
+ # external monitor and have it be larger than 800x480. 1920x1080 was
+ # chosen because that is the biggest resolution I will ever use.
SubSection "Display"
Viewport 0 0
Depth 8
+ Virtual 1920 1080
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
+ Virtual 1920 1080
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
+ Virtual 1920 1080
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
+ Virtual 1920 1080
EndSubSection
EndSection