Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

ubuntu wiki LightDM states:

LighDM configuration is governed by the lightdm.conf file, however it's not suppose to be directly edited, instead use:


$ lightdm-set-defaults
lightdm-set-defaults: command not found
$ sudo lightdm-set-defaults
sudo: lightdm-set-defaults: command not found
$ lightdm -v
lightdm 1.4.0

synaptic 0.75.12 'Quick filter' finds no matches on 'lightdm-set-defaults'.

How do I install 'lightdm-set-defaults'?

share|improve this question
I experience the issue where the command isn't installed. Are you running Ubuntu 13.04 Raring Ringtail or a close variant? I am, and the lightdm-set-defaults functionality is gone. Perhaps it's an issue that will be resolved prior to the final release in April? –  user141525 Mar 19 '13 at 1:12
lightdm-set-defaults is probably not on your PATH Try: sudo /usr/lib/lightdm/lightdm-set-defaults –  coldeq Apr 21 '13 at 21:12
@coldeq make that an answer. –  C.W.Holeman II May 9 '13 at 20:24

3 Answers 3

As of Ubuntu Trusy 14.04, lightdm-set-defaults is no longer available. This is because lightdm now using a configuration directory /etc/lightdm/lightdm.conf.d/ rather than a single configuration file. The files in this directory can be edited by hand, new files can be added, or files can be removed. There is no longer any need for a command that edits the single configuration file.

share|improve this answer
so how can i set values in /etc/lightdm/lightdm.conf.d/ to defaults? –  neckTwi May 25 at 15:26
To restore all the lightdm configuration files to their default value, see the answer on this question: askubuntu.com/questions/66533/… –  Stephen Ostermiller May 25 at 17:11

As you can see by searching the packages.ubuntu.com website, it's a command, provided by the lightdm package, which you already have I assume.

So, just run in a terminal:

sudo lightdm-set-defaults
share|improve this answer

The command is not in the path so you need to run it using the full name, i.e.:


The Wiki page is incorrect - you can edit the configuration if you want, the purpose of lightdm-set-defaults is so scripts can easily modify the configuration.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.