Automatically start virtual keyboard or virtual mouse when one is not detected
Christopher Houdeshell
choudeshell at gmail.com
Wed Sep 10 23:25:44 BST 2008
Scripting wise - look for input devices (ex. "dmesg | grep input | grep
Mouse or grep keyboard")
UDEV wise - look for ID_CLASS = kbd or ID_CLASS=mouse (ex. "udevinfo
--export-db | grep mouse")
Kernel - look into pm_find (I know this is power management - but you can
get info on all devices)
The place to put it is before gdm/kdm loads and just edit their gnome/kde
prefs to start the gok/orca
From: ubuntu-desktop-bounces at lists.ubuntu.com
[mailto:ubuntu-desktop-bounces at lists.ubuntu.com] On Behalf Of Bryan Quigley
Sent: Wednesday, September 10, 2008 4:03 PM
To: ubuntu-desktop at lists.ubuntu.com
Subject: Automatically start virtual keyboard or virtual mouse when one is
not detected
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
I *think* it is bite-size enough that I could try implementing it. I would
like suggestions on:
* Where to put this logic
* How to best get the info that no mouse/keyboard is plugged in
So far I have come up with "at gnome startup", and grep the Xorg.0.log, but
was wondering if there was a better way (and more supporting of KDE, XFCE,
login screens, etc)
Thanks,
Bryan Quigley
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-desktop/attachments/20080910/62bd047a/attachment.htm
More information about the ubuntu-desktop
mailing list