A Py3-package to clean your desktop. Once the script is run, it alerts the user once in 5 hours to clean the desktop if more than 5 files are present.
- The script auto runs and alerts only when the number of files exceeds limit.
- Alerts user every 5 hours (default).
- Function to determine top 10 large files in a given directory (default: home) (recursively traverses the directory).
- Classifies files without extensions.
- Can be run as an autostart application in ubunutu.
- Configurable (limit on number of files, time before alert)
Caveats
- Works only for Linux
- Only a prototype (functional but yet to be refined)
You will need the following additional packages to run the code. Python >= 3
adscheduler
os
sys
platform
re (regular expressions)
Create a folder called 'Cleano' in home directory. Copy the files in the repo into 'Cleano'.
With the root as 'Cleano', execute the following line (including paranthesis and ampersand)
....~/home/your-name/Cleano$ (python3 cleano.py &)
That's it. This produces periodic alerts to clean your desktop and also does it for you.
Your result will be ....
Add the same line as above (with complete paths) to Startup Applications.
How to launch script at startup
After adding it will look like this:
Now, the process will run automatically on start up.
Note: If the process is autorun, the locations of the files should not be changed.
Rajalakshmi.V git repo
- I have used Fleep tool (to determine the files without extensions) fleep