Anyone using Trash?

Issues and / or general discussion relating to Puppy

Moderator: Forum moderators

Post Reply
User avatar
MochiMoppel
Posts: 1233
Joined: Mon Jun 15, 2020 6:25 am
Location: Japan
Has thanked: 21 times
Been thanked: 437 times

Anyone using Trash?

Post by MochiMoppel »

In this recent thread user @szept requested a keyboard shortcut for moving files to Trash instead of deleting them.

A reasonable request.
AFAIK Trash is the only application that works exclusively via drag&drop. That's why we have a Trash icon on virtually every desktop.
Trash is also very old and has a strange user interface. It doesn't even work properly anymore in newer Puppies. For example in @radky 's Bookworm Pup64 Trash keeps silent when dropping files instead of making a barking sound (command aplay "/usr/share/audio/bark.au" has problems with the audio format). Why does a trash can need to bark anyway :roll: ?

This and more oddities make we wonder if anybody - except szept - really uses the Trash application.
It may be possible to write a kind of add-on for ROX, so that the normal keyboard shortcut DEL deletes selected files while SHIFT+DEL would move them to Trash. However, why bother when nobody uses Trash or is happy with drag&drop?

EDIT OK, right click menu is another option. Maybe better than drag&drop, but IMO not as convenient as a keyboard shortcut.

Last edited by MochiMoppel on Sun Jun 11, 2023 11:29 am, edited 1 time in total.
User avatar
Jasper
Posts: 2067
Joined: Wed Sep 07, 2022 1:20 pm
Has thanked: 854 times
Been thanked: 480 times

Re: Anyone using Trash?

Post by Jasper »

In FP95, you can use the right click menu and send an item to Trash.

I have on rare occasions accidentally deleted items and given the audio prompt has reminded me and I can restore the item back.

If the sound is turned down or off, the exclamation symbol is present.

Personally I have always sent items to Trash via the menu but never realised that you could drag&drop items into it.

User avatar
pp4mnklinux
Posts: 1125
Joined: Wed Aug 19, 2020 5:43 pm
Location: Edinburgh
Has thanked: 633 times
Been thanked: 281 times
Contact:

Re: Anyone using Trash?

Post by pp4mnklinux »

I have configured different file managers:

With Rox .- Right click... send to trash
With pcmanfm.- SEND to trash... SHIFT+delete = Delete deffinetively
With Thunar.- Delete for ever

And with right click on desktop... a menu with both options.

ATTACCHED my right click menu

User avatar
mikewalsh
Moderator
Posts: 6156
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 793 times
Been thanked: 1979 times

Re: Anyone using Trash?

Post by mikewalsh »

@MochiMoppel :-

Probably why the audio bit doesn't work in the Pup of radky's that you mention is quite simple. All modern Woof-CE-based Puppies now use PulseAudio, OOTB.....and I don't think aplay will function with Pulse. Unless, that is, it's been configured with the ALSA-compatibility layer.

I could of course be wrong in this assumption....and wouldn't be in the least bit surprised if I was.

(*shrug*)

Mike. :?

dimkr
Posts: 2420
Joined: Wed Dec 30, 2020 6:14 pm
Has thanked: 53 times
Been thanked: 1202 times

Re: Anyone using Trash?

Post by dimkr »

aplay should work fine with either PulseAudio or PipeWire

AFAIK Bookworm Pup64 was built without these fixes that went into woof-CE:

https://github.com/puppylinux-woof-CE/w ... 7731620428
https://github.com/puppylinux-woof-CE/w ... afdcb83ba4
https://github.com/puppylinux-woof-CE/w ... 54107e83b2

Vanilla Dpup already has these, and aplay works just fine.

User avatar
spiritwild
Posts: 85
Joined: Wed Jul 22, 2020 1:34 am
Been thanked: 27 times

Re: Anyone using Trash?

Post by spiritwild »

I'm a bit different. I keep a folder in my downloads folder called TRASH. I'm always expanding files to see inside, then I can just drag the folder to the trash folder.
it's just quicker and more practical for me. I have a script I run with gtk that deletes everything in the folder plus the default trash "/root/.local/share/trash" I believe.

I only keep it seperate to make things easier for me. May seem goofy to someone else.

User avatar
mikewalsh
Moderator
Posts: 6156
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 793 times
Been thanked: 1979 times

Re: Anyone using Trash?

Post by mikewalsh »

Out of all the default desktop icons in an OOTB Puppy, I keep maybe 4 or 5. "Trash" is one of them, which I customize with a pair of icons from the old BeOS system from the late 90s.

trashcan_empty48.png
trashcan_empty48.png (6.21 KiB) Viewed 327 times
trashcan_full48.png
trashcan_full48.png (11.58 KiB) Viewed 327 times

I always integrate it into my custom desktop designs, but I've only ever dragged stuff into it - or sent via the right-click option - maybe 2 or 3 times in the last 9 years.....more just to see how it works than anything else. I normally delete stuff permanently when I get rid of anything.

When you have unlimited bandwidth, you don't tend to worry about re-downloading stuff more than once. But I keep it around just in case.....'cos you never know when you might want to use it.

Mike. ;)

User avatar
bigpup
Moderator
Posts: 6985
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 906 times
Been thanked: 1522 times

Re: Anyone using Trash?

Post by bigpup »

I use trash all the time.

Mainly because delete in Rox is exactly that. Delete and it is gone!

Rox file manager has no trash.

So, the desktop trash Rox app was a way to give it a trash feature.

It was given ability to do drag and drop, so if you had a Rox window open, showing the item you want to put in trash.
Simply drag it from the Rox window and drop it onto the desktop trash icon.

Some Puppy versions have put a trash option in the Rox right click menu, which will move the selected item to trash on the desktop.

The trash icon you see on the desktop is more than a simple desktop icon/file.

It is a Rox app, an actual program.

Right click on the desktop trash icon and you will get a menu of options for the trash.

Other file managers that you install and use.

A lot of them have a trash feature built into them and is part of the program.

This is not the same trash as the Rox app trash on the desktop.

We all think (including me) this way:
I do not need no stinking directions to use something! :lol:

There is a lot of good info about the trash desktop Roxapp, if you right click on it, and select help.
.
.

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
MochiMoppel
Posts: 1233
Joined: Mon Jun 15, 2020 6:25 am
Location: Japan
Has thanked: 21 times
Been thanked: 437 times

Re: Anyone using Trash?

Post by MochiMoppel »

Thank you for your replies. Let's see what we have so far:

Jasper wrote: Sun Jun 11, 2023 10:59 am

I have on rare occasions accidentally deleted items and given the audio prompt has reminded me and I can restore the item back.

Accidentally trashing items doesn't count as "use" :lol:

Personally I have always sent items to Trash via the menu

Past tense = not used anymore?

dimkr wrote: Sun Jun 11, 2023 3:32 pm

aplay should work fine with either PulseAudio or PipeWire
....Vanilla Dpup already has these, and aplay works just fine.

aplay in BW64 works fine with wav files but has problems with the MU_LAW format of the au file. In Vanilla Dpup aplay works better, but not "just fine". While it can play the au file, all files, wav and au, end with an irritating crackling sound. [Edit] What *would* work in BW64 is play - not aplay - which in BW64 is a symlink to sox. Plays both wav and au.

spiritwild wrote: Sun Jun 11, 2023 4:17 pm

I'm a bit different. I keep a folder in my downloads folder called TRASH

I count this as "no". I suspect that almost everyone has a method to keep not needed files somewhere in a dark corner.

mikewalsh wrote: Sun Jun 11, 2023 5:19 pm

maybe 2 or 3 times in the last 9 years.....more just to see how it works than anything else

In other word: not used

bigpup wrote: Sun Jun 11, 2023 5:44 pm

I use trash all the time.

Respect!

Last edited by MochiMoppel on Mon Jun 12, 2023 1:45 pm, edited 1 time in total.
User avatar
Jasper
Posts: 2067
Joined: Wed Sep 07, 2022 1:20 pm
Has thanked: 854 times
Been thanked: 480 times

Re: Anyone using Trash?

Post by Jasper »

@MochiMoppel

Excellent summary :lol: :thumbup:

User avatar
mikewalsh
Moderator
Posts: 6156
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 793 times
Been thanked: 1979 times

Re: Anyone using Trash?

Post by mikewalsh »

@MochiMoppel :-

MochiMoppel wrote: Mon Jun 12, 2023 5:16 am
mikewalsh wrote: Sun Jun 11, 2023 5:19 pm

maybe 2 or 3 times in the last 9 years.....more just to see how it works than anything else

In other word: not used

Concise, and to the point. Sums it up perfectly.

No, I got really, really annoyed with the Windows XP Recycle Bin on multiple occasions, many years ago. So much so, that I added a "tweak" proposed by somebody on one of the many Windoze forums.....which basically just permanently deleted anything sent to the Recycle Bin. I was happy; it worked, and did what I wanted.

I've kinda stuck with the habit of permanent deletion ever since, though I don't just 'bin' things on a whim these days. I tend to leave them hanging around for a while until they gather dust.......and THEN they get the heave-ho.

(Large amounts of storage, the limits of which I've never yet got anywhere near, mean that "house-keeping" is not as critical for me as it would be for someone with a more modest set-up.)

Your thread has got me taking another look at Puppy's 'Trash' app. I'm re-evaluating my behaviour in light of what's been said here, and it strikes me that it might, indeed, have its uses nowadays.....especially given that my usage patterns are quite different to what they were 10-15 years ago.

Mike. :thumbup:

User avatar
MochiMoppel
Posts: 1233
Joined: Mon Jun 15, 2020 6:25 am
Location: Japan
Has thanked: 21 times
Been thanked: 437 times

Re: Anyone using Trash?

Post by MochiMoppel »

Here is where it all started. July 2005. The very first edition of the Trash application, refreshingly simple and aptly named "Complete Trash": https://oldforum.puppylinux.com/viewtop ... 5309#p5309

And the related thread:
https://oldforum.puppylinux.com/viewtop ... t=Trashcan

Post Reply

Return to “Users”