{"id":93,"date":"2007-06-05T15:27:26","date_gmt":"2007-06-05T14:27:26","guid":{"rendered":"http:\/\/albertomilone.com\/wordpress\/?p=93"},"modified":"2007-06-05T15:27:26","modified_gmt":"2007-06-05T14:27:26","slug":"a-gui-for-randr","status":"publish","type":"post","link":"https:\/\/albertomilone.com\/blog\/a-gui-for-randr\/","title":{"rendered":"A GUI for RandR"},"content":{"rendered":"<p><meta content=\"text\/html; charset=utf-8\" http-equiv=\"CONTENT-TYPE\" \/><title\/><meta content=\"OpenOffice.org 2.2  (Linux)\" name=\"GENERATOR\" \/><meta content=\"Alberto Milone\" name=\"AUTHOR\" \/><meta content=\"20070604;22164000\" name=\"CREATED\" \/><meta content=\"Alberto Milone\" name=\"CHANGEDBY\" \/><meta content=\"20070605;190000\" name=\"CHANGED\" \/>\t\t\t\t\t\t\t<\/p>\n<p style=\"margin-bottom: 0cm;\" class=\"western\">I have been working at nights on a new project of mine. I have always thought that Keith Packards&#8217; RandR was an excellent tool and I wanted to make xrandr (its textual interface) more userfriendly. I am aware that another chap is working on a UI written in C, however I thought I would contribute with my Python application.<\/p>\n<p style=\"margin-bottom: 0cm;\" class=\"western\">RandrGUI (its provisional name) is a GTK interface to xrandr. I did not create Python bindings for RandR (since I can&#8217;t code in C, <strong>yet<\/strong><span style=\"\">) but an application which captures the output of xrandr and uses it to apply the settings that users choose.<\/span><\/p>\n<p style=\"margin-bottom: 0cm;\" class=\"western\">I installed Debian Sid, since it uses xserver-xorg 1.3, randr 1.2 and the intel driver 2.0, and started developing my application. I wrote the interface using glade (so that I don&#8217;t have to change the code if I want to make the UI look different.<\/p>\n<p style=\"margin-bottom: 0cm;\" class=\"western\"><span style=\"\">I have almost finished writing <\/span><strong>version 0.1 which will enable you to<\/strong><span style=\"\">:<\/span><\/p>\n<ul>\n<li>\n<p style=\"margin-bottom: 0cm;\" class=\"western\">\tclone your screen on an external screen or TV<\/p>\n<\/li>\n<li>\n<p style=\"margin-bottom: 0cm;\" class=\"western\">\trotate your screen(s)<\/p>\n<\/li>\n<li>\n<p style=\"margin-bottom: 0cm;\" class=\"western\">\tchange your screen(s) resolution<\/p>\n<\/li>\n<\/ul>\n<p style=\"margin-bottom: 0cm;\" class=\"western\">You will be able to do all this without touching your xorg.conf, only a few mouse clicks are required.<\/p>\n<p style=\"margin-bottom: 0cm;\" class=\"western\">\n<\/p>\n<p style=\"margin-bottom: 0cm;\" class=\"western\"><strong>What are the requirements?<\/strong><\/p>\n<ul>\n<li>\n<p style=\"margin-bottom: 0cm;\" class=\"western\">\txserver-xorg 1.3<\/p>\n<\/li>\n<li>\n<p style=\"margin-bottom: 0cm;\" class=\"western\">\trandr 1.2<\/p>\n<\/li>\n<li>\n<p style=\"margin-bottom: 0cm;\" class=\"western\">\tthe intel driver 2.0 (or the ATI open source driver from GIT code)\n<\/p>\n<\/li>\n<li>\n<p style=\"margin-bottom: 0cm;\" class=\"western\">\tA GNU\/Linux distribution which uses the first three elements in this\tlist.<\/p>\n<\/li>\n<\/ul>\n<p style=\"margin-bottom: 0cm;\" class=\"western\">This means that you will not be able to use it on Feisty. Maybe on Gutsy.<\/p>\n<p style=\"margin-bottom: 0cm;\" class=\"western\">\n<\/p>\n<p style=\"margin-bottom: 0cm;\" class=\"western\"><strong>Does it work flawlessly?<\/strong><\/p>\n<p style=\"margin-bottom: 0cm;\" class=\"western\">No,not yet. At least not with the version of randr available on Debian unstable. However it works quite well here.<\/p>\n<p style=\"margin-bottom: 0cm;\" class=\"western\">\n<\/p>\n<p style=\"margin-bottom: 0cm;\" class=\"western\"><strong>Known Issues<\/strong><\/p>\n<ul>\n<li>\n<p style=\"margin-bottom: 0cm;\" class=\"western\">\tThere is no way to select PAL\/NTSC for your CRT TV therefore my TV\tworks at 30Hz and the video is black and white *\n<\/p>\n<\/li>\n<li>\n<p style=\"margin-bottom: 0cm;\" class=\"western\">\tI do not know how Randrgui will work with HD TVs *\n<\/p>\n<\/li>\n<li>\n<p style=\"margin-bottom: 0cm;\" class=\"western\"><span style=\"\">Sometimes\tyou have to change the resolution of your 2<\/span><sup><span style=\"\">nd<\/span><\/sup><span style=\"\">\tscreen in order to get the right resolution on your first screen\t(this means that more clicks are required).<\/span><\/p>\n<\/li>\n<li>\n<p style=\"margin-bottom: 0cm;\" class=\"western\">\tIf I use a DVI2VGA adapter 1 extra TMDS-1 device spawns up (I&#8217;ll\thave to ask some Xorg hackers about this)<\/p>\n<\/li>\n<\/ul>\n<p style=\"margin-bottom: 0cm;\" class=\"western\"><strong> * As far as I know,the first 2 problems are solved in Randr GIT code <\/strong><span style=\"\">therefore I will have to play with the experimental code and adapt randrgui.<\/span><\/p>\n<p style=\"margin-bottom: 0cm;\" class=\"western\">\n<\/p>\n<p style=\"margin-bottom: 0cm;\" class=\"western\"><strong>TODO<\/strong><\/p>\n<ul>\n<li>\n<p style=\"margin-bottom: 0cm;\" class=\"western\">\tWrite a logger (for version 0.1 ?)<\/p>\n<\/li>\n<li>\n<p style=\"margin-bottom: 0cm;\" class=\"western\">\tGive the option to use each screen separately (instead of just\tcloning your main screen on the other screens)<\/p>\n<\/li>\n<li>\n<p style=\"margin-bottom: 0cm;\" class=\"western\">\tAdapt Randrgui to Randr&#8217;s GIT code<\/p>\n<\/li>\n<li>\n<p style=\"margin-bottom: 0cm;\" class=\"western\">\tFind a better name for Randrgui<\/p>\n<\/li>\n<li>\n<p style=\"margin-bottom: 0cm;\" class=\"western\">\tmake a deb package<\/p>\n<\/li>\n<\/ul>\n<p><strong><br \/>\n<\/strong><\/p>\n<p><strong>Release date<\/strong>\n<\/p>\n<p>I hope to release it soon. I am studying all day for my English and Spanish exams therefore I can code only at nights.\n<\/p>\n<p style=\"margin-bottom: 0cm;\" class=\"western\">\n<\/p>\n<p style=\"margin-bottom: 0cm;\" class=\"western\"><strong>Screenshots<\/strong><\/p>\n<p style=\"margin-bottom: 0cm;\" class=\"western\">I know this screenshot does not show how RandrGUI works therefore I promise that I will post more screenshots soon.<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/albertomilone.com\/images\/randrgui1.jpg\" alt=\"randrgui in action\" \/><\/p>\n<p style=\"text-align: right; font-size: 8px\">Blogged with <a href=\"http:\/\/www.flock.com\/blogged-with-flock\" title=\"Flock\" target=\"_new\">Flock<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have been working at nights on a new project of mine. I have always thought that Keith Packards&#8217; RandR was an excellent tool and I wanted to make xrandr (its textual interface) more userfriendly. I am aware that another chap is working on a UI written in C, however I thought I would contribute <a class=\"read-more\" href=\"https:\/\/albertomilone.com\/blog\/a-gui-for-randr\/\">[&hellip;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,9],"tags":[],"class_list":["post-93","post","type-post","status-publish","format-standard","hentry","category-debian","category-ubuntu"],"_links":{"self":[{"href":"https:\/\/albertomilone.com\/blog\/wp-json\/wp\/v2\/posts\/93","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/albertomilone.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/albertomilone.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/albertomilone.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/albertomilone.com\/blog\/wp-json\/wp\/v2\/comments?post=93"}],"version-history":[{"count":0,"href":"https:\/\/albertomilone.com\/blog\/wp-json\/wp\/v2\/posts\/93\/revisions"}],"wp:attachment":[{"href":"https:\/\/albertomilone.com\/blog\/wp-json\/wp\/v2\/media?parent=93"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/albertomilone.com\/blog\/wp-json\/wp\/v2\/categories?post=93"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/albertomilone.com\/blog\/wp-json\/wp\/v2\/tags?post=93"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}