On Fri, May 15, 2009 at 08:19:56PM -0700, Yan Seiner wrote: > Is there some way to selectively ignore certain input devices after X > starts? > > If I have a system with 2 mice, can I disable one mouse after I log in?
you have a number of options (in decreasing order of preference): - remove the device from the HAL ruleset, simply drop an fd file into /etc/hal/fdi/policy/ with the remove key option. See http://fedoraproject.org/wiki/Input_device_configuration this simply makes the device not even appear as an input device to X. - in server 1.6 and above, trigger the "Device Enabled" property xinput --set-int-prop "device name" "Device Enabled" 8 0 - use XChangeDeviceControl(3), xDeviceEnableCtl, defined in XInput.h - unplug the mouse :) Cheers, Peter _______________________________________________ xorg mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xorg
