Julien Cristau, le Sat 26 Feb 2011 01:18:27 +0100, a écrit : > On Sat, Feb 26, 2011 at 01:15:33 +0100, Samuel Thibault wrote: > > > Julien Cristau, le Fri 25 Feb 2011 18:44:22 +0100, a écrit : > > > Why "at best"? It sounds like checking whether the active VT is in > > > KD_TEXT is exactly what's needed here. > > > > No, because that may just be an fbterm, still using the normal keyboard > > processing, and not Xorg. > > > So you'd want to use KDGKBMODE and check for K_RAW instead?
Right. That won't tell you for sure that it's an X server, but it'll at least tell you it's an application which processes keys itself. Samuel -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110226002401.gg7...@const.famille.thibault.fr