lock xfconf properties
Brian J. Tarricone
bjt23 at cornell.edu
Wed Dec 10 20:47:33 CET 2008
Mark Trompell wrote:
> On Wed, Dec 10, 2008 at 12:54 PM, Stephan Arts <stephan at xfce.org> wrote:
>> On Wed, Dec 10, 2008 at 12:38 PM, Mark Trompell <mark at foresightlinux.org> wrote:
>>> As I always had to leave shortly after asking that question on irc, I
>>> try it on the ML now.
>>>
>>> How do I lock a property for xfconf either in a per-channel-xml or
>>> using xfconf-query or xfce4-settings-editor.
>>> Mark
>> Currently, it is impossible to lock a property using xfconf. (so, with
>> the settings-editor or xfconf-query).
>>
>> The reason for this is that xfconfd is running as $(user), but it
>> needs root-privileges to change the system files with the 'locked='
>> entries.
>
> That pretty much makes sense, if I as an administrator of a system
> lock a property, I probably don't want a user to unlock it again.
>
>> You can set this inside the per-channel-xml backend, see the docs on
>> how to do that[0]
>
> Thanks, that's all I was looking for.
If it doesn't seem to work right, don't assume you're at fault -- the
locking system is very untested.
-brian
More information about the Xfce
mailing list