The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Config::Model::Xorg - Xorg configuration model for Config::Model

SYNOPSIS

# No synopsis. Config::Model::Xorg is a plugin for Config::Model

DESCRIPTION

This module provides a configuration model for Xorg.

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

Installing Config::Model::CursesUI is recommended as you'll have a more user friendly curses based user interface.

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

  # config-edit -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-edit -model Xorg -write_directory test

If config-edit fails with your xorg.conf (See BUGS section below), you can try config-edit 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-edit -model Xorg -read data -write wr_test

If you do not have the curses user interface, be sure to read doc which explain the basic command of the terminal based interface: http://search.cpan.org/dist/Config-Model/TermUI.pm#USER_COMMAND_SYNTAX

CONSTRUCTOR

new ()

Returns a Config::Model::Xorg object. This object will load Xorg configuration model and xorg.conf data.

Methods

root

Return Xorg root node. I.e. a Config::Model::Node object.

check

Check if Xorg configuration data is correct. Return 1 if yes. Raises an exception if some error is found.

AUTHOR

Dominique Dumont, (ddumont at cpan dot org)

SEE ALSO

Config::Model,