Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jan 2018 17:09:42 +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:  <20180120170942.532834dd.freebsd@edvax.de>
In-Reply-To: <2c24a50e-c7d1-0841-bee6-9f015d48a927@nethead.se>
References:  <c89fe0ea-d072-2a4b-ad02-74041e3bd181@nethead.se> <20180120125636.6ad88128.freebsd@edvax.de> <20180120134001.65ddb697@archlinux.localdomain> <20180120141518.7a85ed99@planb.netng.org> <2c24a50e-c7d1-0841-bee6-9f015d48a927@nethead.se>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



-- 
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?20180120170942.532834dd.freebsd>