[Kde-kiosk] Automate emptying trash bin
subbukk
subbukk at gmail.com
Thu Jan 4 09:09:21 CET 2007
On Thursday 04 January 2007 08:25, Murray Trainer wrote:
> Hi Michael,
>
> Thanks for that. Unfortunately the ktrash --empty requires an
> X-session to be running. I might have to just do:
>
> rm -f ~/.local/Share/Trash/files/*
> rm -f ~/.local/Share/Trash/info/*
This is safer:
/bin/rm -f ${XDG_DATA_HOME:-~/.local/share}/Trash/{files,info}/*
btw, the full specification for Trash is in
http://www.freedesktop.org/wiki/Standards_2ftrash_2dspec
The path spec is $XDG_DATA_HOME/Trash and can be overridden by config
settings. XDG_DATA_HOME defaults to ~/.local/share
Regards .. Subbu
More information about the kde-kiosk
mailing list