• [deleted]

Hello!

First of all, I would like to give my sincerest thanks for the whole Solus Team for their work, because of them my distro-hopping is over after 2 months of switching distros!

Also I would like to ask, if there is a correct way to delete unused locales in /usr/share? They take up around 377 MiBs on my system. I saw, that on Debian-based distros and in AUR there is a localepurge tool, which can get rid of unused locales, but I didn't find it in the Solus Repository. I'm on Budgie, if this information helps.

Thank you, once again!

    [deleted] I dont know if this exactly will accomplish what you want but maybe you are looking for sudo eopkg rmo which removes orphan programs

      • [deleted]

      adurante Thank you, but I'm referring directly to the files in the folder which i mentioned above. However, I love the sudo eopkg remove-orphans, too! 😀

      Even if you purge them now they will return the next time the package is updated. 377MB is quite a small amount given current storage technologies where even a small SSD is 128GB.

        Justin It's not the file size that's the problem, it's the load time that it gives Firefox. Wouldn't be a problem if you didn't have to disable each one, one by one.

        **EDIT: And also keep in mind a lot of people use older hardware, where that size might actually be significant.

          EbonJaeger I have no delay loading Firefox but I do have relatively new hardware. If you do disable other languages, what difference is there in load times?

          • [deleted]

          Well, actually I've switched to the Brave Browser and it's loading time is blazing fast. Yes, my SSD sadly is only 128GB, because this is a new notebook and I wasn't able to buy a bigger/better one, yet.

          Anyway, thank you for your help, I will leave them alone, because they won't cause any trouble in the future I guess. 🙂

          EbonJaeger For Firefox just disable the language packs you don't use from the add-ons.

          PS: Old hardware doesn't necessarily mean smaller disks.

            Just to chime in because I don't see an actual answer regarding localepurge: we have no such thing since it would mean "breaking" an installed package. eopkg doesn't have a concept of a partial install either.

              kyrios For Firefox just disable the language packs you don't use from the add-ons.

              I know. One. By. One. That's a LOT of language packs.

                EbonJaeger yeah I know, but it's a one shot.

                This allows to have a localized firefox out of the box (even on multi user systems on which the users use different locales).
                FWIW this is how Fedora handles the language packs

                • [deleted]

                DataDrake Thank you for this information! 🙂

                Usually, whenever I install a distro that I want to keep it for more than a week (yep, I'm a distrohopper), I use bleachbit. There are some options in it that can remove many unused languages. The only issue in Solus, but a minor one, is that it doesn't start using adm privileges. Just go to terminal:
                sudo eopkg it bleachbit
                sudo bleachbit
                Be happy 😃

                  In case anyone else does this, I experimented with using bleachbit as raf_lozano does, to remove locales in Solus and assess the damage. It left plenty broken, but simply running sudo eopkg check | grep Broken | awk '{print $4}' | xargs sudo eopkg it --reinstall fixed everything right up again.

                    N1X3L and it puts the locales back

                    1. You have locales
                    2. You delete them with bleachbit
                    3. You check for broken packages, the ones that installed locales that are gone are flagged as broken
                    4. You reinstall these packages
                    5. The locales are back

                      kyrios My point exactly! Thank you for breaking it down list-style though. I see now how I was a bit vague by neglecting to spotlight that the locales were being restored.