Global ktrash settings

Kevin Krammer krammer at kde.org
Mon Apr 23 17:54:44 BST 2012


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 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/kde/attachments/20120423/4040eba3/attachment.sig>
-------------- next 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.


More information about the kde mailing list