[Kde-kiosk] kdeglobals and kmail

Richard Dale rdale at foton.es
Fri Jan 12 14:14:07 CET 2007


On Friday 12 January 2007 11:46, Richard Dale wrote:
> On Friday 12 January 2007 11:17, subbukk wrote:
> > On Thursday 11 January 2007 21:28, Richard Dale wrote:
> > > However, when the kdeglobals file is removed from the profile, that
> > > behaviour no longer occurs. To me it looks like a bug in kmail in
> > > kubuntu breezy that we are using.
> >
> > I noticed that you are using "$i" flag at the top of the kdeglobals file.
> > Can you remove it and see if the problem goes away? If you need to lock
> > down settings in kdeglobals, put $i at group level.
>
> Interesting suggestion - thanks! I've found it's the 'General' section that
> seems to stop kmail settings from being saved:
>
> [General]
> fixed=DejaVu Sans Mono,10,-1,5,50,0,0,0,0,0
> font=DejaVu Sans,11,-1,5,50,0,0,0,0,0
> menuFont=DejaVu Sans,12,-1,5,50,0,0,0,0,0
> taskbarFont=DejaVu Sans,11,-1,5,50,0,0,0,0,0
> toolBarFont=DejaVu Sans,12,-1,5,50,0,0,0,0,0
> widgetStyle=lipstik
>
> If there is a '[$i]' after General, then kmail settings aren't saved. All
> the other settings options can have a '[$i]' after them to make them
> immutable, without affecting kmail.
I've fixed it now be making the the individual items in the General section of 
kdeglobals immutable:

[General]
fixed[$i]=DejaVu Sans Mono,10,-1,5,50,0,0,0,0,0
font[$i]=DejaVu Sans,11,-1,5,50,0,0,0,0,0
menuFont[$i]=DejaVu Sans,12,-1,5,50,0,0,0,0,0
taskbarFont[$i]=DejaVu Sans,11,-1,5,50,0,0,0,0,0
toolBarFont[$i]=DejaVu Sans,12,-1,5,50,0,0,0,0,0
widgetStyle[$i]=lipstik

With all the other sections in kdeglobals make individually immutable too:

[KDE Action Restrictions][$i]
action/bookmarks=false
action/configdesktop=false
...

So it's actually a feature of the KDE config system, and not a bug in KMail as 
I thought.

-- Richard


More information about the kde-kiosk mailing list