Config-Model-Xorg
view release on metacpan or search on metacpan
lib/Config/Model/models/Xorg/Screen/Display.pl view on Meta::CPAN
'green',
{
'type' => 'leaf',
'value_type' => 'integer'
},
'blue',
{
'type' => 'leaf',
'value_type' => 'integer'
}
],
'name' => 'Xorg::Screen::Display::Color'
},
{
'element' => [
'Depth',
{
'description' => 'This entry specifies what colour depth the Display subsection is to be used for. This entry is usually specified, but it may be omitted to create a match-all Display subsection or when wishing to match only ag...
'max' => 24,
'min' => 1,
'type' => 'leaf',
'value_type' => 'integer'
},
'FbBpp',
{
'description' => 'This entry specifies the framebuffer format this Display subsection is to be used for. This entry is only needed when providing depth 24 configurations that allow a choice between a 24 bpp packed framebuffer format ...
'type' => 'leaf',
'value_type' => 'integer'
},
'Weight',
{
'description' => 'This entry specifies the framebuffer format this Display subsection is to be used for. This entry is only needed when providing depth 24 configurations that allow a choice between a 24 bpp packed framebuffer format ...
'type' => 'leaf',
'value_type' => 'integer'
},
'Virtual',
{
'config_class_name' => 'Xorg::Screen::Display::Virtual',
'description' => 'This optional entry specifies the virtual screen
resolution to be used.',
'type' => 'node'
},
'ViewPort',
{
'config_class_name' => 'Xorg::Screen::Display::ViewPort',
'description' => 'This optional entry sets the upper left corner of the initial display. This is only relevant when the virtual screen resolution is different from the resolution of the initial video mode. If this entry is not given, th...
'type' => 'node'
},
'Modes',
{
'choice' => [
'1280x1024',
'1280x800',
'1024x768',
'832x624',
'800x600',
'720x400',
'640x480'
],
'computed_refer_to' => {
'formula' => '! Modes:"$my_monitor_use_modes" + ! Monitor:"$my_monitor" Mode ',
'variables' => {
'my_monitor' => '- - Monitor',
'my_monitor_use_modes' => '! Monitor:"$my_monitor" UseModes'
}
},
'description' => 'This optional entry specifies the list of video
modes to use. Each mode-name specified must be in double
quotes. They must correspond to those specified or referenced
in the appropriate Monitor section (includ- ing implicitly
referenced built-in VESA standard modes). The server will
delete modes from this list which don\'t satisfy various
requirements. The first valid mode in this list will be the
default display mode for startup. The list of valid modes is
converted internally into a circular list. It is possible to
switch to the next mode with Ctrl+Alt+Keypad-Plus and to the
previous mode with Ctrl+Alt+Keypad-Minus. When this entry is
omitted, the valid modes referenced by the appropriate Monitor
section will be used. If the Monitor section contains no
modes, then the selection will be taken from the built-in VESA
standard modes.',
'type' => 'check_list'
},
'Visual',
{
'description' => 'This optional entry sets the default root visual
type. This may also be specified from the command line
(see the Xserver(1) man page). Not all drivers support
DirectColor at these depths 15 16 24.',
'type' => 'leaf',
'value_type' => 'enum',
'warp' => {
'follow' => {
'f1' => '- Depth'
},
'rules' => [
'$f1 eq \'8\'',
{
'choice' => [
'StaticGray',
'GrayScale',
'StaticColor',
'PseudoColor',
'TrueColor',
'DirectColor'
],
'upstream_default' => 'PseudoColor'
},
'$f1 eq \'1\'',
{
'choice' => [
'StaticGray'
],
'upstream_default' => 'StaticGray'
},
'$f1 eq \'4\'',
{
'choice' => [
'StaticGray',
'GrayScale',
'StaticColor',
( run in 2.126 seconds using v1.01-cache-2.11-cpan-5b529ec07f3 )