{"id":2334,"date":"2022-08-30T15:24:00","date_gmt":"2022-08-30T15:24:00","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/01\/05\/adding-dual-monitor-settings-to-xorg-conf-d-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:24:00","modified_gmt":"2022-08-30T15:24:00","slug":"adding-dual-monitor-settings-to-xorg-conf-d-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/adding-dual-monitor-settings-to-xorg-conf-d-collection-of-common-programming-errors\/","title":{"rendered":"Adding dual monitor settings to xorg.conf.d-Collection of common programming errors"},"content":{"rendered":"<pre>\nSection \"Screen\"\n    Identifier \"default Screen Section\"\n    SubSection \"Display\"\n        Virtual   2560 1024\n    EndSubSection\nEndSection\n<\/pre>\n<ul>\n<li>\n<p>The main reason for the problem detecting the VGA screen resolution is that I have a splitter cable and an extra display with an extension cord, which I don&#8217;t always use.<\/p>\n<p>I wasn&#8217;t sure how to identify the vga output in the monitor section so I always referred to it by ATI&#8217;s naming convention, &#8220;VGA-0&#8221;. Even where I could refer to it as something else, I call it VGA-0. (I&#8217;ve found the device and server sections of the conf file to be unnecessary for this).<\/p>\n<p>I discovered I needed to add a modeline as per the instructions on the link above. Well to find your modeline, the cvt command has superseded the gtf command (<b>Don&#8217;t use mine<\/b>). Lord knows what a modeline really does. There seems to be no way to specify which monitor you&#8217;re even probing so you just have to cross your fingers that this bunch of numbers is even what you&#8217;re looking for&#8230;<\/p>\n<pre>\nSection \"Monitor\"\n    Identifier   \"VGA-0\"\n        Modeline \"1280x1024_60.00\"  109.00  1280 1368 1496 1712  1024 1027 1034 1063 -hsync +vsync\n        Option  \"RightOf\" \"DVI-0\"\nEndSection\n<\/pre>\n<\/li>\n<li>\n<p>It worketh &#8230; mostly &#8230;<\/p>\n<p>I turn monitors off because I&#8217;ve had to replace capacitors in the power circuit of my LCD screen. I am also disappointed by the power consumption of these devices in standby.<\/p>\n<p>When this monitor was turned off during startup, I got clone mode again. I had to add some repetition of information.<\/p>\n<pre>\n        Option  \"RightOf\" \"DVI-0\"\n        Option  \"Position\" \"1280 0\"\n<\/pre>\n<p>I also added a DVI-0 monitor section.<\/p>\n<p>ARANDR consistently crashed on me when I tried to adjust it on the fly like most people recommend nowadays, so that seems to be a piece of poo that doesn&#8217;t play nicely with xorg.conf settings (It reminds me of CSS which doesn&#8217;t play nicely with HTML attributes&#8230; but I digress).<\/p>\n<p>I still have to find a way to specify a VGA refresh rate of 60Hz which is not &#8220;helpfully&#8221; automatically reset all the time, or else I can not turn on my third monitor (with the splitter cable) when I want it, which is offpissing. The following line does not work:<\/p>\n<pre>\n        Option  \"PreferredMode\"  \"1280x1024_60.00\"\n<\/pre>\n<\/li>\n<\/ul>\n<p id=\"rop\"><small>Originally posted 2014-01-05 10:11:15. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>Section &#8220;Screen&#8221; Identifier &#8220;default Screen Section&#8221; SubSection &#8220;Display&#8221; Virtual 2560 1024 EndSubSection EndSection The main reason for the problem detecting the VGA screen resolution is that I have a splitter cable and an extra display with an extension cord, which I don&#8217;t always use. I wasn&#8217;t sure how to identify the vga output in the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2334","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2334","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=2334"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2334\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=2334"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=2334"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=2334"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}