[Kde-kiosk] Can one have multiple kdeglobals files?

Russell Brown russell at dmz.lls.com
Tue Dec 23 12:16:40 CET 2003


Quoth Waldo Bastian.....
>
>On Mon December 22 2003 19:03, Russell Brown wrote:
>> I guess it's really the order of the kdeglobals files with respect to
>> KDEDIRS that I'm questioning here.  Should the order of evaluation be
>> from right to left and therefore different to all other KDE directory
>> path searching?
>
>When the setting is immutable we use the most-global one that is immutable. If 
>the setting is not immutable we use the most-local one. The order in which we 
>parse the files is irrelevant.

Sorry to bang on about this Waldo but I still don't get it:  Which is
the 'most global' and what rules determine that?

Consider this boiled down example:

	KDEDIRS=/PathOne:/PathTwo:/usr
	/PathOne/../kdeglobals:
		[KDE Action Restrictions]
		shell_access[$i]=false
	/PathTwo/../kdeglobals:
		[KDE Action Restrictions]
		shell_access[$i]=true

kreadconfig returns true for shell_access.  

This appears both wrong (why isn't /PathOne the most global) and
counterintuitive as shell_access was set a) false and b) immutable in
the /PathOne kdeglobals file.  This *will* confuse others.

I guess I can imagine how the code is written (stop searching when you
find an immutable) but this doesn't seem quite right.

If this is how it's written and the logic in the code is itself
immutable :-) then can I change the question?

How can I achieve a layered kdeglobals system so that I can have a
standard kdeglobals file that is immutable and then have the ability to
do local tuning without changing either my standard or the distro
kdeglobals file?


QuidProQuo:  Waldo, when I understand this I'll try to write an
explanatory note showing how to use layered kdeglobals files and send it
to the kiosk list so anyone else as dumb as me may not get so confused
in the future :-)

-- 
 Regards,
     Russell
 --------------------------------------------------------------------
| Russell Brown          | MAIL: russell at lls.com PHONE: 01780 471800 |
| Lady Lodge Systems     | WWW Work: http://www.lls.com              |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk         |
 --------------------------------------------------------------------


More information about the kde-kiosk mailing list