Immutability (was: Re: autostart spec changes)
rodrigo at gnome-db.org
Fri Mar 3 13:16:15 EET 2006
On Fri, 2006-03-03 at 11:12 +0100, Thiago Macieira wrote:
> Vincent Untz wrote:
> >>>> Just illustrating what Aaron means: the admin would write this in
> >>>> the system-level .desktop file:
> >>>> Hidden[$i]=false
> >>>can this be used for all keys?
> >> Yes, for anything.
> >> Any key, any section, or any file can have the [$i] flag, which marks
> >> that key, section, or file immutable.
> >Is this documented in any fdo spec? If no, it sounds like a good
> > addition to the specs where it's relevant (autostart & menu, eg).
> No, it isn't. This has mostly been a KDE extension to the desktop spec
> because of the Kiosk framework. We also use it in our configuration files
> in the exact same manner.
> Adding it to the desktop file spec would mean all other implementations
> now need to implement the immutability feature. How comfortable are the
> developers with this feature?
> As a side-node, KDE also supports another extension, which is [$e]. This
> allows for expanding environment variables, like:
shouldn't we support this by default, without using the special $e? Not
sure if there might be conflicts, but usually, in UNIX config files you
can use environment variables, so it makes sense to support them also
on .desktop files.
Rodrigo Moya <rodrigo at gnome-db.org>
More information about the xdg