diff options
author | aszlig <aszlig@redmoonstudios.org> | 2017-05-02 23:07:24 +0200 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2017-05-02 23:14:26 +0200 |
commit | 9dca737d6269759745c9e68ea462446cde4d9be9 (patch) | |
tree | 4a5cee04ccc3debfb5b67038d01d4a5722626902 /nixos/doc | |
parent | beff1984f4c84435c706244871b65bf1833fbee8 (diff) | |
parent | 79e712822fcfe797c545e2db5bcef9a07b00b2e5 (diff) | |
download | nixlib-9dca737d6269759745c9e68ea462446cde4d9be9.tar nixlib-9dca737d6269759745c9e68ea462446cde4d9be9.tar.gz nixlib-9dca737d6269759745c9e68ea462446cde4d9be9.tar.bz2 nixlib-9dca737d6269759745c9e68ea462446cde4d9be9.tar.lz nixlib-9dca737d6269759745c9e68ea462446cde4d9be9.tar.xz nixlib-9dca737d6269759745c9e68ea462446cde4d9be9.tar.zst nixlib-9dca737d6269759745c9e68ea462446cde4d9be9.zip |
Merge pull request #15353 (improve xrandrHeads)
When you have a setup consisting of multiple monitors, the default is that the first monitor detected by xrandr is set to the primary monitor. However this may not be the monitor you need to be set as primary. In fact this monitor set to primary may in fact be disconnected. This has happened for the original submitter of the pull request and it affected these programs: * XMonad: Gets confused with Super + {w,e,r} * SDDM: Puts the login screen on the wrong monitor, and does not currently duplicate the login screen on all monitors * XMobar: Puts the XMobar on the wrong monitor, as it only puts the taskbar on the primary monitor These changes should fix that not only by setting a primary monitor in xrandrHeads but also make it possible to make a different monitor the primary one. The changes are also backwards-compatible.
Diffstat (limited to 'nixos/doc')
-rw-r--r-- | nixos/doc/manual/release-notes/rl-1709.xml | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/nixos/doc/manual/release-notes/rl-1709.xml b/nixos/doc/manual/release-notes/rl-1709.xml index 7a92f2e8a638..257664397599 100644 --- a/nixos/doc/manual/release-notes/rl-1709.xml +++ b/nixos/doc/manual/release-notes/rl-1709.xml @@ -17,7 +17,29 @@ has the following highlights: </para> A consequence is that UIDs and GIDs are no longer reused. </para> </listitem> - + <listitem> + <para> + The module option <option>services.xserver.xrandrHeads</option> now + causes the first head specified in this list to be set as the primary + head. Apart from that, it's now possible to also set additional options + by using an attribute set, for example: +<programlisting> +{ services.xserver.xrandrHeads = [ + "HDMI-0" + { + output = "DVI-0"; + primary = true; + monitorConfig = '' + Option "Rotate" "right" + ''; + } + ]; +} +</programlisting> + This will set the <literal>DVI-0</literal> output to be the primary head, + even though <literal>HDMI-0</literal> is the first head in the list. + </para> + </listitem> </itemizedlist> <para>The following new services were added since the last release:</para> |