folderview as default for all users
Kevin Krammer
krammer at kde.org
Mon Dec 10 21:57:55 UTC 2012
On Monday, 2012-12-10, adrelanos wrote:
> Hi!
>
> I, as a distro developer (Whonix), want to make folderview the default
> for all users. (Right click on desktop -> Desktop Settings -> Layout ->
> Folder View) (I don't care if people change it later.)
>
> The distro is based on Debian. I am replacing the original
> /usr/share/kde4/apps/plasma-desktop/init/00-defaultLayout.js. The file
> originally looks like:
From this we can determine that the relative path of the file is
plasma-desktop/init/00-defaultLayout.js
> Is there a better way than replacing the file?
>
> Stacking the kde configuration files somehow? It didn't work for me.
> /etc/environment sets: 'KDEDIRS=/usr/local/share/whonix/kde/' and I
> placed the patched 00-defaultLayout.js into the stacked kde
> configuration folder. I.e.
> /usr/local/share/whonix/kde/apps/plasma-desktop/init/00-defaultLayout.js
As I already wrote on the other mailinglist there is a share/ missing in this
path, as demonstrated by the output of kde4-config.
> Output of 'kde4-config --path data' is:
> /home/user/.kde/share/apps/:/usr/local/share/whonix/kde/share/apps/:/usr/sh
> are/kde4/apps/
From this output we can see that the "data" base path you are attempting to
use is
/usr/local/share/whonix/kde/share/apps
with the relative path from above that would make the target file
/usr/local/share/whonix/kde/share/apps/plasma-desktop/init/00-defaultLayout.js
Does it work if you use that?
Cheers,
Kevin
--
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20121210/638766ce/attachment.sig>
More information about the Plasma-devel
mailing list