<div dir="ltr">try plasma panels collections , <div>i have made some kate snippets to create plasma theme => <a href="http://www.youtube.com/watch?v=wAB1whqH9n8">http://www.youtube.com/watch?v=wAB1whqH9n8</a></div><div>
<br></div><div><br></div><div><br></div><div><a href="http://kde-apps.org/content/show.php/Plasma+Panels+Collections?content=155726">http://kde-apps.org/content/show.php/Plasma+Panels+Collections?content=155726</a><br></div>
<div><br></div><div>i have even made my own settings and i have saved in this project </div><div><a href="http://kde-apps.org/content/show.php/kde+Customization+kit?content=148430">http://kde-apps.org/content/show.php/kde+Customization+kit?content=148430</a><br>
</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/8/18 Niki Kovacs <span dir="ltr"><<a href="mailto:info@microlinux.fr" target="_blank">info@microlinux.fr</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Le 18/08/2013 15:06, Kevin Krammer a écrit :<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I think in case of Plasma the only viable approach is scripting.<br>
See [1] and [2]<br>
</blockquote>
<br>
Thanks for your suggestions. I've spent a couple more hours reading the Plasma Scripting Documentation and doing lots of trial and error. I have a partial success now. I could make some things work as expected, but some not.<br>

<br>
Here's what I could figure out so far (correct me if I'm wrong). BTW, on my Slackware 14.0 system, I deleted everything kde-related under /etc/skel, just to be on the safe side.<br>
<br>
Everything more or less happens under /usr/share/apps. When a new user is created, the script plasma-desktop/init/00-<u></u>defaultLayout.js is run. This script in its turn loads the layout.js file in plasma/layout-templates/org.<u></u>kde.plasma-desktop.<u></u>defaultPanel/contents. I played around a bit with these files, and succeeded in changing a few things, like the default panel size, and not displaying some launcher buttons I don't need.<br>

<br>
Here's what I have so far in layout.js:<br>
<br>
var panel = new Panel<br>
if (panelIds.length == 1) {<br>
    // we are the only panel, so set the location for the user<br>
    panel.location = 'bottom'<br>
}<br>
<br>
panel.height = screenGeometry(panel.screen).<u></u>height > 1024 ? 70 : 54<br>
panel.addWidget("launcher")<br>
tasks = panel.addWidget("tasks")<br>
panel.addWidget("systemtray")<br>
panel.addWidget("digital-<u></u>clock")<br>
<br>
tasks.currentConfigGroup = new Array("Launchers")<br>
<br>
Here's what I would like to have in my default profile:<br>
<br>
1) Add a shutdown dialog button on the bottom right side of the panel, right next to the clock.<br>
<br>
2) Define a default wallpaper (/usr/share/wallpapers/<u></u>microlinux.jpg).<br>
<br>
3) Default the desktop to "Folder View".<br>
<br>
4) Add a few quick launchers next to the Kickoff button for Dolphin, Firefox, Thunderbird and Open Office.<br>
<br>
Now I don't know how to translate this in the somehow weird scripting syntax.<br>
<br>
Any suggestions ?<br>
<br>
Cheers,<br>
<br>
Niki Kovacs<div class="HOEnZb"><div class="h5"><br>
<br>
-- <br>
Microlinux - Solutions informatiques 100% Linux et logiciels libres<br>
7, place de l'église - 30730 Montpezat<br>
Web  : <a href="http://www.microlinux.fr" target="_blank">http://www.microlinux.fr</a><br>
Mail : <a href="mailto:info@microlinux.fr" target="_blank">info@microlinux.fr</a><br>
Tél. : 04 66 63 10 32<br>
______________________________<u></u>_____________________<br>
This message is from the kde mailing list.<br>
Account management:  <a href="https://mail.kde.org/mailman/listinfo/kde" target="_blank">https://mail.kde.org/mailman/<u></u>listinfo/kde</a>.<br>
Archives: <a href="http://lists.kde.org/" target="_blank">http://lists.kde.org/</a>.<br>
More info: <a href="http://www.kde.org/faq.html" target="_blank">http://www.kde.org/faq.html</a>.<br>
</div></div></blockquote></div><br></div>