You are not logged in.

#1 2011-09-05 09:25:58

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,731
Website

set gdm background on pure xfce4 system [SOLVED]

I've stripped out most every component of gnome on my "pure" xfce4 system except for gdm and gnome-keyring/seahorse.  The "stripes" background that was displayed in gdm is now a solid blue color.  How can I set an image for gdm without all the gnome packages?

I tried copying a jpg to /usr/share/pixmaps/backgrounds/gnome/background-default.jpg but it is ignored.  I also read the some threads in here that didn't work (linked below).  Finally, I saw nothing on the gdm wiki page.

EDIT: Removed links to irrelevant threads.

EDIT: ok... answer was a bit messy but outlined on this wiki page.  The signal-to-noise ratio for this particular query is horrible!  Also, shame on the gnome devs for not having a more elegant solution to this, for example, /etc/gdm.conf or the like.

Summary of answer:

# xhost +
# su - gdm -s /bin/bash
$ dbus-launch

<<now export all three variables one-at-a-time, e.g. export BLAH>>

$  GSETTINGS_BACKEND=dconf gsettings set org.gnome.desktop.background picture-uri 'file:///path/to/image.jpg''

Last edited by graysky (2011-09-05 09:47:47)

Offline

Board footer

Powered by FluxBB