Results 1 to 2 of 2

Thread: Where do I install fonts for desktop themes?

  1. #1
    Join Date
    Jan 2006
    Location
    Virginia USA
    Beans
    256

    Where do I install fonts for desktop themes?

    Had to download some fonts for the desktop theme Crux.
    What folder do they go in? fonts? In with the themes?
    Thanks
    Beans?? But I'm a Tea drinker!

  2. #2
    Join Date
    Mar 2008
    Location
    /home/evan
    Beans
    532
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Where do I install fonts for desktop themes?

    From the ubuntu wiki:

    Manually

    There are various locations in GNU/Linux in which fonts can be kept. These locations are defined in /etc/fonts/fonts.conf; standard ones include /usr/share/fonts, /usr/local/share/fonts, and /home/<username>/.fonts (where <username> is your user name).

    The easiest way to install a truetype font is to press alt-F2 and enter the following code (this will open nautilus in the right directory):

    Code:
    gksu nautilus /usr/share/fonts/truetype
    Then create a new directory, name the directory whatever you like (choose a name that you remember if you ever need to backup your fonts personal fonts). Copy the fonts into that directory and finally rebuild the font information files by pressing alt-F2, mark 'run in terminal' so you can see the progress and entering the following code:
    Code:
    sudo fc-cache -f -v
    <!> Note: After you install a new font, you will need to make sure that programs in which you want to use the new fonts can recognize them. In most cases this is done by closing and reopening the programs; however, some programs may require you to log out and log back in.

    The easiest place for people to put their fonts is /home/<username>/.fonts. If you have not already done so, create this folder:

    * Open your home folder in Nautilus (GNOME) or Konqueror (KDE).
    * Since dot-folders are really hidden folders, you need to choose "Show Hidden Files" from the View menu.
    *

    Go to File -> Create Folder (GNOME), or right-click and choose Create New -> Folder (KDE).
    * Name the new folder ".fonts".

    Now double click on the folder to open it, and drag and drop your fonts into the folder.

    On GNOME, you can also directly open the virtual folder fonts:/ (within a Nautilus window, choose Go -> Location or press Ctrl+L) and drag and drop fonts into this folder. (Does not work in in Hardy Heron 8.04 due to changes. Please follow the method above.)

    However, fonts that are added by either of the ways above will only be available for one user. To make them available system-wide, drag and drop them to the directory /usr/share/fonts. (Note: If you're on Kubuntu you may have to cd to /usr/share/fonts and run mkfontscale, mkfontdir, fc-cache after this. See the instructions below.)

    As in the last method, on GNOME you can also add fonts directly to fonts:/. However, you must open the virtual folder as root. You can do this by opening a terminal window and running

    Code:
    gksudo nautilus fonts:

    https://wiki.ubuntu.com/Fonts
    Last edited by linuxman94; May 27th, 2010 at 10:55 PM. Reason: source
    FX-4100, GA-970A-D3, CM Hyper 212+, 8GB G.Skill Ripjaws 1333, Kingston HyperX 3K 90GB SSD, 1TB Seagate 7200.12, nVidia GTX 480
    Windows 7 Pro (Ubuntu 12.04 VM), Ubuntu Server 12.04, Ubuntu User #31355
    Dropbox!

Bookmarks

Posting Permissions

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