[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: plasma search and launch javasscripting
From: Nowardev-Team <nowardev () gmail ! com>
Date: 2013-02-01 11:48:17
Message-ID: CAL6cU-1kVZEGvx8k8cQYB4my+2RVQecb_QGYSsQAVFvnv6w78w () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
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-contact \
s.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()
[Attachment #5 (text/html)]
<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>
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic