Automatically start virtual keyboard or virtual mouse when one is not detected

Martin Pitt martin.pitt at ubuntu.com
Fri Sep 12 17:41:14 BST 2008


Hi Bryan,

Bryan Quigley [2008-09-10 16:03 -0400]:
> I have this idea: http://brainstorm.ubuntu.com/idea/5231/
> *Automatically start virtual keyboard or virtual mouse when one is not
> detected *

Interesting idea!

>    - Where to put this logic

I think it should become

 - an /etc/X11/Xsession.d/ script if it is DE agnostic
 - a GNOME/KDE/XFCE autostart desktop file (/etc/xdg/autostart) if it
   is DE specific

>    - How to best get the info that no mouse/keyboard is plugged in

I don't think you should poke dmesg or udev, that's way too low level.
My feeling is that the right solution is to use "xinput list".
However, for this part I advise you to discuss this with our X
maintainers at

  https://lists.ubuntu.com/mailman/listinfo/ubuntu-x

or on IRC (bryce, tjaalton), since they have a much better idea how
X.org input works nowadays.

HTH,

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)



More information about the ubuntu-desktop mailing list