dynamic Keyboard activation - desactivation

Magnus Kessler Magnus.Kessler at gmx.net
Wed Oct 27 09:18:48 PDT 2010


On Wednesday 27 October 2010 15:31:36 MONDON Daniel wrote:
> Hi all !
> 
> 
> 
> I'am under ubuntu 10.04 live CD.
> 
> 
> 
> My application doesn't need any keyboard, and I don't want to have one
> because users are not allowed to modify anything.
> 
> 
> 
> I know I can do that with xorg.conf file, but
> 
> + I don't want to have to restart
> 
> + I an under live CD (I have to move the xorg.conf location ... and
> reboot).
> 
> 
> 
> I think I can do that with udev rules, but I don't find anyone who can
> help me to do that, or any applicable rule sample. :-(
> 
> 
> 
> Or a simple X command ?
> 
> 
> 
> Thanks
> 
> 
> 
> Daniel.


I think Peter Hutterer provided an answer to your question recently on this 
list: See http://lists.freedesktop.org/archives/xorg/2010-October/051507.html

In short, if your version of xinput, the device driver and the xorg server is 
new enough you should be able to do:

xinput set-prop <device name> "Device Enabled" 0

HTH,

Magnus




More information about the xorg mailing list