Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jan 2018 18:19:20 +0100
From:      Per olof Ljungmark <peo@nethead.se>
To:        freebsd-questions@freebsd.org
Subject:   Re: xfce4 reverts to mirrored dislays
Message-ID:  <c38bac7e-7fd2-254a-814c-5ea9d6d6e1d2@nethead.se>
In-Reply-To: <20180120170942.532834dd.freebsd@edvax.de>
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> <20180120170942.532834dd.freebsd@edvax.de>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c38bac7e-7fd2-254a-814c-5ea9d6d6e1d2>