vt switching via xtest not working in xorg-server 1.4.0.90

Daniel Stone daniel at fooishbar.org
Thu Jan 3 09:31:03 PST 2008


On Thu, Jan 03, 2008 at 12:14:35PM -0500, Todd Musall wrote:
> I use a script to switch vt's using xte (from xautomation).
> With recent devel xorg-server (1.4.0.90) this is no longer possible.
> Xte uses XTestFakeKeyEvent to simulate keypress events.
> A change in xorg-server seems to swallow these faked
> keypresses.  Other key events are not affected and work as
> expected.
> 
> Was this change intentional?  Will it be re-enabled in the final release?

Hi,
It was indeed intentional.  If you pick a random keyboard
(XExtensionKeyboard) and send a DeviceKeyEvent, it'll all work fine.

Alternately, you could just use chvt.

Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20080103/72ce6284/attachment.pgp>


More information about the xorg mailing list