You are not logged in.
I just installed Gnome 3 and am running in fallback mode.
In Gnome 2 was able to customize the login window background. Is there a way to change the default background in Gnome 3?
I'm ok with overwriting the default background picture, as well.
Thanks!
Last edited by youjh (2011-05-04 20:51:41)
Code can be clean, fast, or object oriented. Pick two.
Offline
nobody reads the wiki this days?
Give what you have. To someone, it may be better than you dare to think.
Offline
Neither the wiki nor you are being helpful.
Code can be clean, fast, or object oriented. Pick two.
Offline
Neither the wiki nor you are being helpful.
don't be ignorant and read the wiki. i know for sure that exists since I added that info.
Give what you have. To someone, it may be better than you dare to think.
Offline
No, you're misunderstanding me.
I know how to change the *Desktop* background, which is what your command on the wiki does.
I want to change the *Login* background, at the GDM password screen, which your command does *not* do.
That's why the wiki does not help me.
Code can be clean, fast, or object oriented. Pick two.
Offline
Yeah, I just did. It changed my desktop background, not my login.
It sets "org.gnome.desktop.background," which is the desktop background
Code can be clean, fast, or object oriented. Pick two.
Offline
That's why you have to play with that suing and exporting stuff - so it'd be gdm's settings, not your user's.
Offline
The wiki procedure, e.g.
$ su -
Password:
[root@first-desktop ~]# su - gdm -s /bin/bash
[gdm@first-desktop ~]$ dbus-launch
No protocol specified
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-CIylRIX6Qz,guid=17e852f3d2ebc593113ace52000007d5
DBUS_SESSION_BUS_PID=12403
[gdm@first-desktop ~]$ export DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-CIylRIX6Qz,guid=17e852f3d2ebc593113ace52000007d5
[gdm@first-desktop ~]$ export DBUS_SESSION_BUS_PID=12403
[gdm@first-desktop ~]$ ps aux | grep dconf
gdm 12518 0.0 0.0 8164 968 pts/0 S+ 21:22 0:00 grep dconf
[gdm@first-desktop ~]$ /usr/lib/dconf/dconf-service &
[1] 12540
[gdm@first-desktop ~]$ GSETTINGS_BACKEND=dconf gsettings get org.gnome.desktop.background picture-uri
'file:///var/lib/gdm/.cache/gnome-control-center/backgrounds/413e48595eeacc43c375b9cb3b501557f13766f0c6b812c1402a1e5c9ff910d1'
[gdm@first-desktop ~]$ GSETTINGS_BACKEND=dconf gsettings set org.gnome.desktop.background picture-uri "file:///usr/share/archlinux/wallpaper/archlinux-arrival.jpg"
[gdm@first-desktop ~]$ exit
logout
[root@first-desktop ~]# exit
logout
$
really does change the background of the gdm login window, though it's also possible to
sudo cp -t /usr/share/gdm/autostart/LoginWindow/ /usr/share/applications/gnome-control-center.desktop /usr/share/applications/dconf-editor.desktop
then logout, make tweaks, log back in and
sudo rm /usr/share/gdm/autostart/LoginWindow/gnome-control-center.desktop /usr/share/gdm/autostart/LoginWindow/dconf-editor.desktop
Last edited by azleifel (2011-05-04 20:42:38)
Offline
@youjh really dude. is changing the login background in gdm.
the login greeter is a full desktop session running as gdm user. Is using the exactly the same configuration schemas as in a regular gnome session
Give what you have. To someone, it may be better than you dare to think.
Offline
Yeah, I just figured it out. It wasn't apparent to me that I had to mess with the dbus stuff first.
That could be a lot clearer in the wiki. ;-)
Thanks, gentlemen.
Code can be clean, fast, or object oriented. Pick two.
Offline
here is something very cool and nicer than those hacks.
https://live.gnome.org/dconf/SystemAdminstrators
you can create custom profiles for dconf settings in a plain text file.
Maybe somebody wants to play with it and add it to the wiki
Give what you have. To someone, it may be better than you dare to think.
Offline
Well, wait, how come the ctrl-L screen lock didn't change with the login screen?
Code can be clean, fast, or object oriented. Pick two.
Offline
Yes I noticed this too. The Lock-Screen has still the background provided by the Adwaita-theme. I don't know how to change this (changing the path in /usr/share/gnome-background-properties/adwaita.xml has no effect) but you can do:
$ sudo cp /usr/share/themes/Adwaita/backgrounds/stripes.jpg /usr/share/themes/Adwaita/backgrounds/stripes.jpg.bak
$ sudo rm /usr/share/themes/Adwaita/backgrounds/stripes.jpg
$ sudo ln -s [PATH_TO_A_BACKGROUNDIMAGE_OF_YOUR_CHOICE] /usr/share/themes/Adwaita/backgrounds/stripes.jpg
Login and -out again and the background of the lockscreen is changed too.
Hope to see a cleaner solution for this soon..
Offline
Well, wait, how come the ctrl-L screen lock didn't change with the login screen?
that in my opinion is a bug and should be reported. i see that it tries to load the user settings but the event that listens for changes is commented out.
still you should report it
Give what you have. To someone, it may be better than you dare to think.
Offline
It doesn't work for me! When I try to start dconf-service I get this failure message!
http://imageshack.us/photo/my-images/54 … oto2u.png/
Last edited by gunjah292 (2011-05-06 10:54:23)
KDE Plasma, ThinkPad X380 Yoga, Intel Core i7-8550U, Intel UHD Graphics 620, 512GB PCIe-NVMe SSD (OPAL 2.0), 16GB PC4-19200 (2400 MHz)
Offline
@gunjah292 you are not supposed to copy/paste the commands from wiki. for example your exports variables are wrong.
Give what you have. To someone, it may be better than you dare to think.
Offline
I see...
KDE Plasma, ThinkPad X380 Yoga, Intel Core i7-8550U, Intel UHD Graphics 620, 512GB PCIe-NVMe SSD (OPAL 2.0), 16GB PC4-19200 (2400 MHz)
Offline
Here is a quick script of the above code, save it and run as root, example:
Save to /usr/local/bin/set_gdm_background
Then run it with the background you want
sudo /usr/local/bin/set_gdm_background /usr/share/backgrounds/thisone.jpg
set_gdm_background
#!/bin/bash
#Set Gnome3 GDM background
#mReschke 2011-05-06
echo $1 > /tmp/gdm_background
su - gdm -s /bin/bash --command='
img=`cat /tmp/gdm_background`;
for line in `dbus-launch`; do export "$line"; done;
/usr/lib/dconf/dconf-service &
echo "Current GDM Background:";
GSETTINGS_BACKEND=dconf gsettings get org.gnome.desktop.background picture-uri;
echo;echo "Setting new GDM Background to:";echo $img;
GSETTINGS_BACKEND=dconf gsettings set org.gnome.desktop.background picture-uri "file://$img";
exit' 2> /dev/null
rm -rf /tmp/gdm_background
echo "Done"
Last edited by mreschke (2011-05-07 19:55:08)
/mReschke
Offline
@mreschke look at post 12. easier way
Give what you have. To someone, it may be better than you dare to think.
Offline
@wonder, link is bad, but yes dconf-editor is easy, see http://live.gnome.org/dconf
Last edited by mreschke (2011-05-07 03:26:55)
/mReschke
Offline
The wiki procedure, e.g. really does change the background of the gdm login window, though it's also possible to
sudo cp -t /usr/share/gdm/autostart/LoginWindow/ /usr/share/applications/gnome-control-center.desktop /usr/share/applications/dconf-editor.desktop
then logout, make tweaks, log back in and
sudo rm /usr/share/gdm/autostart/LoginWindow/gnome-control-center.desktop /usr/share/gdm/autostart/LoginWindow/dconf-editor.desktop
The Wiki did not work for me
This did and simple to do
thank you
I'm dyslexic Please do not complain about puntuation or spelling and remember most dyslexic people have above average iq.
Offline
This procedure worked for me :
http://www.tootoogo.org/wordpress/?p=647
Would be good to integrate it into wiki.
Offline
@jijijaco that is a copy/paste from our wiki
Give what you have. To someone, it may be better than you dare to think.
Offline
Thank you.... after about an hour of googling and trying about 10 different things and none of them working whatsoever and reading the wiki page here https://wiki.archlinux.org/index.php/GDM#Configuration (which neither method shown worked for me either) I finally found this thread. this is so incredibly annoying and hackish it really pisses me off, whatever happened to editing a simple /etc/gdm-custom.conf file with something like background="/path/to/file" ??? That's how it used to be in the old gdm(which looked better too and had better skinning support)! and now I have to deal with this stupid convoluted sudo gdm dconf gsettings shit just to change a simple fucking theme. God damn it.
EDIT: lol, okay, the other solution that does work is to copy gconf-editor.desktop into /usr/share/gdm/autostart/loginwindow and just edit it from there, but that still seems slightly annoying and hackish. I guess gnome devs must have thought this wasn't a priority to have user friendly gdm settings and that it was basically the distro's job to brand gdm and make it look pretty. Unfortunately some distros have horrible taste in background textures. *cough* arch *cough*
Last edited by wetpaste (2011-05-30 05:25:40)
Offline