[kdepim-users] Lock widgets in kmail

Ingo Klöcker kloecker at kde.org
Thu Dec 5 19:04:05 GMT 2013


On Wednesday 04 December 2013 21:46:37 mls at xlist.pw wrote:
> Hi,
> 
> is there a way to lock the widgets of the UI of kmail so that they
> cannot be changed? I set up a Kubuntu laptop for my father-in-law,
> but he more and more messes up the widgets and then don't know how to
> fix it. I would like to freeze kmail so he can only create emails,
> open emails and switch folders. Changing the toolbars, columns width
> and so on should not be possible.

You should be able to lock at least some of the settings with the help 
of the generic kiosk-capabilities of KDE's configuration backend.

In short it works as follows (at least AFAIK):
1.) You configure KMail as desired.
2.) You make copies of the relevant configuration files and put those 
copies into one of the system folders in the search path for the 
respective resource type of the configuration file.
    Examples:
    - You copy kmail2rc from $(kde4-config --localprefix)/share/config 
to one of the system folders you get when you run "kde4-config --path 
config".
    - You copy kmcomposerui.rc and kmmainwin.rc from $(kde4-config --
localprefix)/share/apps to one of the system folders you get when you 
run "kde4-config --path data".
3.) You mark those settings that your father-in-law should not be able 
to change with [$i] (i as immutable) between the name (resp. key) of the 
setting and the '='. You can also mark entire setting groups as 
immutable by appending [$i] to [some group].


For more information/details read the introduction to Kiosk:
http://techbase.kde.org/KDE_System_Administration/Kiosk/Introduction


Regards,
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdepim-users/attachments/20131205/706f54e8/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM users mailing list
Subscription management: https://mail.kde.org/mailman/listinfo/kdepim-users


More information about the kdepim-users mailing list