plasma search and launch javasscripting

Nowardev-Team nowardev at gmail.com
Fri Feb 1 11:48:17 UTC 2013


 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....

:) i was trying to write chromeOS activity better


 and i tried to do that with Search and Launch "desktop layout"

i was able to customize it but not the stripwidget

i tried to use the array but it did not work :S

///CHROMEOS ACTIVITY
var screenrect = screenGeometry(0) // get information about your screen h w

function chromeos(){

  var activity = new Activity("sal")
activity.name = i18n("ChromeOs Activity")
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")
activity.wallpaperPlugin = "image"
activity.wallpaperMode = "SingleImage"
activity.currentConfigGroup = Array("Wallpaper", "image")
activity.writeConfig("wallpaper", "nowardev-chromeos")
activity.writeConfig("previewPlugins","imagethumbnail,jpegthumbnail,kffmpegthumbnailer")
activity.reloadConfig()
activity.currentConfigGroup = new Array('stripwidget')
activity.currentConfigGroup = new Array('favourite-0')
activity.writeConfig("url","/usr/share/applications/kde4/dolphin.desktop")
}

chromeos()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20130201/01e9b9cd/attachment.html>


More information about the Plasma-devel mailing list