
Config::Model::Xorg - Xorg model (for Config::Model)

This module provides a configuration model for Xorg.

With this module and Config::Model, you have a tool to modify the
configuration of your favorite X server.

Once this module is installed, you can run (as root, but please backup
/etc/X11/xorg.conf before):

  # config-model -root_model Xorg

You may want to try it safely first by writing the resulting xorg.conf
elsewhere (in this case you can run this command with your user
account):

  $ config-model -root_model Xorg -write_directory test 

If config-model fails with your xorg.conf (See BUGS section below),
you can try config-model with the provided xorg.conf (but it won't be
useful for you as this file will not match your hardware
configuration). Note that you must run this command where you unpacked
this perl module:

  $ config-model -root_model Xorg -read data -write wr_test
  
--------------------------------------------------------------------
MODULE CONTENT

This Perl modules contains several files (listed in MANIFEST). Here
are the purpose of the main files:
- Build.PL : script to build the Perl module. See Module::Build(3pm)
- data/xorg.conf: sample xorg.conf used with non-reg test
- lib/Config/Model/models : directory containing Xorg model files. The
  main model is Xorg.pl. The complete xorg model is made from all
  files contained in this directory.
- lib/Config/Model/Xorg/Read.pm: Read xorg.conf files
- lib/Config/Model/Xorg/Write.pm: Write xorg.conf files
- t/xorg.t: non-regression test


--------------------------------------------------------------------
BUGS

This model is quite young and is incomplete.

So far, the following video cards have a model (see
lib/Config/Model/models/Xorg/Device/ directory) :
- ATI card (rather complete Radeon.pl model for radeon driver)
- Nvidia card (very preliminary Nvidia.pl model for Nvidia proprietary
  driver)

--------------------------------------------------------------------

AUTHOR
    Copyright (c) 2007 Dominique Dumont.

    This file is part of Config-Model-Xorg.

---------------------------------------------------------------------
INSTALLATION

   	tar zxvf <dist_file>.tar.gz 
   	cd <dist_directory>
   	perl Build.PL
	./Build test

If you want to install this software without packaging, type also:

        ./Build install
