Type deai.plugin.xorg:Connection
See xorg.connect, xorg.connect_to for more information about this type
Properties
Key bindings |
|
Keyboard mapping |
|
RandR extension |
|
Information about the current screen |
|
XInput extension |
|
The X resource database (xrdb) |
- 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)
- 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 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.