{"id":55,"date":"2019-06-26T11:10:00","date_gmt":"2019-06-26T11:10:00","guid":{"rendered":"http:\/\/aldarias.es\/wordpress\/?p=55"},"modified":"2019-06-26T11:10:00","modified_gmt":"2019-06-26T11:10:00","slug":"cambiar-la-configuracion-de-dos-monitores-desde-terminal-xrandr","status":"publish","type":"post","link":"http:\/\/aldarias.es\/wordpress\/?p=55","title":{"rendered":"Cambiar la configuraci\u00f3n de dos monitores desde terminal: xrandr"},"content":{"rendered":"<p>El comando xrandr permite ver la configuraci\u00f3n actual de los monitores <\/p>\n<p>xrandr<br \/>Screen 0: minimum 8 x 8, current 2720 x 1024, maximum 32767 x 32767<br \/>HDMI1 connected primary 1440&#215;900+1280+0 (normal left inverted right x axis y axis) 410mm x 260mm<br \/>&nbsp;&nbsp; 1440&#215;900&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 59.90*+<br \/>&nbsp;&nbsp; 1280&#215;1024&nbsp;&nbsp;&nbsp;&nbsp; 75.02&nbsp;&nbsp;&nbsp; 60.02&nbsp; <br \/>&nbsp;&nbsp; 1280&#215;720&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 60.00&nbsp; <br \/>&nbsp;&nbsp; 1024&#215;768&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 75.08&nbsp;&nbsp;&nbsp; 70.07&nbsp;&nbsp;&nbsp; 60.00&nbsp; <br \/>&nbsp;&nbsp; 832&#215;624&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 74.55&nbsp; <br \/>&nbsp;&nbsp; 800&#215;600&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 72.19&nbsp;&nbsp;&nbsp; 75.00&nbsp;&nbsp;&nbsp; 60.32&nbsp;&nbsp;&nbsp; 56.25&nbsp; <br \/>&nbsp;&nbsp; 640&#215;480&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 75.00&nbsp;&nbsp;&nbsp; 72.81&nbsp;&nbsp;&nbsp; 66.67&nbsp;&nbsp;&nbsp; 60.00&nbsp; <br \/>&nbsp;&nbsp; 720&#215;400&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 70.08&nbsp; <br \/>VGA1 connected 1280&#215;1024+0+0 (normal left inverted right x axis y axis) 340mm x 270mm<br \/>&nbsp;&nbsp; 1280&#215;1024&nbsp;&nbsp;&nbsp;&nbsp; 60.02*+&nbsp; 75.02&nbsp; <br \/>&nbsp;&nbsp; 1280&#215;960&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 60.00&nbsp; <br \/>&nbsp;&nbsp; 1152&#215;864&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 75.00&nbsp; <br \/>&nbsp;&nbsp; 1024&#215;768&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 75.08&nbsp;&nbsp;&nbsp; 70.07&nbsp;&nbsp;&nbsp; 60.00&nbsp; <br \/>&nbsp;&nbsp; 832&#215;624&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 74.55&nbsp; <br \/>&nbsp;&nbsp; 800&#215;600&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 72.19&nbsp;&nbsp;&nbsp; 75.00&nbsp;&nbsp;&nbsp; 60.32&nbsp;&nbsp;&nbsp; 56.25&nbsp; <br \/>&nbsp;&nbsp; 640&#215;480&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 75.00&nbsp;&nbsp;&nbsp; 72.81&nbsp;&nbsp;&nbsp; 66.67&nbsp;&nbsp;&nbsp; 60.00&nbsp; <br \/>&nbsp;&nbsp; 720&#215;400&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 70.08&nbsp; <br \/>VIRTUAL1 disconnected (normal left inverted right x axis y axis)<\/p>\n<p>El siguiente escript configura el monitor1 llamado VGA1 y poner el monitor2 llamado hdmi1 a la izquiera.<\/p>\n<p>gedit dosmonitores.sh <br \/>xrandr&nbsp; &#8211;output VGA1 -s 1280&#215;1024 -r 75 &#8211;left-of HDMI1<\/p>\n<p>Hay una herramienta llamada <b>arandr<\/b>, que es un Screen Layout Editor, que genera el script de forma autom\u00e1tica dandole a guardar como. Ejemplo:<\/p>\n<p>xrandr &#8211;output VGA-0 &#8211;mode 1280&#215;1024 &#8211;pos 1920&#215;0 &#8211;rotate normal &#8211;output DVI-I-1 &#8211;off &#8211;output DVI-I-0 &#8211;off &#8211;output HDMI-0 &#8211;primary &#8211;mode 1920&#215;1080 &#8211;pos 0x0 &#8211;rotate normal <\/p>\n<p>Seria equivalente a :<br \/>xrandr &#8211;output VGA-0 -s 1280&#215;1024 -r 75 &#8211;right-of HDMI-0<\/p>\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>El comando xrandr permite ver la configuraci\u00f3n actual de los monitores xrandrScreen 0: minimum 8 x 8, current 2720 x 1024, maximum 32767 x 32767HDMI1 connected primary 1440&#215;900+1280+0 (normal left inverted right x axis y axis) 410mm x 260mm&nbsp;&nbsp; 1440&#215;900&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &hellip; <a href=\"http:\/\/aldarias.es\/wordpress\/?p=55\">Sigue leyendo <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"episode_type":"","audio_file":"","podmotor_file_id":"","podmotor_episode_id":"","cover_image":"","cover_image_id":"","duration":"","filesize":"","filesize_raw":"","date_recorded":"","explicit":"","block":"","itunes_episode_number":"","itunes_title":"","itunes_season_number":"","itunes_episode_type":"","footnotes":""},"categories":[57,49,58],"tags":[],"class_list":["post-55","post","type-post","status-publish","format-standard","hentry","category-dos-monitores","category-ubuntu","category-xrandr"],"_links":{"self":[{"href":"http:\/\/aldarias.es\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/55","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/aldarias.es\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/aldarias.es\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/aldarias.es\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/aldarias.es\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=55"}],"version-history":[{"count":0,"href":"http:\/\/aldarias.es\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/55\/revisions"}],"wp:attachment":[{"href":"http:\/\/aldarias.es\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=55"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/aldarias.es\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=55"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/aldarias.es\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=55"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}