<div dir="ltr">Hi Marco,<br><div class="gmail_extra"><br></div><div class="gmail_extra">Good to see you reply.<br><br><div class="gmail_quote">2013/9/6 Marco Martin <span dir="ltr"><<a href="https://mail.google.com/mail/u/0/?view=cm&fs=1&tf=1&to=notmart@gmail.com" title="[GMCP] Compose a new mail to notmart@gmail.com" rel="noreferrer" target="_blank">notmart@gmail.com</a>></span><br>



<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div>On Thursday 05 September 2013, Franklin Weng wrote:<br>
> Hi list,<br>
><br>
><br>
> We're now customizing kubuntu and making a distros for school use, and we'd<br>
> like to make some settings as KDE global default, which means that when a<br>
> new user was created those settings could be applied.<br>
<br>
</div>Hi Franklin,<br>
interesting ;)<br>
<div><br>
> another used sal.  For folderview it worked.  All my defined widgets were<br>
> there.  However for sal, I defined "EnabledEntries" and hope that those<br>
> menu items can be on the SaL desktop by default, but it wouldn't work.<br>
<br>
</div>I pushed yesterday a patch in kde-workspace 4.11 branch to adress the issue of<br>
EnabledEntries.<br>
if you can't build it i think johnathan has packages with the patch on the<br>
way?<br>
<br>
Cheers,<br>
Marco Martin<br>
_______________________________________________<br>
Plasma-devel mailing list<br>
<a href="https://mail.google.com/mail/u/0/?view=cm&fs=1&tf=1&to=Plasma-devel@kde.org" title="[GMCP] Compose a new mail to Plasma-devel@kde.org" rel="noreferrer" target="_blank">Plasma-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/plasma-devel" target="_blank">https://mail.kde.org/mailman/listinfo/plasma-devel</a><br>
</blockquote></div><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Yes.  <span style="font-family:arial,sans-serif">I downloaded the packages Johnathan made from launchpad and downgrade them manually, but failed.</span></div>



<div class="gmail_extra"><div style="font-family:arial,sans-serif">I mailed to tell him the testing result.  Here I post it again.</div><div style="font-family:arial,sans-serif"><br></div><div style="font-family:arial,sans-serif">


As I have pasted yesterday, my 00-defaultLayout.js was like this:</div><div style="font-family:arial,sans-serif">
<a href="http://paste.kde.org/p16a1e898/" target="_blank">http://paste.kde.org/p16a1e898/</a><br></div><div style="font-family:arial,sans-serif"><br></div><div style="font-family:arial,sans-serif">When the system started in folderview activity, the contents of plasma-desktop-appletsrc corresponding to this sal activity was like this:<br>



<div><a href="http://paste.kde.org/p996fbc0b/" target="_blank">http://paste.kde.org/p996fbc0b/</a><br></div><div><br></div><div>You can see that the javascript did write the config into plasma-desktop-appletsrc.</div><div>



However, when I switched to the sal activity, I still got only for items on the desktop:</div><div><a href="http://www.goodhorse.idv.tw/files/sal-screenshot.png" target="_blank">http://www.goodhorse.idv.tw/files/sal-screenshot.png</a><br>



</div><div><br></div><div>The config file was not changed.  It was just ignored.</div><div><br></div><div>Then I tried to add an item on the desktop.  It succeeded, and the plasma-desktop-appletsrc became:</div><div><a href="http://paste.kde.org/p61347a45/" target="_blank">http://paste.kde.org/p61347a45/</a><br>



</div><div><br></div><div>It rewrote the EnabledEntries entry.</div><div><br></div></div></div><div class="gmail_extra">I just couldn't understand why sal activity didn't reference the EnabledEntries key in my plasma-desktop-appletsrc</div>



<div class="gmail_extra"><br></div><div class="gmail_extra">Any help will be very appreciated.</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks,</div><div class="gmail_extra">



Franklin</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br>
</div></div>