Check to see if dconf-service is running and if not, start it like this
$ /usr/lib/dconf/dconf-service &
Wallpaper
$ GSETTINGS_BACKEND=dconf gsettings get org.gnome.desktop.background picture-uri
$ GSETTINGS_BACKEND=dconf gsettings set org.gnome.desktop.background picture-uri "file:///usr/share/backgrounds/gnome/SundownDunes.jpg"
You will need to point to a file where the gdm user has permission to read, not in your home directory.
"""
then as root restart the gdm service.
for precise I had to "chown gdm.gdm /var/lib/gdm/.config -R" first, as root owned that not the gdm user, so the gdm user couldn't write the file.
The resulting /var/lib/gdm/.config/dconf/user file is binary so can't just edit the config file with a text editor as per 4 decades of UNIX /etc conventions. (@!#@$!^%~)
fyi, this works on ubuntu 12.04 to change the gdm login screen background image:
http:// smashingweb. ge6.org/ change- the-background- of-gnome- 3-gdm-login- screen/
quoted:
"""
# su - gdm -s /bin/bash
$ dbus-launch
This command will print DBUS_SESSION_ BUS_ADDRESS and DBUS_SESSION_ BUS_PID. We need to export them
$ export DBUS_SESSION_ BUS_ADDRESS= unix:abstract= /tmp/dbus- Jb433gMQHS, guid=fc14d4bf3d 000e38276a5a220 0000d38 BUS_PID= 4283
$ export DBUS_SESSION_
Check to see if dconf-service is running and if not, start it like this
$ /usr/lib/ dconf/dconf- service &
Wallpaper
$ GSETTINGS_ BACKEND= dconf gsettings get org.gnome. desktop. background picture-uri BACKEND= dconf gsettings set org.gnome. desktop. background picture-uri "file:/ //usr/share/ backgrounds/ gnome/SundownDu nes.jpg"
$ GSETTINGS_
You will need to point to a file where the gdm user has permission to read, not in your home directory.
"""
then as root restart the gdm service.
for precise I had to "chown gdm.gdm /var/lib/ gdm/.config -R" first, as root owned that not the gdm user, so the gdm user couldn't write the file.
The resulting /var/lib/ gdm/.config/ dconf/user file is binary so can't just edit the config file with a text editor as per 4 decades of UNIX /etc conventions. (@!#@$!^%~)
have fun,
Hamish