{"id":404,"date":"2011-10-03T08:38:29","date_gmt":"2011-10-03T06:38:29","guid":{"rendered":"http:\/\/www.thelins.se\/johan\/blog\/?p=404"},"modified":"2011-09-30T08:44:16","modified_gmt":"2011-09-30T06:44:16","slug":"macbook-pro-ubuntu-and-the-cinema-display","status":"publish","type":"post","link":"https:\/\/www.thelins.se\/johan\/blog\/2011\/10\/macbook-pro-ubuntu-and-the-cinema-display\/","title":{"rendered":"MacBook Pro, Ubuntu and the Cinema Display"},"content":{"rendered":"<p>I&#8217;ve got a new laptop &#8211; a MacBook Pro. The 13&#8243; model with the i7 CPU and no discrete graphics card from ATI or nvidia. Instead one relies on the graphics card built-in to SandyBridge.<\/p>\n<p>This caused some issues with the Cinema Display that I&#8217;ve grown so fond of &#8211; and it looked as if a <a href=\"http:\/\/ubuntuforums.org\/showthread.php?t=1808585\">driver hack was needed<\/a>. But, thanks to my helpful colleague Erik Bot\u00f6, the magic modeline was found. The trick is to lower the refresh frequency. So, for everyone out there, this does the trick:<\/p>\n<p><code>xrandr --newmode \"1920x1200_45.00\" 140.92 1920 2032 2232 2544 1200 1201 1204 1231 -HSync +Vsync<br \/>\nxrandr --addmode DP1 \"1920x1200_45.00\"<br \/>\nxrandr --output DP1 --mode \"1920x1200_45.00\"<\/code><\/p>\n<p>If you want to, you can skip the last xrandr call and simply use the KDE Display Settings tool. The line above gives you a clone setup, which I prefer at work.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve got a new laptop &#8211; a MacBook Pro. The 13&#8243; model with the i7 CPU and no discrete graphics card from ATI or nvidia. Instead one relies on the graphics card built-in to SandyBridge. This caused some issues with the Cinema Display that I&#8217;ve grown so fond of &#8211; and it looked as if &hellip; <a href=\"https:\/\/www.thelins.se\/johan\/blog\/2011\/10\/macbook-pro-ubuntu-and-the-cinema-display\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">MacBook Pro, Ubuntu and the Cinema Display<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-404","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/posts\/404","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/comments?post=404"}],"version-history":[{"count":3,"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/posts\/404\/revisions"}],"predecessor-version":[{"id":407,"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/posts\/404\/revisions\/407"}],"wp:attachment":[{"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/media?parent=404"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/categories?post=404"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.thelins.se\/johan\/blog\/wp-json\/wp\/v2\/tags?post=404"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}