GraphicalXConfiguration

Differences between revisions 22 and 23
Revision 22 as of 2006-11-01 02:37:21
Size: 2816
Editor: wsip-68-15-230-31
Comment: modified use case for multiple monitors instead of just dual head
Revision 23 as of 2006-11-01 02:41:37
Size: 2912
Editor: d64-180-214-139
Comment: add new use case, cleanup language
Deletions are marked like this. Additions are marked like this.
Line 18: Line 18:
Jim wants to enable the closed-source ATI or Nvidia drivers on his new card without editing his xorg.conf and potentially screwing up his system.
Line 19: Line 21:
Packaging an existing GUI tool. Nothing more, nothing less. Packaging an existing GUI tool. Nothing more, nothing less. The scope does not cover dealing with X breaking issues. For that see https://features.launchpad.net/distros/ubuntu/+spec/bullet-proof-x
Line 50: Line 52:
The gui should not be able to leave the user in an unbootable state. There is another spec for dealing with X failures: https://features.launchpad.net/distros/ubuntu/+spec/bullet-proof-x

Summary

We need an easy way for people to change their X configuration in a sane way, including enabling 3D acceleration, 2 monitors, etc.

Rationale

As it stands, configuring X involves the manual editing of a text-based configuration file, which is not particularly well-commented. The xorg.conf file is also probably going away entirely.

Use cases

Brian wants to add additional monitors to his system. He has either multiple graphics cards, a video card with two video outputs or a combination thereof. He goes to System>Administration>Video Settings (or similar) and clicks to add a new screen. The Video Settings dialog allows Brian to identify each screen and then use a GUI to tell the system about the physical relationship of each screen (i.e. screen A is to the left of screen B). A wizard guides him through setting graphical options (Xinerama, Twinview, etc).

Jim wants to enable the closed-source ATI or Nvidia drivers on his new card without editing his xorg.conf and potentially screwing up his system.

Scope

Packaging an existing GUI tool. Nothing more, nothing less. The scope does not cover dealing with X breaking issues. For that see https://features.launchpad.net/distros/ubuntu/+spec/bullet-proof-x

Design

<to-do>

Implementation

A number of tools already exist. We need to look at all of them for sanity and ease of packaging.

system-config-xfree86

  • Created by Red Hat. Written in Python and pyGTK, which is a good sane language. UI is clear and easy to understand and is focused on what the user wants to do, rather than the syntax of the existing xorg.conf

http://fedora.redhat.com/projects/config-tools/redhat-config-xfree86.html

Xorg-Edit

  • Created specifically for Ubuntu. Exposes much of the syntax of xorg.conf and uses wxWidgets, which are not in main. Unsuitable

http://www.cyskat.de/dee/progxorg.htm

Sax2

  • Complete tool to control X, not just a GUI. Unknown how it will deal with new Xorg input and output hotplug. Allows configuration of tablets, etc. Large amounts of code to be audited.

http://sax.berlios.de/

Guidance

  • Written to be "the KDE system tools". Written in Python. Already shipped with Ubuntu for Kubuntu. Modular to allow GTK frontend to be written.

http://www.simonzone.com/software/guidance

Code

Available from above link. Work needs doing. See below.

Outstanding issues

There is new code landing in Xorg for the handling of input and outplug devices automatically. This new code means much of Sax2 and potentially Guidance might be obsolete.

CategorySpec

GraphicalXConfiguration (last edited 2008-08-06 16:39:19 by localhost)