How can I set external monitor as default?
Posted
by
iJeeves
on Ask Ubuntu
See other posts from Ask Ubuntu
or by iJeeves
Published on 2011-04-08T17:29:18Z
Indexed on
2011/06/22
16:30 UTC
Read the original article
Hit count: 359
xorg
|external-monitor
I have connected an external monitor to my laptop through HDMI. Currently either my Desktop is getting extended to the external monitor (with native resolution) or low resolution on both when I choose "Same Image in both".
How can I ensure that the external monitor is used by default and the laptop monitor just blanks.
I generated the xorg.conf file by doing:
X -configure
The following is the content of xorg.conf.new file generated in my user folder. Should I copy this anywhere? Should I edit the contents?
Section "ServerLayout" Identifier
"X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice
"Keyboard0" "CoreKeyboard" EndSectionSection "Files" ModulePath
"/usr/lib/xorg/modules" FontPath
"/usr/share/fonts/X11/misc" FontPath "/usr/share/fonts/X11/cyrillic" FontPath
"/usr/share/fonts/X11/100dpi/:unscaled" FontPath
"/usr/share/fonts/X11/75dpi/:unscaled" FontPath
"/usr/share/fonts/X11/Type1" FontPath "/usr/share/fonts/X11/100dpi" FontPath
"/usr/share/fonts/X11/75dpi" FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" FontPath "built-ins" EndSectionSection "Module" Load "glx" Load "dri2" Load "record" Load "extmod" Load "dbe" Load "dri" EndSection
Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection
Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option
"Protocol" "auto" Option "Device" "/dev/input/mice" Option
"ZAxisMapping" "4 5 6 7" EndSectionSection "Monitor" Identifier
"Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" EndSectionSection "Device" ### Available Driver options are:- ### Values: : integer, : float, : "True"/"False", ### : "String", : " Hz/kHz/MHz", ### : "%" ### [arg]: arg optional #Option "NoAccel" # [] #Option "SWcursor" # [] #Option "ColorKey" # #Option "CacheLines" # #Option "Dac6Bit" # [] #Option "DRI" # [] #Option "NoDDC" # [] #Option "ShowCache" # [] #Option "XvMCSurfaces" # #Option "PageFlip" # [] Identifier "Card0" Driver "intel" BusID
"PCI:0:2:0" EndSectionSection "Screen" Identifier "Screen0" Device "Card0" Monitor
"Monitor0" SubSection "Display" Viewport 0 0 Depth 1 EndSubSection SubSection "Display" Viewport 0 0 Depth 4 EndSubSection SubSection "Display" Viewport 0 0 Depth 8 EndSubSection SubSection "Display" Viewport 0 0 Depth 15 EndSubSection SubSection "Display" Viewport 0 0 Depth 16 EndSubSection SubSection "Display" Viewport 0 0 Depth 24 EndSubSection EndSection
© Ask Ubuntu or respective owner