Type deai.plugin.xorg:Connection

See xorg.connect, xorg.connect_to for more information about this type

Properties

key

Key bindings

keymap

Keyboard mapping

randr

RandR extension

screen

Information about the current screen

xinput

XInput extension

xrdb

The X resource database (xrdb)

key: Key
Type:

Key

Key bindings

Manage keyboard short cuts.

keymap: object
Type:

object

Keyboard mapping

This is a write-only property which allows you to change your keyboard mapping. To set your keymap, you need to provide an object with these members:

  • layout (mandatory): The layout, e.g. ‘us’, ‘gb’, etc.

  • model (optional)

  • variant (optional)

  • options (optional)

randr: RandrExt
Type:

RandrExt

RandR extension

screen: Screen
Type:

Screen

Information about the current screen

xinput: XiExt
Type:

XiExt

XInput extension

xrdb: string
Type:

string

The X resource database (xrdb)

This property corresponds to the xrdb, which is usually set with the command line tool with the same name. Assigning to this property updates the xrdb.

Methods

disconnect()

Disconnect from the X server

disconnect() void
Return type:

void

Disconnect from the X server

Disconnecting from the X server will stop all related event sources. All objects coming from this connection will stop generating any events after this. You should stop using the Connection object after you have called disconnect.