Enable Onscreen Keyboard in LightDM-Gtk-Greeter in Ubuntu 14.04

lightdm-gtk-greeter onscreen keyboard


If you’re using Lightdm-Gtk-Greeter instead of the default Unity Greeter in Ubuntu 14.04, this quick tutorial will show you how to enable onscreen virtual keyboard in your login screen.

Lightdm-gtk-greeter provides a light-weight, GTK+2 or GTK+3 login screen for Linux desktops. It is available in the Software Center of Ubuntu 14.04.

Onscreen keyboard is not enabled by default in this greeter. If you want this feature, just do a little tweak on the config file and then you are able to launch the virtual keyboard via indicator menu or shortcut key F3.

First edit the config file, /etc/lightdm/lightdm-gtk-greeter.conf, with your favorite text editor. Here I use gedit.

Press Ctrl+Alt+T on keyboard to open the terminal. When it opens, run:

sudo gedit /etc/lightdm/lightdm-gtk-greeter.conf

When the file opens, do:

  • add new line keyboard=onboard
  • add ~a11y; as a value of indicators

So the file will look like this:

Finally save the file and reboot. Enjoy!