{"id":895,"date":"2010-05-13T23:45:56","date_gmt":"2010-05-13T15:45:56","guid":{"rendered":"http:\/\/blog.lolyco.com\/sean\/?p=895"},"modified":"2010-05-13T23:45:56","modified_gmt":"2010-05-13T15:45:56","slug":"on-screen-ruler-for-ubuntu-screenruler","status":"publish","type":"post","link":"https:\/\/blog.lolyco.com\/sean\/2010\/05\/13\/on-screen-ruler-for-ubuntu-screenruler\/","title":{"rendered":"On-screen ruler for Ubuntu: screenruler"},"content":{"rendered":"<div id=\"attachment_898\" style=\"width: 266px\" class=\"wp-caption alignright\"><a href=\"http:\/\/blog.lolyco.com\/sean\/wp-content\/uploads\/2010\/05\/Screenshot.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-898\" class=\"size-full wp-image-898\" title=\"screenruler - two of them, one rotated to vertical\" src=\"http:\/\/blog.lolyco.com\/sean\/wp-content\/uploads\/2010\/05\/Screenshot.png\" alt=\"screenruler - two of them, one rotated to vertical\" width=\"256\" height=\"256\" \/><\/a><p id=\"caption-attachment-898\" class=\"wp-caption-text\">screenruler - two of them, one rotated to vertical<\/p><\/div>\n<p>Just a quick note to say I&#8217;ve found one of those surprisingly useful features of a graphical desktop that really does make sense. I was thinking about calculating the positions of some elements on a web page and providing some relative or absolute positions to prevent &#8216;resizing salad&#8217;. The first thought that struck me was &#8220;what are the positions of the elements now?&#8221;. I stopped myself from taking a screenshot and measuring them with the GIMP&#8217;s image ruler, thinking that by now, some bright spark must have done the decent thing and provided something that would work on the desktop, for all applications.<\/p>\n<p>The first &#8216;on screen ruler&#8217; in a scan of search results that looked convincing was <a title=\"Screenruler at gnomecoder.wordpress.com\" href=\"http:\/\/gnomecoder.wordpress.com\/screenruler\/\">screenruler<\/a>, and it really is exactly what I want. If you&#8217;re using <a title=\"Ubuntu - the only software you need\" href=\"http:\/\/www.ubuntu.com\/\">Ubuntu<\/a>, you should be able to install it using this magic &#8216;apt:&#8217; link:<\/p>\n<p><a title=\"Automatically install 'screenruler' with apt\" href=\"apt:screenruler\">Install screenruler using an apt: link<\/a><\/p>\n<p>If you&#8217;re a command-line kind of person, &#8216;sudo apt-get install screenruler&#8217; will do much the same thing.<\/p>\n<p>My favourite features of screenruler: the &#8216;track mouse&#8217; tooltip so I don&#8217;t have to count the marks to get precise measurements, and the fine-positioning afforded by the arrow keys on the keyboard.<\/p>\n<p>Enjoy!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Just a quick note to say I&#8217;ve found one of those surprisingly useful features of a graphical desktop that really does make sense. I was thinking about calculating the positions of some elements on a web page and providing some relative or absolute positions to prevent &#8216;resizing salad&#8217;. The first thought that struck me was [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[50,3],"tags":[9,105,43],"class_list":["post-895","post","type-post","status-publish","format-standard","hentry","category-foss","category-software","tag-open-source","tag-software","tag-ubuntu"],"_links":{"self":[{"href":"https:\/\/blog.lolyco.com\/sean\/wp-json\/wp\/v2\/posts\/895","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.lolyco.com\/sean\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.lolyco.com\/sean\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.lolyco.com\/sean\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.lolyco.com\/sean\/wp-json\/wp\/v2\/comments?post=895"}],"version-history":[{"count":4,"href":"https:\/\/blog.lolyco.com\/sean\/wp-json\/wp\/v2\/posts\/895\/revisions"}],"predecessor-version":[{"id":900,"href":"https:\/\/blog.lolyco.com\/sean\/wp-json\/wp\/v2\/posts\/895\/revisions\/900"}],"wp:attachment":[{"href":"https:\/\/blog.lolyco.com\/sean\/wp-json\/wp\/v2\/media?parent=895"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.lolyco.com\/sean\/wp-json\/wp\/v2\/categories?post=895"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.lolyco.com\/sean\/wp-json\/wp\/v2\/tags?post=895"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}