Thanks for the answer! As far as I understand: For new users, this would be doable. But if users just mess up their panels and want to go back to a default panel, it's a bit complicated to get the contents ~/.config/plasma-org.kde.plasma.desktop-appletsrc replaced by a default file.
So it would be easier to have a system wide default file. layout.js or a system-wide plasma-org.kde.plasma.desktop-appletsrc. For the first one I don't know the syntax. Is there a system wide plasma-org.kde.plasma.desktop-appletsrc read if the user doesn't have its own one? Thanks, Achim On Mon, Mar 21, 2016 at 04:42:20PM +0300, Alexey Andreyev wrote: > Not sure I've understood you right, but how about edit > ~/.config/plasma-org.kde.plasma.desktop-appletsrc ? > Should be an option there to always show needed apps in a taskbar (even > when closed). Somehow connected with 'launchers' keyword. > > 2016-03-21 16:11 GMT+03:00 Achim Mildenberger <ad...@physik.kit.edu>: > > > Hello, > > > > I hope the following question ist ok in this list. > > > > Is there a possibility to include applications in the > > default panel (plasma 5.4, openSuSE 42.1)? > > > > The reason I'm asking is, I'd like to include > > things like dolphin and konsole in the default panel on a > > student computer pool. If users mess up their panel or for > > first time logins there should be some applications in > > the default panel. > > > > I think the default panel is described in > > > > plasma/layout-templates/org.kde.plasma.desktop.defaultPanel/contents/layout.js > > > > In kde4 the following code worked: > > tasks.currentConfigGroup = new Array("Launchers") > > tasks.writeConfig("filemanager", "preferred://filemanager, , , ") > > tasks.writeConfig("terminal", "preferred://terminal, , , ") > > > > I tried this in plasma 5, but I didn't succeed. > > > > Is there documentation about the layout.js available? > > Or is there an example how to include applications (not widgets) > > into layout.js? > > > > Thanks a lot, > > Achim > > _______________________________________________ > > Plasma-devel mailing list > > Plasma-devel@kde.org > > https://mail.kde.org/mailman/listinfo/plasma-devel > > > _______________________________________________ > Plasma-devel mailing list > Plasma-devel@kde.org > https://mail.kde.org/mailman/listinfo/plasma-devel -- Dr. Achim Mildenberger IT-Admin, Fakultaet Physik, Karlsruher Institut f. Technologie Mail: ad...@physik.kit.edu Tel.: ++49 721 608 43578 Fax.: ++49 721 608 943578 _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel