Skip to main content

Thread: External Monitor Help Please


ok, bought 31.5" hdtv , have connected laptop monitor. laptop monitor cracked , pretty useless able keep turned off , stick new monitor. far, have managed accomplish of this, 1 problem, need go through long process every login set again. i'm hoping can me simplify , have done automatically while ubuntu booting or right after login.

process:

code:
$ cvt 1366 768 60  # 1368x768 59.88 hz (cvt) hsync: 47.79 khz; pclk: 85.25 mhz  modeline "1368x768_60.00"   85.25  1368 1440 1576 1784  768 771 781 798 -hsync +vsync
code:
$ xrandr --newmode "1368x768_60.00"   85.25  1368 1440 1576 1784  768 771 781 798 -hsync +vsync
code:
$ xrandr --addmode "hdmi1" "1368x768_60.00
"
code:
$ xrandr --output hdmi1 --mode 1368x768_60.00
i must go "monitors" , switch laptop monitor off, , pretty near perfect.

now, far have read far, i'm imagining must go xorg.conf , change stuff there, i'm not sure how go it.

current xorg.conf:
code:
section "serverlayout"  	identifier     "x.org configured"  	screen      0  "screen0" 0 0  	inputdevice    "mouse0" "corepointer"  	inputdevice    "keyboard0" "corekeyboard"  endsection    section "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"  endsection    section "module"  	load  "dri"  	load  "record"  	load  "dbe"  	load  "extmod"  	load  "glx"  	load  "dri2"  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"  endsection    section "monitor"  	identifier   "monitor0"  	vendorname   "monitor vendor"  	modelname    "monitor model"  endsection    section "device"          ### available driver options are:-          ### values: <i>: integer, <f>: float, <bool>: "true"/"false",          ### <string>: "string", <freq>: "<f> hz/khz/mhz"          ### [arg]: arg optional          #option     "noaccel"            	# [<bool>]          #option     "swcursor"           	# [<bool>]          #option     "colorkey"           	# <i>          #option     "cachelines"         	# <i>          #option     "dac6bit"            	# [<bool>]          #option     "dri"                	# [<bool>]          #option     "noddc"              	# [<bool>]          #option     "showcache"          	# [<bool>]          #option     "xvmcsurfaces"       	# <i>          #option     "pageflip"           	# [<bool>]  	identifier  "card0"  	driver      "intel"  	vendorname  "intel corporation"  	boardname   "mobile gm965/gl960 integrated graphics controller"  	busid       "pci:0:2:0"  endsection    section "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
is there anyway can have done automatically?
appreciated guys, , ahead of time.
ohh, in case ask, using intel graphics. ubuntu 10.04

forgive me responding question, there way script run @ startup of stuff? you're right assume xorg key lock.


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Desktop Environments [SOLVED] External Monitor Help Please


Ubuntu

Comments

Popular posts from this blog

Hur installera Joomla på One.com - Joomla! Forum - community, help and support

removing index.php from URL address - Joomla! Forum - community, help and support

「イメージマップのアンカー名には、...」のエラーが出ないようにしたい