xfce4 reverts to mirrored dislays

Per olof Ljungmark peo at nethead.se
Sat Jan 20 17:19:27 UTC 2018


On 01/20/18 17:09, Polytropon wrote:
> 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.

I did, but believe it not, the display still comes up mirrered and when
I change it back to "Right-of" the file changes ownership to 644 and my
username.

Sigh.

I think I'll open the bug upstream instead.


More information about the freebsd-questions mailing list