Bug #331
openTask #272: Update configuration files that need it
No more xorg.conf on Squeeze
Description
There is no more configuration file /etc/X11/xorg.conf
on Squeeze builds, despite our custom dexconf script in /usr/bin/
. This custom file may then be useless and we have to find a new way to fix limits to the screen resolution in case of CRT screens. Note that there is a boot parameter for screen resolution, so this may be possible. Unless we adapt the environment icons/fonts to the screen resolution?
Updated by Jean-Michel Philippe over 13 years ago
- Due date changed from 08/29/2011 to 11/21/2011
- Target version changed from Squeeze to 2011-11
- Start date changed from 08/08/2011 to 10/01/2011
Updated by Jean-Michel Philippe about 13 years ago
- Status changed from New to In Progress
- Assignee set to Jean-Michel Philippe
- % Done changed from 0 to 10
It seems possible to change the DPI resolution used by Xorg and then the size of fonts on screen. As indicated in:
the file /etc/X11/xinit/xserverrc
contains the X server launch command. It can be tweaked to use a DPI parameter:
exec /usr/bin/X -dpi 100 -nolisten tcp "$@"
However this supposes we know the screen resolution and size in advance, before launching Xorg. Tests are required! Note that this file is provided by the package xinit which is not installed in DDL.
Updated by Jean-Michel Philippe about 13 years ago
The package read-edid can be used to probe for display parameters. It provides two commands that must be “piped” together. We can then get the list of screen resolutions:
$ sudo get-edid 2>/dev/null | parse-edid 2>/dev/null | grep -o '[0-9]*x[0-9]*'
1280x800
However the display size doesn't seem to be reported, so DPI can't be computed. In the package x11-utils, the command xdpyinfo gives this information but X should certainly be already running:
$ xdpyinfo | grep dimensions:
dimensions: 1280x800 pixels (338x211 millimeters)
Updated by Jean-Michel Philippe about 13 years ago
The X server DPI parameter only changes font size. A large DPI leads to large fonts, a small one to small fonts. As we're running X through GDM, the X DPI must be changed in the GDM configuration file /etc/gdm/gdm.conf
. See examples at the bottom of /usr/share/gdm/defaults.conf
:
[servers] 0=Standard [server-Standard] name=Standard server command=/usr/bin/X -audit 0 -dpi 80 flexible=true
Updated by Jean-Michel Philippe about 13 years ago
- Due date changed from 11/21/2011 to 02/20/2012
- Target version changed from 2011-11 to 2012-02
Updated by Jean-Michel Philippe over 12 years ago
- Due date deleted (
02/20/2012) - Target version changed from 2012-02 to 2012-08
- Start date deleted (
10/01/2011)