Rodrigo Moya wrote: >On Tue, 2006-02-28 at 18:59 +0100, Thiago Macieira wrote: >> Aaron J. Seigo wrote: >> >> Also, when disabling services by using the Hidden field, there >> >> should be a way for admins to disable this. That is, a >> >> CantBeDisabled field (or whatever) that disables any .desktop file >> >> with the same name in other top-level directories. >> > >> >we (KDE) have this via immutability ([$i]) already. it's a sensible >> > and generic (e.g. doesn't just apply to autostard) method IMHO. i'd >> > recommend using that approach as it's already widely implemented in >> > KDE and has years of use that shows it works well for all parties >> > involved (coders, sys admins, etc) >> >> 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.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
1. On frumscafte, hwonne time_t wæs náht, se scieppend þone circolwyrde
wundorcræftlíge cennede and seo eorðe wæs idel and hit wæs gód.
pgpnIBGN0zbCq.pgp
Description: PGP signature
_______________________________________________ xdg mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xdg
