Set lightdm/login to default

409

Use the following command to edit the following file:

sudo nano /usr/share/glib-2.0/schemas/10_unity_greeter_background.gschema.override

Then copy and paste this into the file and replace /foo/wallpaper.png with the actual path to the actual file you would like to use for wallpaper (remember to put it in ' marks or this won't work!):

[com.canonical.unity-greeter]
draw-user-backgrounds=false
background='/foo/wallpaper.png'

alternatively, to set it to default, use this instead:

[com.canonical.unity-greeter]
draw-user-backgrounds=true
background='/usr/share/backgrounds/warty-final-ubuntu.png'

Press CTRL + o and then press ENTER to save the file. Press CTRL + x to exit nano.

When you are finished, run the following command to apply the changes:

sudo glib-compile-schemas /usr/share/glib-2.0/schemas/

source

Share:
409

Related videos on Youtube

Pawan Modi
Author by

Pawan Modi

Updated on September 18, 2022

Comments

  • Pawan Modi
    Pawan Modi over 1 year

    Need custom data in azure virtual machine scaleset (Windows) to install IIS server and replace the default iis page echoing hostname of the server. Appreciate any guidance in this regard,

  • cosmoflop12
    cosmoflop12 over 8 years
    Tried this exactly, no dice. Still got a solid dark purple background, and a weird spazzy glitch before loading the desktop. Functional... but ugly and annoying.
  • mchid
    mchid over 8 years
    @cosmoflop12 You know, the dark purple color can be set also by editing this same file. You can change it to black like in this answer to my own question here: askubuntu.com/questions/673104/…
  • cosmoflop12
    cosmoflop12 over 8 years
    It's a png. And honestly the color doesn't bug me that much... It's just the glitching out. Everything goes whack towards the top of the screen for a significant amount of time (longer than it'd usually take to log in) before going to my desktop.
  • mchid
    mchid over 8 years
    you can check your xorg log in systemlog or dmesg for more info.
  • cosmoflop12
    cosmoflop12 over 8 years
    Ran dmesg, got a long thing that seemed to have quite a few errors included. Would it help if I posted that here?
  • cosmoflop12
    cosmoflop12 over 8 years
    Sorry if I'm kinda having trouble, it's late and I'm kinda still a beginner with this stuff.
  • mchid
    mchid over 8 years
    probably too big to post. I'll try to find the right stuff to flag and will post a command that will only print the relevant stuff.
  • mchid
    mchid over 8 years
    @cosmoflop12 this might be better dmesg | grep -iC 3 "error"
  • cosmoflop12
    cosmoflop12 over 8 years
    Ok still pretty long. I'm gonna put this in a google drive document and put a link.
  • cosmoflop12
    cosmoflop12 over 8 years
    Here it is: goo.gl/xJIo0h
  • mchid
    mchid over 8 years
    i didn't see much about video. maybe check xorg logs in the systemlog app. Also, there are settings in ccsm (compizconfig-settings-manager). You can mess with the opengl settings there and sometimes that helps.
  • mchid
    mchid about 8 years
    @cosmoflop12 If it is solid purple, see my answer here on how to change that to black. askubuntu.com/questions/673104/…
  • Pawan Modi
    Pawan Modi about 3 years
    Thank you so much. It worked wonders. Appreciated your help,
  • Nancy Xiong
    Nancy Xiong almost 3 years
    @PawanModi Glad to hear that my reply helped. Do you mind accepting this answer like this? Other members in SO would also benefit from this answer.