Strangest thing with the Trash Can...
Strangest thing with the Trash Can...
I have no idea how this happened, but can anyone tell me how to restore the proper trash can to the desktop? Mine turned into a useless folder, and I am afraid to delete it for fear of breaking the system, which is otherwise just as I want it.
It does not exist in /usr/share/applications.
Thanks in advance!
Xenialpup64 version 7.5 BTW...
It does not exist in /usr/share/applications.
Thanks in advance!
Xenialpup64 version 7.5 BTW...
Currently happily running Puppy Xenial 7.5 64-bit , and Ubuntu Mate 18.04 ... :D
-
- Posts: 168
- Joined: Fri 26 Jan 2018, 20:54
-
- Posts: 168
- Joined: Fri 26 Jan 2018, 20:54
-
- Posts: 168
- Joined: Fri 26 Jan 2018, 20:54
- Mike Walsh
- Posts: 6351
- Joined: Sat 28 Jun 2014, 12:42
- Location: King's Lynn, UK.
The Puppy Trash is actually a Rox Application directory.
It is a special way to package and run a program.
It is a special way to package and run a program.
They usually contain these files.An application directory is a directory which can be run as an application. It contains all the resources of an application — source code, binaries, documentation and so on.
The following files are treated as special by ROX-Filer:
`AppRun' is executed when you click on the directory — make sure it is executable (use the Permissions box)!
`.DirIcon' is the image used to represent the directory (this works even if there is no `AppRun').
`Help' is the directory to be opened when you choose Help from the File menu.
`AppInfo.xml' contains extra information about an application.
- Attachments
-
- capture27401.png
- (22.33 KiB) Downloaded 62 times
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
Hello, Flash858.
If you fear that the contents of any folder in your Puppy have been somehow corrupted,
the first thing to do is to boot your Pup in a pristine state without any pupsave folder or file,
and run fsck on the suspected pupsave. That should realign the i-nodes, etc., plus correct
any file system error.
Typical example of how to do this:If your pupsave has an ext3 or ext4 extension, edit the above command accordingly.
After fsck has finished its work on your pupsave, reboot your Pup as usual.
Then open a terminal and type:OR
do the equivalent through ROX: in console type(i.e., open dir. /usr/local/apps/Trash; and
open another ROX window at directory /initrd/pup_ro2/usr/local/apps/Trash)
Erase the contents of /usr/local/apps/Trash (highlight the whole contents, then right-click
over the highlighted part, then click on "erase" or "remove").
Highlight the contents of /initrd/pup_ro2/usr/local/apps/Trash and drag it to
/usr/local/apps/Trash. When prompted, answer "copy".
That's it. You have refreshed your Trash folder and its function should work as expected.
IHTH.
If you fear that the contents of any folder in your Puppy have been somehow corrupted,
the first thing to do is to boot your Pup in a pristine state without any pupsave folder or file,
and run fsck on the suspected pupsave. That should realign the i-nodes, etc., plus correct
any file system error.
Typical example of how to do this:
Code: Select all
fsck.ext2 -p -f -v <filename of your pupsave>
After fsck has finished its work on your pupsave, reboot your Pup as usual.
Then open a terminal and type:
Code: Select all
rm -fr /usr/local/apps/Trash
rmdir /usr/local/apps/Trash
cp /initrd/pup_ro2/usr/local/apps/Trash /usr/local/apps
do the equivalent through ROX: in console type
Code: Select all
rox /usr/local/apps/Trash /initrd/pup_ro2/usr/local/apps/Trash
open another ROX window at directory /initrd/pup_ro2/usr/local/apps/Trash)
Erase the contents of /usr/local/apps/Trash (highlight the whole contents, then right-click
over the highlighted part, then click on "erase" or "remove").
Highlight the contents of /initrd/pup_ro2/usr/local/apps/Trash and drag it to
/usr/local/apps/Trash. When prompted, answer "copy".
That's it. You have refreshed your Trash folder and its function should work as expected.
IHTH.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
Hey thanks for the post musher, but I'm an "old dog", so I knew about the save file. I just had my install *perfect* so I just did not want to have to reconfigure/reinstall everything.
I'll try the trash refresh tonight - thanks for the tip!
At some point, I am going to make a weekend project out of creating bash scripts that customize my Puppy and Ubuntu (now Mate) installs after a clean install.
That should kill a weekend...lol.
I'll try the trash refresh tonight - thanks for the tip!
At some point, I am going to make a weekend project out of creating bash scripts that customize my Puppy and Ubuntu (now Mate) installs after a clean install.
That should kill a weekend...lol.
Currently happily running Puppy Xenial 7.5 64-bit , and Ubuntu Mate 18.04 ... :D