Find the answer to your Linux question:
Results 1 to 7 of 7
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    I seem to have many fonts or languages, how do I remove the extras?

    For some reason, I guess I ok'd it, I have many languages or fonts on my machine. Many look Asian or Chinese, and I really don't know how I managed to get them or how to remove the extras.

    I believe it's causing other problems with my keyboard and display. Any way, I don't need or want them and I'm sure they are taking up disk space.

    Anyone familiar with aptitude know?



  2. #2
    Linux Guru
    Join Date
    Dec 2013
    Victoria, B.C. Canada
    Depends on whether you're referring to locales or fonts. Fonts are installed through dpkg but locales aren't.

    This will list locales:
    locale -a
    This will list fonts:
    dpkg  --get-selections | grep font
    For locales you'll need a tool like localepurge.

  3. #3
    Thanks... well, I tried local -a and it said that it could only be used in a function call. Then I realized that it has an e on the end and it gave me:

    # locale -a
    The other code 'dpkg --get-selections | grep font' gave me:

    fontconfig					install
    fontconfig-config				install
    fonts-cantarell					install
    fonts-droid					install
    fonts-freefont-ttf				install
    fonts-liberation				install
    fonts-lyx					install
    fonts-opensymbol				install
    fonts-sil-gentium				install
    fonts-sil-gentium-basic				install
    fonts-stix					install
    gnome-font-viewer				install
    gsfonts						install
    gsfonts-x11					install
    idl-font-lock-el				deinstall
    libfont-afm-perl				install
    libfontconfig1:amd64				install
    libfontconfig1-dev				install
    libfontenc1:amd64				install
    libxfont1					install
    texlive-font-utils				install
    texlive-fonts-recommended			install
    texlive-fonts-recommended-doc			install
    xfonts-100dpi					install
    xfonts-75dpi					install
    xfonts-base					install
    xfonts-encodings				install
    xfonts-kapl					install
    xfonts-mathml					install
    xfonts-scalable					install
    xfonts-utils					install
    I assume that the options are what's listed as most are install, I guess these I don't have...

    I have a square in the icon section on the right that half is blue and half white. When I run the cursor over it, I get a group of Asian or Chinese characters. If I right click on it I get a dropdown of many of them. Does this help? I will attempt to use the localepurge program to see if that helps.

    I have localepurge, but the warnings are pretty strong. It would be nice to know what I'm getting into, if I do run it and it hoses my system, if you know what I mean...



  4. $spacer_open
  5. #4
    Linux Guru
    Join Date
    Dec 2013
    Victoria, B.C. Canada
    You definitely don't want to purge locales. You don't have any you don't need.

    Do you have something like open office language packs installed?

  6. #5
    Gregm, I'm not sure of what you are asking, as far as packages are concerned. I wish I could capture the screen with the drop-down that originally started me thinking about what's going on here. Do I look for office type packages?

    I searched on aptitude and found a number of '', but they all (4 of them) appear to be all English (have an 'en' in the name).

    What else should, would I search for?


  7. #6
    Linux Guru
    Join Date
    Dec 2013
    Victoria, B.C. Canada
    If you did the full install of Open Office it installs a whole lot of language packs. I'm not sure what you should look for - I use LibreOffice and if memory serves only downloaded the english version.
    if I run:
    locate langpack | grep libre
    I get:

    This button you click to see the different languages -where is it located - what desktop are you using?

  8. #7
    Linux Guru
    Join Date
    Dec 2013
    localepurge is ok to use.
    Quote Originally Posted by man localepurge
    localepurge is a small script to recover disk space wasted for unneeded
    locale files and localized man pages. You have to define the locale
    directory names you want to keep from removal in the /etc/locale.nop‐
    urge configuration file. Unless localepurge has been adequately con‐
    figured, the system's localization files won't be touched at all.
    The contents of following directories will be affected from removals:
    - /usr/share/doc/kde/HTML
    - /usr/share/gnome/help
    - /usr/share/locale
    - /usr/share/man
    - /usr/share/omf
    The localization files you actually need and which you want to be pre‐
    served on your system can be easily configured by editing the following
    i wouldn't mess with the fonts.
    you don't seem to have many installed.
    removing some can have unwanted side-effects.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts