Xfce Forum

Sub domains
 

You are not logged in.

#1 2019-01-20 20:50:24

ctac
Member
Registered: 2017-05-08
Posts: 57

Property locked

Hi.
I try to set a common panel for all users.
This panel must been locked, nobody can change it.
In Settings Editor, there is a column Locked with no access.
Xfconf-query give no option to lock something.
DBus give a method to set a property :

dbus-send --print-reply --dest=org.xfce.Xfconf /org/xfce/Xfconf org.freedesktop.DBus.Introspectable.Introspect

    <method name="Set">
      <arg name="interface" direction="in" type="s"/>
      <arg name="propname" direction="in" type="s"/>
      <arg name="value" direction="in" type="v"/>
    </method>

but there is nothing like

arg name="locked" direction="in" type="b"

DBus give another method :

    <method name="IsPropertyLocked">
      <arg name="channel" type="s" direction="in"/>
      <arg name="property" type="s" direction="in"/>
      <arg name="locked" type="b" direction="out"/>
    </method>

but there is no method LockProperty

How can i do this ?
Thanks.

Offline

#2 2019-01-21 23:21:57

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: Property locked

I believe the locked field is read-only. To lock a property, have a look at the kiosk mode documentation. I believe that once it is locked that way, it will show up as locked.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.010 seconds, 8 queries executed - Memory usage: 535.02 KiB (Peak: 535.87 KiB) ]