<div dir="auto"><div data-smartmail="gmail_signature" dir="auto">Hi Ludwig,</div><div class="gmail_extra" dir="auto"><br><div class="gmail_quote">2017年9月26日 22:33,"Ludwig Cornelius" <<a href="mailto:t_d_l_c@gmx.de">t_d_l_c@gmx.de</a>>寫道:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
my name is Ludwig Cornelius, I work for the city of munich. I'd have some questions about the configuration of applications in KDE Plasma 5:<br>
<br>
1.)<br>
In KDE4 we use /etc/kde4rc to set a path to a kiosk profile like in kubuntu:<br>
<br>
[Directories-default]<br>
prefixes=/usr/share/kubuntu-de<wbr>fault-settings/kde4-profile/de<wbr>fault/<br>
<br>
<br>
The profile folder contained folders like share/apps, share/config, share/icons.<br>
<br>
I tested this with /etc/kde5rc and /etc/kde4rc with the same content and this doesn't work anymore.  As far as I can see in Kubuntu 17.10 (kubuntu-settings-desktop) the environment variable XDG_CONFIG_DIRS is extended instead. Is this the new way of setting a kiosk profile?</blockquote></div></div><div dir="auto"><br></div><div dir="auto">/etc/kde5rc, as far as I tested, doesn't work anymore, though the source code still says it should work.</div><div dir="auto"><br></div><div class="gmail_extra" dir="auto"></div><div class="gmail_extra" dir="auto"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
2.)<br>
When I extend XDG_CONFIG_DIRS like in kubuntu-settings-desktop in Kubuntu 17.10, I can put in this folder the *rc-Files previously found in share/config. But what about the contents of share/apps? Wherever I put them beneath the XDG_CONFIG_DIRS they don't seem work. I tested this with a dolphinui.rc file to change the menu of dolphin:<br>
<br>
<kiosk profile folder as defined in XDG_CONFIG_DIRS><br>
├── dolphinrc<br>
└── kxmlgui5<br>
    └── dolphin<br>
        └── dolphinui.rc<br>
<br>
<br>
Where can I put dolphinui.rc?<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Config files are now in $HOME/.config/ </div><div dir="auto"><br></div><div dir="auto">For those files under /usr/share/plasma now the only way I tested okay is to put your customized files under .local/share/plasma </div><div dir="auto"><br></div><div dir="auto">Theoretically XDG_CONFIG_DIRS should work too but I didn't really see if .config and .local/share/plasma work because of this environment variable.  BTW, at least I'm sure that XDG_MENU_PREFIX doesn't work.</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">Regards,</div><div dir="auto">Franklin</div><div class="gmail_extra" dir="auto"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"></blockquote></div></div></div>