This is a multi-part message in MIME format. --===============6006517284990028787== Content-Type: multipart/alternative; boundary="------------010706040805090405010804" This is a multi-part message in MIME format. --------------010706040805090405010804 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hey all, I'm having a bit of an issue trying to make something work in my environment. Basically, I want widgets to be disabled by default. But if a user chooses to do so, they can unlock the widgets and make their changes. Then, on logout, the widget will automatically be locked again for them so they don't accidentally remove it the next day. So to do that I'd like to use init scripts (/usr/share/kde4/apps/plasma-desktop/init/00-defaultLayout.js) to pass something directly into plasma-desktop-appletsrc when a user first logs in. Specifically, I want to add this to the bottom of the file: [General] immutability[$i]=2 This will lock widgets by default but will allow the users to unlock it (immutability=1) temporarily to add/move widgets. Then the next time they log back in it will be locked (immutability=2) again for them. So, is there some way I can easily easily set immutability[$i]=2 under the [General] section of plasma-desktop-appletsrc? Thanks in advance! --------------010706040805090405010804 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit Hey all,

I'm having a bit of an issue trying to make something work in my environment.

Basically, I want widgets to be disabled by default. But if a user chooses to do so, they can unlock the widgets and make their changes. Then, on logout, the widget will automatically be locked again for them so they don't accidentally remove it the next day.

So to do that I'd like to use init scripts (/usr/share/kde4/apps/plasma-desktop/init/00-defaultLayout.js) to pass something directly into plasma-desktop-appletsrc when a user first logs in.

Specifically, I want to add this to the bottom of the file:
[General]
immutability[$i]=2
This will lock widgets by default but will allow the users to unlock it (immutability=1) temporarily to add/move widgets. Then the next time they log back in it will be locked (immutability=2) again for them.

So, is there some way I can easily easily set immutability[$i]=2 under the [General] section of plasma-desktop-appletsrc?

Thanks in advance!
--------------010706040805090405010804-- --===============6006517284990028787== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KUGxhc21hLWRl dmVsIG1haWxpbmcgbGlzdApQbGFzbWEtZGV2ZWxAa2RlLm9yZwpodHRwczovL21haWwua2RlLm9y Zy9tYWlsbWFuL2xpc3RpbmZvL3BsYXNtYS1kZXZlbAo= --===============6006517284990028787==--