lotherk 87fc0e5fc7 MCDE desktop: the trash icon (t0284)
The desktop carries a Trash icon (Dtbin.m.pm when ~/.dt/Trash is empty,
Dtbinml.m.pm when it holds something); a double click opens the trash in
dtfile, the icon menu has Empty Trash.  The icon is an XDND drop target:
a file dragged onto it is moved into ~/.dt/Trash (renamed, or copied and
removed across file systems).  tools/mcde-xdnd-drop.c is the test
source: it sends XdndEnter/Position/Drop with text/uri-list and answers
the SelectionRequest.  Measured under Xvfb: the empty and the full
glyph, Empty Trash emptied the folder, and the drop of
file:///tmp/xdnd-test.txt printed status accept=1, selection request,
finished and left the file in the trash.  Screenshots:
desktop-trash-empty.png, desktop-trash-full.png.
2026-11-16 08:58:03 +00:00
2026-11-16 08:58:03 +00:00
2026-11-16 08:58:03 +00:00
2026-11-15 22:36:39 +00:00
S
Description
The Modern Unix Workstation OS
https://makronix.hiddenbox.org
7.1 GiB
0 Stars 3 Watchers 0 Forks
Languages
C 83.2%
Roff 5.6%
Assembly 5.3%
Shell 1.5%
Makefile 1.3%
Other 2.6%