HOW TO Install an On Screen Keyboard for login.
You can use several different on screen keyboards (OSK's). CellWriter, onBoard, and xvkbd all work. I personally prefer CellWriter. Check Synaptic Package Manager and if your preference isn't installed, installed it.
In "System->Administration->Login Window" select the 'Local' tab. In 'Style' choose either "Plain" or "Plain with face browser" (recommended) option. Using "Themed" or "Themed with face browser" from the login windows will not work! The theme will cover the keyboard. You must also be sure that the "Show title bar" option is active (checked).
The method is essentially the same for all of them. You add to the "/etc/gdm/Init/Default" file a line for the one you prefer. At the end of the file you'll see:
Edit using:
Code:
gksudo gedit /etc/gdm/Init/Default
And between the last 'fi' and 'exit 0' enter the line. For CellWriter it would be:
Code:
cellwriter --keyboard-only --window-y=600 &
So it should look like:
Code:
fi
cellwriter --keyboard-only --window-y=600 &
exit 0
Save and close.
For OnBoard use:
Code:
onboard -s 684x200 -x 170 -y 568 &
These values will display the onBoard at about 2/3 the screen width at the bottom. The -s settings control size and the -x and -y values control location. You can experiment with them. For example a smaller keyboard in a different location: -s 500x130 -x 15 -y 15 &
And for xvkbd use:
Code:
xvkbd -geometry -300-100 -no-keypad &
or
Code:
xvkbd -geometry 684x200+170+568 -no-keypad 2&>/dev/null &
I have no idea what the "2&>/dev/null" is for.
Kubuntu users: In KDE 3.x put either onboard or xvkbd into the "/etc/kde3/kdm/Xsetup" file. In KDE 4 is it "/etc/kde4/kdm/Xsetup"?
I'm not sure what the following means but I left it in in case you can figure it out:
Note: If you enable automatic login, do NOT amend this file as you will end up with 2 instances of the OSK!
Finally, if you enable autologin in System > Administration > Login Window in Gnome, you still must put the keyboard line in the init script; otherwise you won't be able to log back in if you log out.
Allowing onscreen keyboards to enter passwords (use GNOME gksudo)
You can set up CellWriter to supply gksudo passwords. GNOME's graphical sudo frontend, gksudo, by default grabs the focus, keyboard and mouse to prevent malicious applications from intercepting the password. However, this also prevents onscreen keyboards from entering input at the gksudo prompt. To allow this, Use the gconf-editor program (in Applications > System Tools > Configuration Editor). Find the key "/apps/gksu/disable-grab" and turn it on (check the box). Or:
1. Press ALT/F2, type 'gconf-editor' and press <ENTER>.
2. Find and click once on 'gksu' under 'apps' in the tree on the left.
3. On the right, check 'disable-grab'.
4. Close gconf-editor
This will prevent gksudo from grabbing focus and all input. You can then input the password the normal way, using CellWriter, OnBoard, Xvkbd, GOK, etc. Be aware though that this is a potential security vulnerability. You'll notice that the screen no longer dims when passwords are requested.
Another, and simpler, way to do this should be to in System > Preferences > Assitive Technologies to check the "Password dialogs as normal windows" box.
If in System > Preferences > Screensaver you've enabled "Lock screen when screensaver is active" deactivate it. CellWriter won't show up and you'll have to reboot. There is a way around this but it involves introducing a keyboard widget for the screensaver.
By frafu post #4: http://ubuntuforums.org/showthread.p...28#post1792228
By phenest post #1: http://ubuntuforums.org/showthread.php?t=563736
By Aearenda post #167: http://ubuntuforums.org/showpost.php...&postcount=167
From: http://wiki.linuxquestions.org/wiki/...Stylus_buttons
Bookmarks