Anthony Nordquist Administrator
     member is offline
![[homepage] [homepage]](http://images.proboards.com/new/buttons/www_sm.png) Joined: Dec 2010 Gender: Male  Posts: 1,339
|  | Clean changes « Thread Started on Feb 28, 2012, 3:30am » | |
The plans for 2.0 right now are to have Midori pre-configured to clear the browser cache, history and flash cookies when it exits. This left Clean questionable in usefulness, but seeing as packagekit uses apt-get and I am moving to using a tool for updates that doesn't clear the cache, I think a more general utility for cleanup is in order. This is what I currently have written up for Clean:
![[image] [image]](http://i.imgur.com/fNOQL.png)
The removing un-needed packages size is just a placeholder. Apt-get simulate doesn't actually provide this information, so I will have to write up my own code for this.
The question to everyone who happens to read this is, does anybody have suggestions or requests for items that could be added to Clean for 2.0?
Edit: Forgot to mention the code is up in git as well.
| |
|
witek New Member
 member is offline
Joined: Nov 2011 Gender: Male  Posts: 15
|  | Re: Clean changes « Reply #1 on Feb 28, 2012, 7:29am » | |
/tmp seems to be cleaned up on boot or with cron but maybe sometimes it would be useful to manually wipe out /tmp and /var/tmp ?
| |
|
Anthony Nordquist Administrator
     member is offline
![[homepage] [homepage]](http://images.proboards.com/new/buttons/www_sm.png) Joined: Dec 2010 Gender: Male  Posts: 1,339
|  | Re: Clean changes « Reply #2 on Feb 28, 2012, 7:24pm » | |
That is dangerous territory, as even some of my scripts make use of /tmp while running and would be broken by doing such a thing. Who knows what other random software might break because of it.
I don't really like the Un-Needed-Packages label I am using right now, sounds a bit off. I am unsure though what else to call it It essentially runs apt-get autoremove.
| |
|