[ubuntu-x] Automatically start virtual keyboard or virtual mouse when one is not detected
Bryan Quigley
gquigs at gmail.com
Tue Sep 16 06:25:26 BST 2008
Hello Ubuntu-x,
I have this idea: http://brainstorm.ubuntu.com/idea/5231/
*Automatically start virtual keyboard or virtual mouse when one is not
detected *
- No Keyboard, but mouse: start on-screen keyboard
- No Mouse, but keyboard: enable numlock keys as mouse, alert user of how
to turn on and off
Previously discussed on ubuntu-desktop:
https://lists.ubuntu.com/archives/ubuntu-desktop/2008-September/001730.html
I am currently using this command to detect if there is a mouse present:
dmesg | grep mouse | wc -l
Is that the best way or should I be using Xinput or something else?
I currently have a file in /etc/X11/Xsession.d/ doing the logic, is there a
better place for it?
Thank You,
Bryan Quigley
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-x/attachments/20080916/24164d49/attachment.htm
More information about the Ubuntu-x
mailing list