{"id":423,"date":"2010-09-08T08:18:21","date_gmt":"2010-09-08T08:18:21","guid":{"rendered":"http:\/\/esferas.org\/msqlu\/2010\/09\/08\/estrenando-pantallas\/"},"modified":"2016-04-17T08:59:00","modified_gmt":"2016-04-17T08:59:00","slug":"estrenando-pantallas","status":"publish","type":"post","link":"https:\/\/esferas.org\/msqlu\/2010\/09\/08\/estrenando-pantallas\/","title":{"rendered":"Estrenando pantallas"},"content":{"rendered":"<p><!--more--><\/p>\n<p>Este mes toca limpia de m\u00e1quinas y he pensando en emplear un segundo monitor en mi escritorio, animado por las excelencias que se cuentan por ah\u00ed respecto a la ergonom\u00eda y la productividad resultantes. Como ten\u00eda libre precisamente un monitor id\u00e9ntico al que empleo a diario, un LG Flatron L1954SM, he pensado que estar\u00eda bien tener un escritorio extendido y que la configuraci\u00f3n no ser\u00eda complicada. Je. Qu\u00e9 ing\u00e9nuo.<\/p>\n<p><a href=\"\/dotclear\/public\/Vida_Real\/foto2010-09-07T09_01_00.jpg\" title=\"Dos pantallas\"><img decoding=\"async\" src=\"\/dotclear\/public\/Vida_Real\/.foto2010-09-07T09_01_00_m.jpg\" alt=\"Dos pantallas\" style=\"margin:0 auto\" title=\"Dos pantallas, Sep 2010\" \/><\/a><\/p>\n<p>Quiz\u00e1s lo m\u00e1s chocante que he visto ha sido precisamente la falta de reacci\u00f3n de los hom\u00ednidos con los que trabajo. No han visto una configuraci\u00f3n as\u00ed ni por error y se acercan a m\u00ed para cualquier gesti\u00f3n y ni un s\u00f3lo comentario. Es de lo m\u00e1s desconcertante, sobre todo sabiendo que se vigilan los unos a los otros en cuanto a equipamiento. \u00a1 M\u00e1s me vale tener una buena excusa cuando el cambio un perif\u00e9rico s\u00f3lo a uno. !<\/p>\n<h4>Configuraci\u00f3n t\u00e9cnica<\/h4>\n<p>He sufrido lo m\u00edo para ponerlo en marcha porque el <em>hardware<\/em> que tengo no es de lo \u00faltimo, y a\u00fan as\u00ed todav\u00eda estoy puliendo detalles.<\/p>\n<ol>\n<li>En primer lugar la tarjeta gr\u00e1fica es una ATI Radeon 9200 Pro (chipset RV280) para que el que no sirve el controlador privativo de ATI porque s\u00f3lo tiene soporte para modelos m\u00e1s nuevos.<\/li>\n<li>Resulta que casi todos los art\u00edculos y <em>howtos<\/em> que se encuentran hacen referencia a emplear la extensi\u00f3n <a href=\"http:\/\/en.wikipedia.org\/wiki\/Xinerama\">Xinerama<\/a> y todo es maravilloso de no ser porque est\u00e1 obsoleta y ahora se emplea <a href=\"http:\/\/en.wikipedia.org\/wiki\/RandR\">Randr<\/a> para que el que existe tambi\u00e9n documentaci\u00f3n pero ya no es tan sencillo de integrar porque no est\u00e1 inserto en la documentaci\u00f3n del servidor X.<\/li>\n<li>En Debian Lenny se puede tener un archivo\n<pre class=\"inline:true decode:1 \" >\/etc\/X11\/xorg.conf<\/pre>\n<p> vac\u00edo, es cierto, pero como necesitamos definir una pantalla virtual para poder extender el escritorio pues tenemos que tener uno queramos o no.<\/li>\n<li>Con esta combinaci\u00f3n de hardware los tutoriales normales no funcionan; s\u00f3lo consigo que las dos pantallas funcionen en modo espejo, y la \u00fanica f\u00f3rmula que he visto que resulta es la que encuentra el usuario\n<pre class=\"inline:true decode:1 \" >setner<\/pre>\n<p> en un foro de <a href=\"http:\/\/ubuntuforums.org\/showpost.php?p=7886144&amp;postcount=5\">ubuntu<\/a> y a la que ha llegado tras emplear alg\u00fan tipo de algoritmo del mono.<\/li>\n<\/ol>\n<p>As\u00ed pues he creado un peque\u00f1o programa para que disponga las pantallas al inicio de la sesi\u00f3n de KDE en el directorio <\/p>\n<pre class=\"inline:true decode:1 \" >$HOME\/.kde\/Autostart\/set_dualhead.sh<\/pre>\n<p> con el siguiente contenido:<\/p>\n<pre><ol><li style=\"font-family: 'Courier New', Courier, monospace;color: black;font-weight: normal;font-style: normal\"><div style=\"font-family: 'Courier New', Courier, monospace;font-weight: normal\"><span style=\"color: #808080;font-style: italic\">#!\/bin\/sh<\/span><\/div><\/li><li style=\"font-family: 'Courier New', Courier, monospace;color: black;font-weight: normal;font-style: normal\"><div style=\"font-family: 'Courier New', Courier, monospace;font-weight: normal\">&nbsp;<\/div><\/li><li style=\"font-family: 'Courier New', Courier, monospace;color: black;font-weight: normal;font-style: normal\"><div style=\"font-family: 'Courier New', Courier, monospace;font-weight: normal\"><span style=\"color: #007800\">num=<\/span>$<span style=\"color: #7a0874;font-weight: bold\">&#040;<\/span>xrandr -q <span style=\"color: #000000;font-weight: bold\">|<\/span> <span style=\"color: #c20cb9;font-weight: bold\">egrep<\/span> <span style=\"color: #ff0000\">&quot; connected &quot;<\/span> <span style=\"color: #000000;font-weight: bold\">|<\/span> <span style=\"color: #c20cb9;font-weight: bold\">wc<\/span> -l<span style=\"color: #7a0874;font-weight: bold\">&#041;<\/span><\/div><\/li><li style=\"font-family: 'Courier New', Courier, monospace;color: black;font-weight: normal;font-style: normal\"><div style=\"font-family: 'Courier New', Courier, monospace;font-weight: normal\">&nbsp;<\/div><\/li><li style=\"font-family: 'Courier New', Courier, monospace;color: black;font-weight: normal;font-style: normal\"><div style=\"font-family: 'Courier New', Courier, monospace;font-weight: normal\"><span style=\"color: #000000;font-weight: bold\">if<\/span> <span style=\"color: #7a0874;font-weight: bold\">&#091;<\/span> <span style=\"color: #007800\">$num<\/span> -gt <span style=\"color: #000000\">1<\/span> <span style=\"color: #7a0874;font-weight: bold\">&#093;<\/span> ; <span style=\"color: #000000;font-weight: bold\">then<\/span><\/div><\/li><li style=\"font-family: 'Courier New', Courier, monospace;color: black;font-weight: normal;font-style: normal\"><div style=\"font-family: 'Courier New', Courier, monospace;font-weight: normal\">    <span style=\"color: #808080;font-style: italic\"># desactivamos la salida DVI<\/span><\/div><\/li><li style=\"font-family: 'Courier New', Courier, monospace;color: black;font-weight: normal;font-style: normal\"><div style=\"font-family: 'Courier New', Courier, monospace;font-weight: normal\">    xrandr --output DVI<span style=\"color: #000000\">-0<\/span> --off<\/div><\/li><li style=\"font-family: 'Courier New', Courier, monospace;color: black;font-weight: normal;font-style: normal\"><div style=\"font-family: 'Courier New', Courier, monospace;font-weight: normal\">&nbsp;<\/div><\/li><li style=\"font-family: 'Courier New', Courier, monospace;color: black;font-weight: normal;font-style: normal\"><div style=\"font-family: 'Courier New', Courier, monospace;font-weight: normal\">    <span style=\"color: #808080;font-style: italic\"># y la activamos de nuevo indicando su posici\u00f3n real<\/span><\/div><\/li><li style=\"font-family: 'Courier New', Courier, monospace;color: black;font-weight: normal;font-style: normal\"><div style=\"font-family: 'Courier New', Courier, monospace;font-weight: normal\">    xrandr --output DVI<span style=\"color: #000000\">-0<\/span> --auto --right-of VGA<span style=\"color: #000000\">-0<\/span><\/div><\/li><li style=\"font-family: 'Courier New', Courier, monospace;color: black;font-weight: normal;font-style: normal\"><div style=\"font-family: 'Courier New', Courier, monospace;font-weight: normal\"><span style=\"color: #000000;font-weight: bold\">fi<\/span><\/div><\/li><\/ol><\/pre>\n<p>No va como la seda pero me apa\u00f1o bien. Aprovecho para <a href=\"\/dotclear\/public\/Lib\/xorg.conf\">adjuntar<\/a> en esta entrada del blog la configuraci\u00f3n del servidor X por si me sirve en un futuro y anotar una referencia a una gu\u00eda para la distribuci\u00f3n Kubuntu pero que me parece bastante <a href=\"http:\/\/www.kubuntu-es.org\/wiki\/graficos\/howto-configurar-dos-monitores-usando-xrandr-partir-xorgconf-vacio\">clarificadora<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","webmentions_disabled_pings":false,"webmentions_disabled":false,"footnotes":""},"categories":[5],"tags":[59,320],"class_list":["post-423","post","type-post","status-publish","format-standard","hentry","category-hardware","tag-hominidos","tag-pantallas"],"_links":{"self":[{"href":"https:\/\/esferas.org\/msqlu\/wp-json\/wp\/v2\/posts\/423","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/esferas.org\/msqlu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/esferas.org\/msqlu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/esferas.org\/msqlu\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/esferas.org\/msqlu\/wp-json\/wp\/v2\/comments?post=423"}],"version-history":[{"count":0,"href":"https:\/\/esferas.org\/msqlu\/wp-json\/wp\/v2\/posts\/423\/revisions"}],"wp:attachment":[{"href":"https:\/\/esferas.org\/msqlu\/wp-json\/wp\/v2\/media?parent=423"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/esferas.org\/msqlu\/wp-json\/wp\/v2\/categories?post=423"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/esferas.org\/msqlu\/wp-json\/wp\/v2\/tags?post=423"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}