GCleaner pet package

What features/apps/bugfixes needed in a future Puppy
Message
Author
User avatar
vovchik
Posts: 1507
Joined: Tue 24 Oct 2006, 00:02
Location: Ukraine

#21 Post by vovchik »

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. :)
Attachments
liteclean.tar.gz
(7.34 KiB) Downloaded 190 times

mistfire
Posts: 1411
Joined: Wed 05 Nov 2008, 00:35
Location: PH

#22 Post by mistfire »

@vovchik its a good to start. the script must become dynamic

User avatar
corvus
Posts: 153
Joined: Fri 12 Jun 2015, 18:00
Location: In the peninsula shaped like a boot.

Quick test

#23 Post by corvus »

Tried on several Puppies.

- Fatdog710: Working with the following error.

Code: Select all

root# ./liteclean-vov
./liteclean-vov: line 529: [: -gt: unary operator expected
- Tahr64-6.0.5: Working with the same output as Fatdog710.

- 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
- Lucid Puppy 5.2.8.7: Not working with the following errors.

Code: Select all

# ./liteclean-vov
./liteclean-vov: line 529: [: -gt: unary operator expected
Unable parse command line: Unknown option --ok-label=Begin
- Tahr-6.0.5: Not working with the same output as Lucid Puppy 5.2.8.7.

- 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]

User avatar
vovchik
Posts: 1507
Joined: Tue 24 Oct 2006, 00:02
Location: Ukraine

#24 Post by vovchik »

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.

User avatar
corvus
Posts: 153
Joined: Fri 12 Jun 2015, 18:00
Location: In the peninsula shaped like a boot.

#25 Post by corvus »

I'm sorry I thought we had already started working on it, :oops: I'm not a scripting expert consequently I'm not useful in this phase maybe later when you have to test it on the field.

Cheers. :)
[b]We are waves of the same sea, leaves of the same tree, flowers of the same garden.[/b]

Post Reply