xfce4 reverts to mirrored dislays

Polytropon freebsd at edvax.de
Sat Jan 20 16:09:51 UTC 2018

On Sat, 20 Jan 2018 16:46:16 +0100, Per olof Ljungmark wrote:
> 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?

As root, chown the file to root:wheel, then make it r--/r--/r--,
and finally use chflags to apply the noschg flag. This should
make the file immutable to any write attempts.

Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

More information about the freebsd-questions mailing list