Red Hat Bugzilla – Bug 76923
configurator doesnt accept set-resolution option
Last modified: 2008-05-01 11:38:04 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020513
Description of problem:
redhat-config-xfree86 configurator doesn't accept the set-resolution option
parameter and says invalid option set-resolution.
it doesnt accept set-card either
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Actual Results: option --set-resolution not recognized
Usage: redhat-config-xfree86 [OPTIONS]
-h, --help display this help and exit
-v, --verbose display what the program is doing more verbosely
-o, --output= the filename of the config file to be output
--reconfig don't base configuration on existing config files
--noui don't show the gui, implicit when using --set options
--forceui force the ui to be shown, needed when using --set options
to change some setting, but you still want to show the ui
--set-<key>= change the value of a specific configuration key.
currently supported keys are:
resolution the screen resolution used
depth the color depth in bits
most drivers support 8, 15, 16 and 24
driver the graphics card driver to use
card the graphics card description to use
e.g. 'ATI Radeon (generic)'
vsync monitor vertical sync rates allowed (in Hz)
hsync monitor horizontal sync rates allowed (in kHz)
videoram the amount of videoram in kilobytes, 0 means probe
Expected Results: it should start proceeding to configuration and set my
after some quick analysation on the python code of xconf.py
located at /usr/share/redhat-config-xfree86
in line 1538: where the getopt arguments are declared there is a comma
missing after set-card= and set-resolution :) which makes both of these
options not working
simple typo error.
may be the program is not tested fully enough!?
It was a silly bug introduced in the last second. It's been fixed in cvs, and
the next release 0.6.8 will have the fix when it reaches rawhide (soon).