I'm currently looking into http://svn.gnome.org/viewvc/gnome-settings-
daemon/branches/gnome-2-24/plugins/xsettings/gsd-xsettings-
manager.c?view=markup

(search for "get_dpi_from_gconf_or_x_server (GConfClient *client)")

Judging from the code:

Basically Gnome uses the dpi value xorg reports when these values are within a 
reasonable range, but only if the user hasn't overidden these values in his 
gconf (e. g. via gnome-appearance-properties).
If the user hasn't specified a dpi value and xorg's value is < 50 or > 500, 
gnome-settings-daemon will choose 96 dpi.

My steps:

1. Create a new user
2. Check xdpyinfo | grep resolution -> DPI value is RIGHT (and not < 50 or > 
500)!
3. Check gnome-appearance-properties -> DPI value is WRONG!
4. Check ~/.gconf/desktop/gnome/font_rendering/%gconf.xml -> DPI is NOT set!

In this scenario gnome-settings-daemon should choose xorg's value but
does not.

-- 
GNOME default DPI doesn't match X default DPI
https://bugs.launchpad.net/bugs/157398
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to