Global ktrash settings
John McMonagle
johnm at advocap.org
Mon Apr 23 19:29:53 BST 2012
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.
Are there any more examples?
A global setting would be easier but that should be safer than running a
script through the user config files.
John
Thanks
___________________________________________________
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.
More information about the kde
mailing list