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

[Pkg-xfce-devel] Bug#284229: Bug#284229: XFCE4: Fonts are smaller if X was started by 'startx'



> You may want to check in /usr/share/gdm/defaults.conf
> and search for the server-Standards command.

here are the contents of that section in /usr/share/gdm/defaults.conf.
 note that the DPI is not specified.

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

here are the outputs of those commands you suggested

  $ xrdb -query
  *customization: -color
  Xft.antialias:  1
  Xft.hinting:    1
  Xft.hintstyle:  hintslight
  Xft.rgba:       rgb

  $ xdpyinfo | grep reso
    resolution:    126x126 dots per inch

  $ grep DPI /var/log/Xorg.0.log
  (--) NVIDIA(0): DPI set to (126, 126); computed from "UseEdidDpi" X config

i went and forced the dpi to 96 in /etc/gdm/gdm.conf, and now the
fonts are the correct size.

  [server-Standard]
  name=Standard server
  command=/usr/bin/X -audit 0 -dpi 96
  chooser=false
  handled=true
  flexible=true
  priority=0

and here are the outputs now

  $ xrdb -query
  *customization: -color
  Xft.antialias:  1
  Xft.hinting:    1
  Xft.hintstyle:  hintslight
  Xft.rgba:       rgb

  $ xdpyinfo | grep reso
    resolution:    96x96 dots per inch
  $ grep DPI /var/log/Xorg.0.log
  (++) NVIDIA(0): DPI set to (96, 96); computed from -dpi X commandline option

maybe this is a problem with NVIDIA's DPI autodetection?






Reply to: