This is a small program which captures keyboard and mouse events using the Linux evdev interface and sends them to a specific X display using the XTEST extension. I use it in a Dual-seat X setup.
The program license is the GPL, as specified in the file LICENSE.GPL, included in the archive.
The package depends on ErrUt.
You can download the source code here:
- xevdevserver-2.1.0.tar.gz (22,119 bytes)
I don't know if this will work in the same way on other keyboard types, but on mine, the following special combinations work:
- Windows key + pause key: execute 'telinit 3'. This may be useful if you're having some X-windows related problems.
- Windows key + keypad plus key: if multiple displays were specified to send events to, this selects the next display as the active one, allowing you to cycle through them.
As of version 2.0.0, you can also use a config file in which you can define your own actions for specific key combinations.