Type deai.plugin.xorg.randr:OutputInfo

See Output.info for more information about this type

Properties

connection

Connection

mm_height

Height in millimeters

mm_width

Width in millimeters

modes

Modes

name

Name

num_preferred

Number of preferred mode

subpixel_order

Subpixel order

connection: integer
Type:

integer

Connection

Possible values

mm_height: unsigned
Type:

unsigned

Height in millimeters

mm_width: unsigned
Type:

unsigned

Width in millimeters

modes: [Mode]
Type:

[Mode]

Modes

name: string
Type:

string

Name

num_preferred: unsigned
Type:

unsigned

Number of preferred mode

subpixel_order: integer
Type:

integer

Subpixel order

Methods

preferred_mode()

Find the preferred mode of an output.

preferred_mode() Mode
Return type:

Mode

Find the preferred mode of an output.

Mode is chosen first based on the preferred modes returned by the X server, any modes that aren’t preferred are ignored. From what remains, we choose the mode with highest number of pixels. If there are multiple modes with the same number of pixels, we prefer the one that isn’t interlaced or double scanned.