View Single Post
Posts: 1,808 | Thanked: 4,272 times | Joined on Feb 2011 @ Germany
#39
Originally Posted by shawnjefferson View Post
The biggest file I'd like to get rid of is the locale cache and unused locale data from rootfs. I only use one language so would love to blow away/rebuild this 22.8MB file (safely). I've got about 50MB freee on rootfs, so it's not currently a burning issue, and I haven't seen any process that looks foolproof on the n900 like there was on the n810 (the localepurge script).
(as root)
# apt-get install locales

then create /etc/locale.gen, the contents of the file should look something like:
en_US.UTF-8 UTF-8

then run:
# locale-gen

you /usr/lib/locale/locale-archive should be much smaller than before.

if that's OK, you can stop there. If you want more, you can remove lots of things from /usr/share/locale, *BUT BE CAREFUL* some languages "depend" on others, so leave it for now until this is well documented.

(e.g.
en_US requires iso14651_t1 and en_GB)
de_DE requires i18n, iso14651_t1

also translit_cjk_compat for some reason)
 

The Following 5 Users Say Thank You to reinob For This Useful Post: