How can I safely remove unnecessary locales?
/usr/share/locale take 41.1 MB of system disk space. I want to remove all of the except en/uk. Is it safe to simply rm -rf unwanted directories?
We have moved to a new Sailfish OS Forum. Please start new discussions there.
/usr/share/locale take 41.1 MB of system disk space. I want to remove all of the except en/uk. Is it safe to simply rm -rf unwanted directories?
This thread is public, all members of Together.Jolla.Com can read this page.
Asked: 2018-06-03 22:33:55 +0300
Seen: 167 times
Last updated: Jun 03 '18
Bug: Ambience visible when viewing full screen pictures [released]
Transfers - .pls files "Cannot open file, file type 'audio/x-scpls' not supported" [duplicate]
[Bug] [1.1.9.28] Peeking now freezes the running app
Can not add my Dropbox account via settings/accounts
[BUG] Endless loop of notification message [released]
bluetooth searching device don't stop on demand
pdf image rendering bug in 2.2.0.29 [released]
[bug] Clock alarm routed only over head phones (if plugged in)
I would copy the files to the sdcard and then remove the stuff from the system. Just keep them until you're shure you don't need them.
dirksche ( 2018-06-03 23:15:47 +0300 )edit^^ what he said ^^
Spam Hunter ( 2018-06-03 23:47:19 +0300 )editThere is a program (bash script) called localepurge which does exactly that in a safe way.
https://cgit.gentoo.org/proj/localepurge.git
Note however that this was designed for Gentoo Linux, and might not work as-is on SailfishOS - OTOH SFOS isn't really different from regular Linux wrt. locale handling so it probably will.
nephros ( 2018-06-04 00:04:20 +0300 )editWhy would I need locales I don't use? Out of principle I've always been against translation packages taking up completely unnecessary disk space. Just ship with en_US, and if an end-user wants to use something else, they can download it. And if they can't do so in en_US, how are they even able to dress themselves in this day and age?
I've been wiping all locales since the N900 days and I never had a problem. Of course, after every update, there they'll be again...
bocephus ( 2018-06-04 06:12:42 +0300 )edit