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?

    Thanks

    Jack

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

    This will list locales:
    Code:
    locale -a
    This will list fonts:
    Code:
    dpkg  --get-selections | grep font
    For locales you'll need a tool like localepurge. https://packages.debian.org/wheezy/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:

    Code:
    # locale -a
    C
    C.UTF-8
    en_US.utf8
    POSIX
    The other code 'dpkg --get-selections | grep font' gave me:

    Code:
    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...

    Thanks

    Jack

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru
    Join Date
    Dec 2013
    Location
    Victoria, B.C. Canada
    Posts
    2,103
    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 'openoffice.org-hyphenation-en', but they all (4 of them) appear to be all English (have an 'en' in the name).

    What else should, would I search for?

    Jack

  7. #6
    Linux Guru
    Join Date
    Dec 2013
    Location
    Victoria, B.C. Canada
    Posts
    2,103
    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:
    Code:
    locate langpack | grep libre
    I get:
    /usr/lib/libreoffice/share/registry/res/fcfg_langpack_en-US.xcd
    /usr/share/help-langpack/en_GB/evolution/contacts-libreoffice.page

    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
    Posts
    2,747
    -->
    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
    file:
    /etc/locale.nopurge
    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
  •