Date: Sat, 20 Jan 2018 12:56:36 +0100 From: Polytropon <freebsd@edvax.de> To: Per olof Ljungmark <peo@nethead.se> Cc: freebsd-questions@freebsd.org Subject: Re: xfce4 reverts to mirrored dislays Message-ID: <20180120125636.6ad88128.freebsd@edvax.de> In-Reply-To: <c89fe0ea-d072-2a4b-ad02-74041e3bd181@nethead.se> References: <c89fe0ea-d072-2a4b-ad02-74041e3bd181@nethead.se>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 20 Jan 2018 12:19:14 +0100, Per olof Ljungmark wrote: > FreeBSD 11.1-STABLE #0 r326044 > nvidia-driver-384.98 > xfce4-settings-4.12.1 > > File > .config/xfce4/xfconf/xfce-perchannel-xml/displays.xml > > Problem > > I use a dual monitor setup with "<property name="X" type="int" > value="1920"/>", ie. with the second monitor 1920px to the right > > On every monitor power down, xfce4 decides that they are mirrored > instead and changes the file displays.xml to value="0" for the right > monitor and the file is overwritten. > > Tried > > - Setting ownership to the above file to root > - Set the propery <channel name="displays" version="1.0"> to "locked" > - Applied this patch to xfce4-settings-4.12.1: > https://bugzilla.xfce.org/show_bug.cgi?id=14096 > https://git.xfce.org/xfce/xfce4-settings/commit?id=e128126f5e32c1018854403bb846cb9d6a091bb0 > - "metamodes" "DP-2: nvidia-auto-select +0+0, DP-3: nvidia-auto-select > +1920+0" in xorg.conf (ignored by xfce apparently) > - nvidia-settings > - nvidia-xconfig > > .xinitrc has just "/usr/local/bin/startxfce4" > > None of the above changes the behaviour and I am out of ideas how to fix. > > Are there other files I am unaware of that could override displays.xml? > > Thankful for any hints on the subject... You should be able to set "hard-coded defaults" in xorg.conf or, as it is done today, in a file in the /usr/local/etc/xorg.conf.d subdirectory. I'm not using a dual-screen setup at the moment, but I did with two 21" CRTs (4:3) on a nVidia GeForce GPU. Here is an example from the /etc/X11/xorg.conf file that could offer some inspiration: Section "ServerLayout" Identifier "Layout0" InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" Option "DontZap" "false" Screen 0 "Screen0" 0 0 Screen 1 "Screen1" LeftOf "Screen0" Option "Xinerama" "on" EndSection Section "ServerFlags" Option "DontVTSwitch" "false" Option "DontZoom" "false" Option "Xinerama" "true" Option "AIGLX" "true" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Eizo" ModelName "FlexScan F980" HorizSync 30.0 - 137.0 VertRefresh 50.0 - 160.0 Option "DPMS" "false" DisplaySize 410 305 EndSection Section "Monitor" Identifier "Monitor1" VendorName "Eizo" ModelName "FlexScan F77S" HorizSync 30.0 - 137.0 VertRefresh 50.0 - 160.0 Option "DPMS" "false" DisplaySize 410 305 EndSection Section "Device" Identifier "Card0" Driver "nvidia" VendorName "nVidia Corporation" BoardName "G73 [GeForce 7600 GS]" BusID "PCI:2:0:0" Screen 0 Option "NvAGP" "3" Option "UseEdid" "FALSE" Option "UseEdidDpi" "FALSE" Option "DPI" "96 x 96" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Viewport 0 0 Depth 24 Visual "TrueColor" Modes "1400x1050" "1152x864" "1024x768" "800x600" "640x480" "320x240" EndSubSection Option "TwinView" Option "TwinViewOrientation" "LeftOf" Option "ConnectedMonitor" "CRT, CRT" EndSection You will need to experiment with those settings. As I said, this stuff was written a long time ago, for very special hardware... ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180120125636.6ad88128.freebsd>