Linux Mint optimizer optimises mint in accordance to computer hardware

Registered by Unknown

mint-optimizer will optimize Mint in accordance of computer hardware to run best as it can, it should work like: if some older hardware runned mint it should, optimize it, like turn off some resource-heavy stuff, if possible replace it with some more lightweight alternative so it can run faster and better.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

mintOptimizer can upgrade the system first (may prove a speed increase in optimized new versions of programs), then clean up packages (packages installed together with previous packages may no longer be needed) - by using the cleanup script below. This would save space for both old and new computers.

After that, it can install preload for new computers, since old computers may not have enough processing power to optimize most used applications.

For computers with little ram or old computers, it can install zram - look at http://www.webupd8.org/2011/10/increased-performance-in-linux-with.html. This has a similar effect to adding more RAM.

Finally, for old computers, the following can be removed (asks the users' consent):
conky
compiz-* (metacity is installed by default so this should have no problems)
libreoffice (replaced with abiword and gnumeric)

(both are not installed by default, but may prove effective for remakes of Linux Mint)

After that, the cleanup script can be used again to remove residual config and old packages, along with the cache.
Removing residual config has no effect on the user since the user has not started using any program (as in edit configuration files with the respective program).

====================================================================

Cleanup script (deborphan is required):

### Start of removing old packages ###
sudo deborphan | xargs sudo apt-get -y remove --purge
sudo apt-get -q=2 -y autoremove --purge
dpkg --list |grep "transitional" | cut -d " " -f 3 | xargs sudo dpkg --purge #Transitional packages
dpkg --list |grep "meta" | cut -d " " -f 3 | xargs sudo dpkg --purge #Meta packages
### End of removing old packages ###

### Start of removing residual config ###
OLDCONF=$(dpkg -l|grep "^rc"|awk '{print $2}')
sudo apt-get -y purge $OLDCONF
sudo aptitude -y purge $OLDCONF
dpkg --list |grep "^rc" | cut -d " " -f 3 | xargs sudo dpkg --purge
### End of removing residual config ###

### Start of removing downloaded deb files ###
sudo apt-get -q=2 autoclean
sudo aptitude -q=2 autoclean
### End of removing downloaded deb files ###

#Clean up cache
sudo apt-get -q=2 clean
sudo aptitude -q=2 clean

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.