gfx.x11.parse_display

gfx.x11

parse_display(name) -> number, screen

Read a display name

Takes :N and :N.S. A host part is refused: the display connects to the local socket alone, no TCP. Returns nil and an error for a name it does not take.