Config::Model::Xorg - Xorg configuration model for Config::Model
# No synopsis. Config::Model::Xorg is a plugin for Config::Model
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
Returns a Config::Model::Xorg object. This object will load Xorg configuration model and xorg.conf data.
xorg.conf
Return Xorg root node. I.e. a Config::Model::Node object.
Check if Xorg configuration data is correct. Return 1 if yes. Raises an exception if some error is found.
Dominique Dumont, (ddumont at cpan dot org)
Config::Model,
To install Config::Model::Xorg, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Config::Model::Xorg
CPAN shell
perl -MCPAN -e shell install Config::Model::Xorg
For more information on module installation, please visit the detailed CPAN module installation guide.