Have you included gvfs package? As far as I remember Trash service works through gvfs.
On Sun, Aug 26, 2012 at 5:54 PM, Robert Spiteri <[email protected]> wrote: > Thanks for your reply. I have created a desktop file to show the trash icon > on desktop. I mean that is the way I found it should be done. I need to > check /home/user/.local/Trash/files/. If a file exists in it, the icon will > change to a full trash icon, otherwise it should be changed again to an > empty trash icon. > > I have (till now) made a script with a while (true) loop that runs in the > background. This way I have eliminated cron. > > Is there another way to do it please? > > > On 26 August 2012 13:51, Baurzhan Muftakhidinov <[email protected]> > wrote: >> >> Is this really supposed to be done via cron job? Which folder and how >> often you >> willing to check, (I am just curious)? >> >> Pcmanfm couldn't handle standard gvfs Trash and change icon accordingly? >> >> On Sun, Aug 26, 2012 at 4:50 PM, Robert Spiteri <[email protected]> >> wrote: >> > I need to make a cron job to check if a particular directory is empty or >> > not. The cron job is supposed to be readily available when the live >> > system >> > boots. How can I do that? >> > >> > My intention is to change the trash icon to a full one when a file is >> > deleted. I will be using pcmanfm. >> > >> > thanks in advance. >> > >> > -- >> > Robert >> > > > > > > -- > Robert > -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/CAFp4thS6f=qgiyrrcu6verxdayc+ffklhqolb9_w-0lk2j2...@mail.gmail.com
