View Single Post
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#1
I thought it would be nice if we could all share tips to save space. Especially as flash space on N800 is limited.

1. Use localepurge:
http://sparrsstuff.com/localepurge

I only speak English (and a bit of Urdu but thats another matter) so why would I need Spanish,French, Swedish, Finnish etc :P

I recovered 15MB of space with that.


--

2. Delete the built in content. Go into file manager and delete the videos, sounds etc.

I have a N800, not a N810 so I don't need that demo tour :P. I like RnB, Hip-Hop, Rap & Grime, I don't listen to Moby :P.

--

3. Remove the built in wayfinder map application (if you do not need it) and the tutorial-home-applet with application manager.

--

4. (I think the N800 does this on shutdown/startup but if you need space quickly):
apt-get clean ; docpurge ; localepurge ; rm -rf /var/tmp/* ; rm -rf /usr/share/mime/.Trash/*

An description of those commands:
-apt-get clean cleans the cached packages saved to the n800. Application manager is set to run this by default (can be changed in red pill mode)

- docpurge cleans man files that may be installed on the system. man doesn't exist for N800 and you can google man "echo"

- localepurge, if you have it installed from 1., will clean out files for languages and clean out man pages if you enabled the option. I find it runs automatically when I use apt-get from terminal but not from application manager

-rm -rf /var/tmp/* - deletes all files in /var/tmp. when you "open" a file from the browser, it gets saved here. I don't recommend running the command while using rtcomm though.

-rm -rf /usr/share/mime/.Trash/* - if you use emelFM2, this one is important. Once a 50MB file from my MMC found it's way here after "deleting" it in emelfm2

--

5. To those who use OMWeather:
The resource files use 4.68 MB of space, if you only want weather for one country, you don't need the others.
e.g the stations.txt file on it's own takes 3.11MB. the locations.list 744KB.

I installed another icon set (wazd's Contour) and set it to Contour and then as root, I did:
"rm -rf /usr/share/omweather/icons/Crystal/"

That brings back 828 KB and I didn't like Crystal icon set. (Sorry)

city_in_clock.txt is only 2.99 KB and not worth editing.
Same with countrys.list.

Now, with locations.list which is 744KB, I did this.

vi /usr/share/omweather/locations.list

Keep pressing dd UNTIL you see your City there (For me that was London;UKXX0085; , how did I know it was the right one? It says UK and is grouped with other UK cities) and then go under that line and press dd again. Press ":wq" when done.

EDIT: Do it on a computer and copy back. Over 9000+ lines...

regions.list is only 6Kb so I will leave it out of here.

stations.txt must be edited on computer - it is 3.11MB . Airports are classified by country. Happy deleting - meh, too much for me even to do :P

--

6. Grab emelfm2 (by pipeline titled as "File Manager" in apps section) and enable showing of hidden files. Now notice how many settings files in your home directory (/home/user) are left over for programs you uninstalled. Just go to them and delete them. If you don't want the program anymore, why need the setting files?
Then run rm -rf /usr/share/mime/.Trash/* as root.

Of course, the space recovered will not be huge, far from it but you will get a slightly cleaner system.

--

This is a very basic list, maybe we can make it grow!

Last edited by qwerty12; 2008-03-09 at 10:47.
 

The Following 12 Users Say Thank You to qwerty12 For This Useful Post: