trashcan taskbar icon
Brought to you by:
captnmark
This is a simple applet watching a $TRASH
directory for any files that were "deleted".
It shows the number of items in a tooltip,
and "empty" if none and "full" if several.
There is also a TrashCommand that can be
wired to opening up the trash in your FM.
Patch is from the Ubuntu version (1.2.23),
but seemed to apply cleanly to 1.2.26 too.
The new icon shows on the absolute right
of the taskbar, just like in GNOME / KDE.
It's part of an "ubuntu lite" overhaul,
for an IceWM-based version of Ubuntu...
icewm-1.2.23-trash.patch
Logged In: YES
user_id=935104
It is not an applet. An applet would be something like xmms'
systray docklet app, a separate application managed by
icewmtray.
So you actually add new code to icewm (which costs memory)
for something that maybe few people need. It is fancy, sure.
But why should everybody pay the price? Could you consider
creating a real applet/docklet from your code? It would also
have the advantage of beeing portable to WM/DE supporting
the fd.o docklet API, including KDE and GNOME.
Logged In: YES
user_id=5895
Would it show in the tray area then ? (like GAIM etc)
Because I really wanted it to show in the lower right. If
the memory cost is too much, it could default to off ?
(for the code itself, I obviously just cloned the mailbox)
Guess I just need to read up some more on applets/docklets,
and on the FreeDesktop specs. At the moment I am just using
it with Xfe, where it works, but it (Xfe) isn't "compliant"...
I guess it should really be using something like:
http://freedesktop.org/wiki/Standards_2ftrash_2dspec
Logged In: YES
user_id=935104
Eh, from what I know, most (all?) modern systray object
implementations do it that way: GAIM, Psi, xmms systray
plugin, xchat systray plugin, kprinter foo*, Valknut, etc.pp.
Logged In: YES
user_id=1814
this looks interesting.
will it also "trash" the file upon dropping it on the icon?
Logged In: YES
user_id=5895
Not as it was written, it only showed state and performed an
action when clicked upon. No drag target, no menu to empty it.
desktop screenshot
Logged In: YES
user_id=5895
Here is what it looks like with a different theme.
(It has been configured for the "Xfe" file manager)
Showing GTK2 and a GNOME-ish layout in this shot,
but will probably use GTK1.2 and standard IceWM...