<div dir="ltr">look at this .... <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><div><br></div><div>in that configs there are no destkop effects no nepomuck lighter krunner etc ... just read , there is even a nice feature in kate that can help you ...</div>
<div><br></div><div>just open every configs file on ~/.kde and then you can modify your settigs .... kate will warn you if a file has been modified ,... anyway there is already that project that can help you. it has a wallpaper customize icons colors and of course nepo and desktop effects turned off. even the kickoffrc file should be there where you can define your prefered applications just download that project and look around at the files </div>
<div><br></div><div>for folderview there is no way to script it ... at least on 4.10 i guess <br><div><br></div><div>you need to tweak some config files </div><div><br></div><div>for panels height .... as you can see in the kate snippets....</div>
<div><br></div><div>and there is no way to lock wiget i guess via javascript maybe aseigo can confirm this </div><div><br></div><div><br></div><div><div>var screenrect = screenGeometry(0); // get information about your screen h w</div>
<div><br></div><div>var panel = new Panel</div><div>if (panelIds.length == 1) {</div><div><span class="" style="white-space:pre"> </span>panel.location = 'bottom'</div><div><span class="" style="white-space:pre"> </span>//panel.location = 'top'</div>
<div><span class="" style="white-space:pre"> </span>//panel.hiding= 'autohide' //"windowscover" or "windowsbelow"</div><div><span class="" style="white-space:pre"> </span>//panel.length = (screenrect.width/2)-(screenrect.width/16);<br>
</div><div><br></div><div>panel.height = screenrect.height/30; // <========================================================================= THIS ONE </div><div><span class="" style="white-space:pre"><br></span></div>
<div><span class="" style="white-space:pre"><br></span></div><div><span class="" style="white-space:pre"> </span>//panel.alignment = "left" "right" "center"</div><div><span class="" style="white-space:pre"> </span>//panel.locked = false true</div>
<div><span class="" style="white-space:pre"> </span></div><div>}</div></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/8/19 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:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im">Le 18/08/2013 15:06, Kevin Krammer a écrit :<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">I think in case of Plasma the only viable approach is scripting.<br>
</blockquote><br></div>Hi again,<br><br>I did a lot of experimenting yesterday evening and this morning. So far I have a quite usable default configuration. Here's my 00-defaultLayout.js:<br><br>loadTemplate("org.kde.plasma-<u></u>desktop.defaultPanel")<br>
<br>for (var i = 0; i < screenCount; ++i) {<br> var desktop = new Activity<br> <a href="http://desktop.name/" target="_blank">desktop.name</a> = i18n("Workstation")<br> desktop.screen = i<br> desktop.wallpaperPlugin = 'image'<br>
desktop.wallpaperMode = 'SingleImage'<br> var wallpaper = "Ethais"<br> desktop.currentConfigGroup = new Array("Wallpaper", "image")<br> desktop.writeConfig("<u></u>wallpaper", wallpaper)<br>
desktop.writeConfig("<u></u>userswallpaper", wallpaper)<br><br> //Create more panels for other screens<br> if (i > 0){<div class="im"><br> var panel = new Panel<br></div> panel.screen = i<br>
panel.location = 'bottom'<br> panel.height = panels()[i].height = screenGeometry(0).height > 1024 ? 35 : 27<br> var tasks = panel.addWidget("tasks")<br> tasks.writeConfig("<u></u>showOnlyCurrentScreen", true);<br>
}<br>}<br><br>And here's the corresponding layout.js:<div class="im"><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>
</div>panel.addWidget("lockout")<div class="im"><br><br>tasks.currentConfigGroup = new Array("Launchers")<br></div>tasks.writeConfig("browser", "preferred://browser, , , ")<br>tasks.writeConfig("<u></u>filemanager", "preferred://filemanager, , , ")<br>
<br>What I could manage so far:<br><br>* Have a bigger panel (some of the users complain about small icons)<br>* Don't show the activity button next to the Kickoff menu<br>* Define a more "corporate" default wallpaper (Ethais is perfect)<br>
* Add a default shutdown button on the lower right side of the panel<br><br>I did this mainly by looking at other folks' mods on the web, and trying to figure out how I can adapt them for my own needs. I'm moving in very small steps, with a lot of trial and error.<br>
<br>Now here's some more things I'd like to do this way (e. g. by scripting), but I don't know how to go about it, in terms of mere syntax. I'll describe them in plain english:<br><br>* Add some custom launchers to the Kickoff menu ("Favoris").<br>
* Deactivate all graphical effects. [1]<br>* Deactivate the semantic desktop and file indexation. [1]<br>* Change mouse cursor to Whiteglass theme<br>* Default to double click.<br>* Default the desktop to "Folder View" for ~/Desktop.<br>
* Define Firefox as the default web browser.<br>* Define Thunderbird as the default mail client.<br>* Plasma widget are locked by default.<br>* Kiosk mode would be even better, e. g. most things are immutable.<br><br>[1] It's not that I don't like these. It's just that sometimes I have to install desktops on relatively low-spec hardware, and this is just to be on the safe side.<br>
<br>If you have one or more suggestions for any of the points above, I'd be grateful. For now, "I've reached the end of my latin", as we say in my native Austria.<div class="im"><br><br>Cheers from the sunny South of France,<br>
<br></div><span class=""><font color="#888888">Niki Kovacs</font></span><div class=""><div class="h5"><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><br></div></div></blockquote></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/8/19 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">OK, I managed to go further in my default configuration. I edited a series of small files in /etc/skel/.kde/share/config to alter KDE's default configuration.<br>
<br>
emaildefaults:<br>
<br>
[Defaults]<br>
Profile=Default<br>
<br>
[PROFILE_Default]<br>
EmailClient[$e]=thunderbird<br>
<br>
<br>
kcminputrc:<br>
<br>
[Mouse]<br>
cursorTheme=whiteglass<br>
<br>
<br>
kdeglobals:<br>
<br>
[KDE]<br>
SingleClick=false<br>
<br>
[General]<br>
BrowserApplication[$e]=<u></u>mozilla-firefox.desktop<br>
EmailClient[$e]=thunderbird<br>
<br>
<br>
kickoffrc:<br>
<br>
[Favorites]<br>
FavoriteURLs=/usr/share/<u></u>applications/mozilla-firefox.<u></u>desktop,/usr/share/<u></u>applications/mozilla-<u></u>thunderbird.desktop,/opt/<u></u>openoffice4/share/xdg/<u></u>startcenter.desktop,/usr/<u></u>share/applications/audacious.<u></u>desktop,/usr/share/<u></u>applications/kde4/dolphin.<u></u>desktop<br>
<br>
<br>
kwinrc:<br>
<br>
[Compositing]<br>
Enabled=false<br>
<br>
<br>
nepomukserverrc:<br>
<br>
[Basic Settings]<br>
Start Nepomuk=false<br>
<br>
[Service-nepomukfileindexer]<br>
autostart=false<br>
<br>
<br>
Everything works now as expected (again, after lots of trial & error). Which means I only have one last thing to configure, and I don't know how to figure that out:<br>
<br>
How can I have widgets default to locked? Users *can* unlock them afterwards eventually, though I'd like to know how I can theoretically lock everything down for good.<br>
<br>
Cheers,<div class="HOEnZb"><div class="h5"><br>
<br>
Niki<br>
<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>