Project

General

Profile

Actions

Bug #331

open

Task #272: Update configuration files that need it

No more xorg.conf on Squeeze

Added by Anonymous over 12 years ago. Updated about 12 years ago.

Status:
In Progress
Priority:
Normal
Category:
System
Target version:
Start date:
Due date:
% Done:

20%

Estimated time:
3:00 h
Spent time:

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?


Related issues 1 (1 open0 closed)

Related to DoudouLinux CD - Bug #350: Touchpad scrolling doesn't workReady for testJean-Michel Philippe10/01/201109/30/2012

Actions
Actions #1

Updated by Jean-Michel Philippe over 12 years ago

  • Parent task set to #272
Actions #2

Updated by Jean-Michel Philippe over 12 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
Actions #3

Updated by Jean-Michel Philippe over 12 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:

http://www.linuxquestions.org/questions/debian-26/how-do-i-set-default-font-size-in-debian-sid-using-xorg-conf-not-xfree86-617656/

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.

Actions #4

Updated by Jean-Michel Philippe over 12 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)
Actions #5

Updated by Jean-Michel Philippe over 12 years ago

  • % Done changed from 10 to 20
Actions #6

Updated by Jean-Michel Philippe over 12 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

Actions #7

Updated by Jean-Michel Philippe over 12 years ago

  • Due date changed from 11/21/2011 to 02/20/2012
  • Target version changed from 2011-11 to 2012-02
Actions #8

Updated by Jean-Michel Philippe about 12 years ago

  • Due date deleted (02/20/2012)
  • Target version changed from 2012-02 to 2012-08
  • Start date deleted (10/01/2011)
Actions

Also available in: Atom PDF