nerdexam
CompTIA

LX0-103 · Question #160

Which of the following commands will print the current video settings to stdout in XF86Config "Modeline" format?

The correct answer is D. xvidtune -show. The xvidtune utility with the -show flag prints the current X server video timing parameters to stdout formatted as an XF86Config Modeline entry, making it the correct tool for this task.

System Architecture

Question

Which of the following commands will print the current video settings to stdout in XF86Config "Modeline" format?

Options

  • Axinfo-mode
  • Bxset-info
  • Cxf86config -list
  • Dxvidtune -show

How the community answered

(41 responses)
  • B
    5% (2)
  • C
    2% (1)
  • D
    93% (38)

Why each option

The xvidtune utility with the -show flag prints the current X server video timing parameters to stdout formatted as an XF86Config Modeline entry, making it the correct tool for this task.

Axinfo-mode

xinfo-mode is not a real or standard X11 utility and does not exist in standard Linux or X.Org distributions.

Bxset-info

xset-info is not a valid command - xset is a real X11 preferences utility but has no variant or subcommand called xset-info that displays Modeline-formatted video timing data.

Cxf86config -list

xf86config is an interactive wizard for generating new XF86Config files from scratch and does not accept a -list flag to read or display current video mode settings in Modeline format.

Dxvidtune -showCorrect

xvidtune is an X11 client that queries the X server for current video mode timing values via the XFree86-VidModeExtension protocol. The -show flag causes it to print those values to stdout formatted as a Modeline line compatible with XF86Config, allowing the output to be copied directly into configuration files or used for display diagnostics.

Concept tested: Displaying current X server video Modeline with xvidtune

Source: https://www.x.org/releases/X11R7.7/doc/man/man1/xvidtune.1.xhtml

Topics

#X server#xvidtune#modeline#display configuration

Community Discussion

No community discussion yet for this question.

Full LX0-103 Practice