Forum
« Clean changes »

Welcome Guest. Please Login or Register.
May 25, 2013, 2:36am



Return to or visit the SalineOS webpage

Forum :: General :: Testing and Development :: Clean changes
   [Search This Thread] [Share Topic] [Print]
 AuthorTopic: Clean changes (Read 138 times)
Anthony Nordquist
Administrator
*****
member is offline




[homepage]

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]

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.
« Last Edit: Feb 28, 2012, 3:31am by Anthony Nordquist »Link to Post - Back to Top  IP: Logged
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 ?
Link to Post - Back to Top  IP: Logged
Anthony Nordquist
Administrator
*****
member is offline




[homepage]

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.
Link to Post - Back to Top  IP: Logged
   [Search This Thread] [Share Topic] [Print]



Anthony Nordquist, on behalf of the SalineOS project, is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to amazon.com. As such, if you click the above banner and then make any purchase including digital downloads, a small percentage will be paid to the SalineOS project.
Click Here To Make This Board Ad-Free


This Board Hosted For FREE By ProBoards
Get Your Own Free Message Boards & Free Forums!
Terms of Service | Privacy Policy | Notice | FTC Disclosure | Report Abuse | Mobile