Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I don't want to expose my wallpaper to other people who share my computer, is there a way I can disable this feature or work around it?

share|improve this question
up vote 20 down vote accepted

To Hide YOUR Wallpaper

First and foremost, it sounds like the wallpaper is sensitive. So you should make sure no one else can view it anyway, regardless of whether it's displayed on the greeter or not.

To prevent people from viewing your wallpaper file:

  1. Open the File Browser
  2. Navigate to the wallpaper file
  3. Right click on it
  4. Choose Properties
  5. Select the Permissions tab
  6. Under "Others", select the "Access:" dropdown and choose "None"

There. Now no one but you can view that file. And incidentally, this means the greeter can no longer display it as your wallpaper and will fallback to the default one.

To Hide ALL Wallpapers

sudo -u lightdm dbus-launch gsettings set com.canonical.unity-greeter draw-user-backgrounds false

Secret Bonus Trick for Showing a Different Wallpaper

If you'd like to display a different wallpaper on the greeter than you have as your own wallpaper, issue the following command in a Terminal:

id -u

Which will give you a number that represents your own user ID on the system. Now enter the following command:

dbus-send --system --print-reply --dest=org.freedesktop.Accounts /org/freedesktop/Accounts/UserYOURID org.freedesktop.Accounts.User.SetBackgroundFile string:YOURWALLPAPER

Where YOURID is the user ID you just got and YOURWALLPAPER is a path to the wallpaper you want to use.

Now, if you change your desktop wallpaper after doing this, the greeter wallpaper will be reset to the desktop wallpaper. So you will have to enter this command again to maintain separate wallpapers.

share|improve this answer

For 12.04

Try the following commands in a terminal. It should work.

sudo xhost +SI:localuser:lightdm
sudo su lightdm -s /bin/bash
gsettings set com.canonical.unity-greeter draw-user-backgrounds false


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.