Results 1 to 2 of 2

Thread: Change default font to Ubuntu Font from command line in Gnome

  1. #1
    Join Date
    May 2010
    Beans
    46
    Distro
    Ubuntu 10.04 Lucid Lynx

    Change default font to Ubuntu Font from command line in Gnome

    Hi,

    I know that we can change the default font from "Appearance Preferences > Fonts" but I'd like to do it from the command line.
    Also, given that the new Ubuntu Font doesn't have a fixed-width font yet, I'd like to do it as follows:

    Application font: Ubuntu : 11
    Document font: Ubuntu : 11
    Desktop font : Ubuntu : 11
    Window title font: Ubuntu Bold : 11
    Fixed width font : Monospace : 10

    Besides enjoying command line configuration, my reason for asking this is I've started making a regularly remastered, redistributable DVD of Ubuntu Lucid with all the updates, etc., and whatever I can do by command line just saves me doing it post-installation.

    Thanks to anyone who can help me.

  2. #2
    Join Date
    Jun 2008
    Location
    Uppsala, Sweden
    Beans
    29
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Change default font to Ubuntu Font from command line in Gnome

    I know this is quite late, but still...

    The first two ('Application font' and 'Document font') can be changed using

    Code:
    gconftool-2 --set --type string /desktop/gnome/interface/font_name "Ubuntu 11"
    and

    Code:
    gconftool-2 --set --type string /desktop/gnome/interface/document_font_name "Sans 10"
    respectively, and the 'Fixed width font' can be changed using

    Code:
    gconftool-2 --set --type string /desktop/gnome/interface/monospace_font_name "Monospace 9"
    I still haven't found any way to change the other two though. Anyone else have any idea?

Tags for this Thread

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
  •