On Monday, 2012-04-23, John McMonagle wrote: > On Monday 23 April 2012 11:54:44 am Kevin Krammer wrote: > > On Monday, 2012-04-23, John McMonagle wrote: > > > On Monday 23 April 2012 11:26:48 am Kevin Krammer wrote: > > > > On Monday, 2012-04-23, John McMonagle wrote: > > > > > I want to set default trash settings. > > > > > > > > > > I tried putting the following in /etc/kde4/ktrashrc > > > > > ............................. > > > > > [$HOME/.local/share/Trash] > > > > > Days=7 > > > > > LimitReachedAction=1 > > > > > Percent=10 > > > > > UseSizeLimit=true > > > > > UseTimeLimit=true > > > > > ................................... > > > > > > > > > > Does not work :-( > > > > > Suspect it does not like $HOME like this. > > > > > > > > Hmm, I am not sure configuration sections can be made shell > > > > environment variable dependent. > > > > But you could try > > > > > > > > [$HOME/.local/share/Trash][$e] > > > > > > > > Cheers, > > > > Kevin > > > > > > Adding [$e] did not help :-( > > > > Ah, too bad. Seems it is only supported for config entries, not sections. > > > > You could try modifying user's configs using the config update tool > > http://techbase.kde.org/Development/Tools/Using_kconf_update > > > > Cheers, > > Kevin > > Kevin > > Never saw update tool before. It is normally only used by application developers when they change their config handling in certain ways that requires change of already existing config. > Are there any more examples? Most old applications should have several such file and associated scripts installed. Look into subdirectory kconf_update in paths output by this command kde-config4 --path data > A global setting would be easier but that should be safer than running a > script through the user config files. I do agree of course, however since our attempts at making an appropriate default failed I thought 'll provide you with other options. Cheers, Kevin -- Kevin Krammer, KDE developer, xdg-utils developer KDE user support, developer mentoring
Attachment:
signature.asc
Description: This is a digitally signed message part.
___________________________________________________ This message is from the kde mailing list. Account management: https://mail.kde.org/mailman/listinfo/kde. Archives: http://lists.kde.org/. More info: http://www.kde.org/faq.html.