{"id":1328,"date":"2012-11-29T08:09:45","date_gmt":"2012-11-29T06:09:45","guid":{"rendered":"http:\/\/raftaman.net\/?p=1328"},"modified":"2021-05-15T11:46:38","modified_gmt":"2021-05-15T09:46:38","slug":"kde-multi-monitor-display-settings-are-lost-on-logout","status":"publish","type":"post","link":"https:\/\/possiblelossofprecision.net\/?p=1328","title":{"rendered":"KDE multi-monitor display settings are lost on logout"},"content":{"rendered":"<p>There are quite a few bug reports on the kde bug tracking system about kde losing display settings on logout (e.g. <a href=\"https:\/\/bugs.kde.org\/show_bug.cgi?id=183143\">Bug 183143<\/a>). But since this problem has been present for a couple of years and is still existing in the latest version of KDE (i.e. 4.8.5 at this writing), here&#8217;s a workaround:<\/p>\n<p>Add a parameter called <code>StartupCommands<\/code> to the <code>krandr<\/code> configuration file (usually located at <strong><code>~\/.kde\/share\/config\/krandrrc<\/code><\/strong> that adjusts your display layout using xrandr on login:<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n&#x5B;Display]\r\nApplyOnStartup=true\r\nStartupCommands=xrandr --output &quot;HDMI-0&quot; --primary --output &quot;VGA-0&quot; --right-of &quot;HDMI-0&quot;\r\n<\/pre>\n<p>You also need to make sure that the command is invoked on login by setting the <code>ApplyOnStartup<\/code> parameter to <code>true<\/code>.<\/p>\n<p>The actual <code>xrandr<\/code> command may of course look different, depending on the actual number and layout of screens. So YMMV!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are quite a few bug reports on the kde bug tracking system about kde losing display settings on logout (e.g. Bug 183143). But since this problem has been present for a couple of years and is still existing in the latest version of KDE (i.e. 4.8.5 at this writing), here&#8217;s a workaround: Add a parameter called StartupCommands to the&#8230; <a href=\"https:\/\/possiblelossofprecision.net\/?p=1328\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[58,45,14],"class_list":["post-1328","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-hardware","tag-kde","tag-x"],"_links":{"self":[{"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/posts\/1328","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1328"}],"version-history":[{"count":8,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/posts\/1328\/revisions"}],"predecessor-version":[{"id":1556,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=\/wp\/v2\/posts\/1328\/revisions\/1556"}],"wp:attachment":[{"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1328"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1328"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/possiblelossofprecision.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1328"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}