Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jan 2018 16:46:16 +0100
From:      Per olof Ljungmark <peo@nethead.se>
To:        freebsd-questions@freebsd.org
Subject:   Re: xfce4 reverts to mirrored dislays
Message-ID:  <2c24a50e-c7d1-0841-bee6-9f015d48a927@nethead.se>
In-Reply-To: <20180120141518.7a85ed99@planb.netng.org>
References:  <c89fe0ea-d072-2a4b-ad02-74041e3bd181@nethead.se> <20180120125636.6ad88128.freebsd@edvax.de> <20180120134001.65ddb697@archlinux.localdomain> <20180120141518.7a85ed99@planb.netng.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 01/20/18 14:15, Vladimir Botka wrote:
> On Sat, 20 Jan 2018 13:40:01 +0100
> Ralf Mardorf via freebsd-questions
> <freebsd-questions@freebsd.org> wrote:
> 
>> On Linux I'm using a xorg.conf, as well as a script based upon
>> xrandr, ...
> 
> +1. FWIW, example of xrandr:
> 
> xrandr --output VGA-1 --mode 1680x1050 --pos 0x0 --rotate
> left --output LVDS-1 --off --output HDMI-3 --off --output
> HDMI-2 --off --output HDMI-1 --off --output DP-3 --off
> --output DP-2 --off --output DP-1 --primary --mode 1920x1080
> --pos 1050x600 --rotate normal
> 
> There is a GUI (x11/arandr) to make the configuration easier.
> 

Thank you all for your suggestions - the basic problem must be in
xfce4-settings and it looks like one has to work around it - a little
surprised that the bug in displays.c is marked "Solved" though - I did
patch displays.c and reinstall it.

https://bugzilla.xfce.org/show_bug.cgi?id=14096

https://git.xfce.org/xfce/xfce4-settings/commit?id=e128126f5e32c1018854403bb846cb9d6a091bb0

Let me clarify the problem:

When I start X all is dandy, likewise if I exit X and come back.
*But*, if I leave my workplace with X running long enough for the
monitors to power down, when they are powered up again the display is
mirrored and ~/.config/xfce4/xfconf/xfce-perchannel-xml/displays.xml is
overwritten no matter how I try to make it read only.

Not sure what script could help me with this?
Is there a known way to lock this file?

Thanks,

//per



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2c24a50e-c7d1-0841-bee6-9f015d48a927>