Dear all,
I found a script on Linux Lite that almost fits the bill. It needs a bit of tweaking still, but is a good starting point, I think. Have a look. It used zenity for the GUI and I changed it to yad.
With kind regards,
vovchik
PS. Don't run all those options just out of curiosity. First look at the code. Lots of modding still needed.
GCleaner pet package
- Attachments
-
- liteclean.tar.gz
- (7.34 KiB) Downloaded 190 times
Quick test
Tried on several Puppies.
- Fatdog710: Working with the following error.
- Tahr64-6.0.5: Working with the same output as Fatdog710.
- Slacko64-6.3.2: Not working with the following errors.
- Lucid Puppy 5.2.8.7: Not working with the following errors.
- Tahr-6.0.5: Not working with the same output as Lucid Puppy 5.2.8.7.
- Xslacko-4.2: Working OOTB.
Regards
- Fatdog710: Working with the following error.
Code: Select all
root# ./liteclean-vov
./liteclean-vov: line 529: [: -gt: unary operator expected
- Slacko64-6.3.2: Not working with the following errors.
Code: Select all
sh-4.2$ ./liteclean-vov
./liteclean-vov: line 529: [: -gt: unary operator expected
./liteclean-vov: line 599: yad: command not found
Code: Select all
# ./liteclean-vov
./liteclean-vov: line 529: [: -gt: unary operator expected
Unable parse command line: Unknown option --ok-label=Begin
- Xslacko-4.2: Working OOTB.
Regards
[b]We are waves of the same sea, leaves of the same tree, flowers of the same garden.[/b]
Dear corvus,
That script is just there as an example, so be caureful how you run it. I think you are getting errors because it really wants a recent and full bash (not ash or dash), and also probably not busybox implementations of some common *nix utilities. I put it there merely as a a starting point, so we can work on getting something similar that would work on a number of different systems. I am playing around with it and hope others join in the fun.
With kind regards,
vovchik
PS. I did remove old thumbnails, amd midori, firefox and chromium junk, and got some 2.5 GB of disk space back, so there is a need for something like this.
That script is just there as an example, so be caureful how you run it. I think you are getting errors because it really wants a recent and full bash (not ash or dash), and also probably not busybox implementations of some common *nix utilities. I put it there merely as a a starting point, so we can work on getting something similar that would work on a number of different systems. I am playing around with it and hope others join in the fun.
With kind regards,
vovchik
PS. I did remove old thumbnails, amd midori, firefox and chromium junk, and got some 2.5 GB of disk space back, so there is a need for something like this.