Menu

#154 trashcan taskbar icon

open
3
2008-08-06
2006-07-16
No

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...

Discussion

  • Anders F Björklund

    icewm-1.2.23-trash.patch

     
  • Eduard Bloch

    Eduard Bloch - 2006-07-17

    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.

     
  • Anders F Björklund

    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

     
  • Anders F Björklund

    • summary: trashcan taskbar applet --> trashcan taskbar icon
     
  • Eduard Bloch

    Eduard Bloch - 2006-07-17

    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.

     
  • Marko Macek

    Marko Macek - 2006-08-04

    Logged In: YES
    user_id=1814

    this looks interesting.

    will it also "trash" the file upon dropping it on the icon?

     
  • Marko Macek

    Marko Macek - 2006-08-04
    • priority: 5 --> 6
    • assigned_to: nobody --> captnmark
     
  • Anders F Björklund

    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.

     
  • Marko Macek

    Marko Macek - 2006-08-17
    • priority: 6 --> 4
     
  • Anders F Björklund

    desktop screenshot

     
  • Anders F Björklund

    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...

     
  • Marko Macek

    Marko Macek - 2008-08-06
    • priority: 4 --> 3
     

Log in to post a comment.