This forum has been archived. All content is frozen. Please use KDE Discuss instead.
The Discussions and Opinions forum is a place for open discussion regarding everything related to KDE, within the boundaries of KDE Code of Conduct. If you have a question or need a solution for a KDE problem, please post in the apppropriate forum instead.

play with plasma = fun

Tags: None
(comma "," separated)
nowardev
Registered Member
Posts
244
Karma
0
OS

play with plasma = fun

Sat May 28, 2011 8:16 am
this is fantastic for me



look aht this ... http://wstaw.org/m/2011/05/27/UNity.gif

i have made another little javascript for plasma m you can find here

http://nowardev.wordpress.com/2011/05/2 ... ther-test/

Code: Select all
var panel = new Panel
if (panelIds.length == 1) {
    // panel.location = 'bottom'
    panel.location = 'top'
}

panel.height = 25

launcher = panel.addWidget("lancelot_part");
launcher.writeConfig("iconLocation", "start-here-kde");
launcher.writeConfig("iconClickActivation", "true");
launcher.writeConfig("contentsExtenderPosition", "1");
launcher.writeConfig("searchHistory", "firefox");
launcher.writeConfig("showSearchBox", "true");
launcher.writeConfig("partData", "model=FavoriteApplications&type=list&version=1.0\nmodel=Folder%20applications%3A%2FMultimedia%2F&type=list&version=1.0\nmodel=Devices%2FRemovable&type=list&version=1.0\nmodel=Devices%2FFixed&type=list&version=1.0\nmodel=System&type=list&version=1.0\nmodel=OpenDocuments&type=list&version=1.0");

var firefox = panel.addWidget("quicklaunch")
firefox.writeConfig("iconUrls","file:///usr/share/applications/firefox.desktop")

var dolphin = panel.addWidget("quicklaunch");
dolphin.writeConfig("iconUrls","file:////usr/share/applications/kde4/dolphin.desktop");

var menubar = panel.addWidget("menubar")
//menubar.writeConfig("useButtonFormFactor", "false");

//panel.addWidget("panelspacer_internal")

//pager = panel.addWidget("pager");
//pager.writeConfig("rows", "2");

var systemsettings = panel.addWidget("quicklaunch");
systemsettings.writeConfig("iconUrls","file:////usr/share/applications/kde4/systemsettings.desktop")

var help = panel.addWidget("quicklaunch")
//qlaunch.writeConfig("iconSize", "24")
help.writeConfig("iconUrls","file:///usr/share/applications/kde4/Help.desktop")

var systemtray = panel.addWidget("systemtray")

var clock = panel.addWidget("digital-clock");
clock.writeConfig("showDate", "false");
clock.writeConfig("showDay", "false");
clock.writeConfig("showSeconds", "true");
clock.writeConfig("showYear", "false");
clock.writeConfig("showShadow", "false");
//clock.writeConfig("showTimezone", "true");
clock.writeConfig("plainClockFont", "Serif,12,-1,5,75,0,0,0,0,0");
clock.writeConfig("useCustomColor", "true");
clock.writeConfig("plainClockColor", "255,255,255");
clock.writeConfig("plainClockDrawShadow", "false");

lockout = panel.addWidget("lockout");
//lockout.writeConfig("showHibernateButton","true");
lockout.writeConfig("showLogoutButton","true");
lockout.writeConfig("showLockButton","false");
lockout.writeConfig("showSleepButton","false");
lockout.writeConfig("showSwitchUserButton","false");

var panel = new Panel
if (panelIds.length == 2) {
    // we are the only panel, so set the location for the user panel.location = 'bottom'
    panel.location = 'bottom'
}

panel.height = 45
panel.addWidget("showdesktop")
panel.addWidget("smooth-tasks")

pager = panel.addWidget("pager");
pager.writeConfig("rows", "1");

panel.addWidget("trash")
//panel.addWidget("smooth-tasks")
//panel.addWidget("launcher")
//panel.addWidget("pastebin")
//panel.addWidget("tasks")
User avatar
toad
Global Moderator
Posts
1258
Karma
7
OS

Re: play with plasma = fun

Sun Jun 12, 2011 8:35 am
Very nice :) I use krunner for exactly that functionality but remapped it from ALT+F2 to CTRL+space (easier...).


Debian testing


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]