87fc0e5fc7fe315d28a4e6875675cfe1466351b2
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.
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%