[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Re: GDM - Font Size



Am Donnerstag, den 16.12.2004, 12:50 -0600 schrieb James M. Cape:
> On Mon, 2004-12-13 at 23:59 -0500, Jonathan Brandmeyer wrote:
> > On Mon, 2004-12-13 at 17:44 +0000, João Batista wrote:
> > > Hi,
> > > 
> > > I forgot where I've found this, but it seems there is a simple solution. 
> > > I'm using SuSE 8.2, so Your Mileage May Vary... Anyway:
> > > 
> > > Looking into one GTK+ theme from Gnome2, specifically ThinIce 
> > > (/opt/gnome2/share/themes/ThinIce/gtk-2.0/gtkrc), I found a commented line,
> > > 
> > >    font_name = "Sans 10"
> > > 
> > > I've created a new style, and included this line with a higher font 
> > > size. It solved the problem for me. Here is my proposal:
> > > 
> > > style "default" {
> > >    font_name = "Sans 12"
> > > } class "GtkWidget" style "default"
> > > 
> > > Hope this helps.
> > 
> > Which Gtk+ theme does GDM use by default?  I didn't see anything in
> > gdm.conf that says anything about the widget theme - only the
> > gdm-specific theme.  Since it isn't running as root, /root/.gtkrc
> > doesn't make sense, and user gdm doesn't have a $HOME.  So, where are
> > you proposing to place this new style?
> > 
> > Thanks,
> > -Jonathan
> 
> The GTK+ theme is controlled by the GtkRC key in the "gui" group:
> 
> [gui]
> GtkRC=/usr/share/themes/Default/gtk/gtkrc
> 

Alternatively you could set the default resolution of the X server to 96
dpi - the default s 75 dpi. This is the default used by GNOME.

So edit the line in /etc/gdm/gdm.conf to:

[server-Standard]
name=Standard server
command=/usr/X11R6/bin/X -br -audit 0 -dpi 96
flexible=true





Reply to: