<div dir="ltr"><div style> i am trying to scripting plasma to be like gnome2 gnome3 chrome os unity , i know that this could be sound bad but... i think that plasma can be what unity is not ... anyway.... </div><div style>
<br></div>:) i was trying to write chromeOS activity better<div><br></div><div><br></div><div> and i tried to do that with Search and Launch "desktop layout"<div style><br></div><div style>i was able to customize it but not the stripwidget</div>
</div><div style><br></div><div style>i tried to use the array but it did not work :S </div><div style><br></div><div style><div>///CHROMEOS ACTIVITY </div><div>var screenrect = screenGeometry(0) // get information about your screen h w </div>
<div><br></div><div>function chromeos(){</div><div><br></div><div><span class="" style="white-space:pre">       </span></div><div><span class="" style="white-space:pre">   </span></div><div><span class="" style="white-space:pre">   </span></div>
<div><span class="" style="white-space:pre">    </span>var activity = new Activity("sal")</div><div><span class="" style="white-space:pre">       </span><a href="http://activity.name">activity.name</a> = i18n("ChromeOs Activity")</div>
<div><span class="" style="white-space:pre">    </span>activity.writeConfig("EnabledEntries","plasma-sal-bookmarks.desktop,plasma-sal-contacts.desktop,plasma-sal-multimedia.desktop,plasma-sal-internet.desktop,plasma-sal-graphics.desktop,plasma-sal-games.desktop,plasma-sal-office.desktop")</div>
<div><span class="" style="white-space:pre">    </span>activity.wallpaperPlugin = "image"</div><div><span class="" style="white-space:pre">       </span>activity.wallpaperMode = "SingleImage"</div><div><span class="" style="white-space:pre">   </span>activity.currentConfigGroup = Array("Wallpaper", "image")</div>
<div><span class="" style="white-space:pre">    </span>activity.writeConfig("wallpaper", "nowardev-chromeos")</div><div><span class="" style="white-space:pre"> </span>activity.writeConfig("previewPlugins","imagethumbnail,jpegthumbnail,kffmpegthumbnailer") </div>
<div><span class="" style="white-space:pre">    </span>activity.reloadConfig()</div><div><span class="" style="white-space:pre">    </span>activity.currentConfigGroup = new Array('stripwidget')</div><div><span class="" style="white-space:pre">     </span>activity.currentConfigGroup = new Array('favourite-0')</div>
<div><span class="" style="white-space:pre">    </span>activity.writeConfig("url","/usr/share/applications/kde4/dolphin.desktop")</div><div><span class="" style="white-space:pre">     </span></div><div>}</div>
<div><br></div><div>chromeos()</div><div><br></div><div><br></div><div><br></div><div><br></div></div></div>