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

June 26, 2014 — 2 Comments

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.

lightdm-gtk-greeter onscreen keyboard

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!

I'm a freelance blogger who started using Ubuntu 5+ years ago and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me on Google Plus or email to ubuntuhandbook1@gmail.com

2 responses to Enable Onscreen Keyboard in LightDM-Gtk-Greeter in Ubuntu 14.04

  1. Hi,

    I am a very begginer of linux
    I use Linux Mint Xfce, when I write the command it appears like that, tell me please what I have to do?

    xpd@Multix ~ $ sudo gedit /etc/lightdm/lightdm-gtk-greeter.conf
    [sudo] password for xpd:
    sudo: gedit: command not found
    xpd@Multix ~ $

    Thank you.

    • “sudo: gedit: command not found” tells that gedit (text editor) is not installed. You can install it via your package manager, or by running below command:

      sudo apt-get install gedit

      After installing gedit, run previous command again to edit the config file via the text editor.

Leave a Reply


Text formatting is available via select HTML.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>