[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: Plasma Desktop Scripting Tutorial for Distros
From:       "Aaron J. Seigo" <aseigo () kde ! org>
Date:       2010-04-23 16:56:29
Message-ID: 201004230956.30031.aseigo () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


hi :)

On April 23, 2010, Jonathan Riddell wrote:
> Aaron Seigo has offered to do a tutorial on Plasma Desktop Scripting.
> He's proposing a session of around two hours on IRC to show desktop
> scripting to distribution developers and anyone else who's interested.

thanks for spearheading this.

a bit more info for those on kde-packager: if you package the KDE Plasma 
Desktop you really, really want to get this information.

plasma-desktop now uses Javascript for its default layout and setup. 

it also uses Javascript for configuration updates: kconfig_update, due to how 
KConfig itself works, and plasma-desktop are simply not compatible with each 
other and it is unlikely that will change. so configuration updates will (and 
are already, actually) pushed as Javascript.

in 4.5 there is now no more hard coded layouts in the c++ code at all and 
we've also introduced the idea of "templates" which are Javascript bundles 
that let us define how to lay out pretty much anything in plasma-desktop that 
we wish to. they also show up in the desktop context menu under Add Panel and 
will be exposed in the new Activity Manager.

this means that this information is pretty much key to being able to ensure a 
proper first-log-in experience for your users. it also opens the way for 
anyone with even a small amount of scripting experience to be able to mold 
plasma-desktop into what your audience wants.

but unless we get this information out there and in your hands and heads, this 
move from "edit a configuration file" to simple but powerful scripting will 
never achieve what it can. so please come, one and all, who are involved in 
creating KDE Plasma Workspace packages for downstream distributions, private 
deployments, etc.

you'll also be happy to know that there is good documentation for this growing 
area of Plasma here:

http://techbase.kde.org/KDE_System_Administration/PlasmaDestkopScripting

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks

[Attachment #5 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" \
"http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" \
content="1" /><style type="text/css"> p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Bitstream Vera Sans'; font-size:12pt; \
font-weight:400; font-style:normal;"> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">hi :)</p> <p style="-qt-paragraph-type:empty; margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;"></p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;">On April 23, 2010, Jonathan Riddell wrote:</p> <p \
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; Aaron Seigo has offered \
to do a tutorial on Plasma Desktop Scripting.</p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;">&gt; He's proposing a session of around two hours \
on IRC to show desktop</p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">&gt; scripting to distribution developers and anyone else who's \
interested.</p> <p style="-qt-paragraph-type:empty; margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;"></p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;">thanks for spearheading this.</p> <p \
style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"></p> <p \
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">a bit more info for those on \
kde-packager: if you package the KDE Plasma Desktop you really, really want to get \
this information.</p> <p style="-qt-paragraph-type:empty; margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;"></p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;">plasma-desktop now uses Javascript for its \
default layout and setup. </p> <p style="-qt-paragraph-type:empty; margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;"></p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;">it also uses Javascript for configuration \
updates: kconfig_update, due to how KConfig itself works, and plasma-desktop are \
simply not compatible with each other and it is unlikely that will change. so \
configuration updates will (and are already, actually) pushed as Javascript.</p> <p \
style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"></p> <p \
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">in 4.5 there is now no more \
hard coded layouts in the c++ code at all and we've also introduced the idea of \
&quot;templates&quot; which are Javascript bundles that let us define how to lay out \
pretty much anything in plasma-desktop that we wish to. they also show up in the \
desktop context menu under Add Panel and will be exposed in the new Activity \
Manager.</p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;"></p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">this means that this information is pretty much key to being able \
to ensure a proper first-log-in experience for your users. it also opens the way for \
anyone with even a small amount of scripting experience to be able to mold \
plasma-desktop into what your audience wants.</p> <p style="-qt-paragraph-type:empty; \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;"></p> <p style=" \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">but unless we get this \
information out there and in your hands and heads, this move from &quot;edit a \
configuration file&quot; to simple but powerful scripting will never achieve what it \
can. so please come, one and all, who are involved in creating KDE Plasma Workspace \
packages for downstream distributions, private deployments, etc.</p> <p \
style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"></p> <p \
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">you'll also be happy to know \
that there is good documentation for this growing area of Plasma here:</p> <p \
style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"></p> <p \
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">http://techbase.kde.org/KDE_System_Administration/PlasmaDestkopScripting</p>
 <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;"></p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">-- </p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">Aaron J. Seigo</p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">humru othro a kohnu se</p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;">GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 \
D6B7 2EB1 A7F1 DB43</p> <p style="-qt-paragraph-type:empty; margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;"></p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;">KDE core developer sponsored by Qt Development \
Frameworks</p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;"></p></body></html>



_______________________________________________
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