nerdexam
Linux_Foundation

LFCS · Question #760

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 -show command displays the current video mode settings in the XF86Config 'Modeline' format, useful for capturing or debugging display configurations.

Submitted by takeshi77· Apr 18, 2026Essential Commands

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

(25 responses)
  • C
    4% (1)
  • D
    96% (24)

Why each option

The `xvidtune -show` command displays the current video mode settings in the XF86Config 'Modeline' format, useful for capturing or debugging display configurations.

Axinfo-mode

`xinfo-mode` is not a standard X utility for displaying video mode information in Modeline format.

Bxset-info

`xset` is used for setting user preferences for X, such as keyboard repeat rates, bell volume, or screensaver options, not for displaying detailed video mode modelines.

Cxf86config -list

`xf86config` was a utility for generating XFree86 configuration files; it does not have a `-list` option to display current video settings in Modeline format.

Dxvidtune -showCorrect

The `xvidtune -show` command is specifically designed to output the detailed timing parameters of the currently active X server video mode. It presents this information in the exact format required for a `Modeline` entry in an XF86Config configuration file, allowing administrators to easily capture and reproduce specific display settings.

Concept tested: xvidtune for X display modeline information

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

Topics

#X Window System#Video settings#Command-line utilities#xvidtune

Community Discussion

No community discussion yet for this question.

Full LFCS Practice