xfce4 reverts to mirrored dislays

Per olof Ljungmark peo at nethead.se
Sat Jan 20 15:46:28 UTC 2018


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 at 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


More information about the freebsd-questions mailing list