Talk:GDM

From ArchWiki
Revision as of 21:20, 14 January 2014 by Chazza (Talk | contribs) (GDM keyboard layout)

Jump to: navigation, search

I would propose the follwing "configuration section. Most of the subsections are easier and up-to-date versions of those on the Gnome page and on the GDM page. No need to export variables anymore. If this is ok we should also merge the Gnome page.

I like the use of dconf profile files, but I believe we shouldn't tell users to echo config to new files. I think it would be better to tell users to create a new file in the proper location, then provide a code block which they can copy-paste into that file. --stefanwilkens (talk) 21:34, 14 October 2013 (UTC)

Configuration

You can install gdm3setupAUR from the AUR to configure GDM, or use the following instructions that use dconf profile files.

Login background image

To change the wallpaper of the login screen use

# mkdir /opt/login
# echo -e "[org/gnome/desktop/background]\npicture-uri='file:///opt/login/wallpaper.jpg'" > /etc/dconf/db/gdm.d/01-background
# cp [YOUR FILE] /opt/login/wallpaper.jpg
# dconf update

where [YOUR FILE] needs to be a *.jpg picture.

Logo on login screen

To display a logo on your login screen use

# mkdir /opt/login
# echo -e "[org/gnome/login-screen]\nlogo='/opt/login/logo.png'" > /etc/dconf/db/gdm.d/02-logo
# cp [YOUR FILE] /opt/login/logo.png
# dconf update

where [YOUR FILE] needs to be a *.png picture.

Larger font for login

To change the font size of the login screen use

# echo -e "[org/gnome/desktop/interface]\ntext-scaling-factor='1.25'" > /etc/dconf/db/gdm.d/03-scaling
# dconf update

Turning off the sound

This tweak disables the audible feedback heard when the system volume is adjusted (via keyboard) on the login screen.

# echo -e "[org/gnome/desktop/sound]\nevent-sounds='false'" > /etc/dconf/db/gdm.d/04-sound
# dconf update

Make the power button interactive

The default installation sets the power button to suspend the system. Power off or Show dialog is a better choice.

# echo -e "[org/gnome/settings-daemon/plugins/power button]\npower='interactive'\nhibernate='interactive'" > /etc/dconf/db/gdm.d/05-power
# dconf update
Warning: Please note that the acpid daemon also handle the "power button" an "hibernate button" event. Running both systems at the same time may lead to unexpected behaviour.

Prevent suspend when closing the lid

On some systems it happens that your laptop suspends when you are closing the lid despite having set the options Laptop lid close action on battery and Laptop lid close action on AC to blank. If this is the case, append the following line to /etc/systemd/logind.conf:

HandleLidSwitch=ignore

GDM keyboard layout

GDM does not know about your GNOME 3 desktop keyboard settings. To change keyboard settings used by GDM, set your layout using Xorg configuration. Refer to this section of the Beginner's Guide.

I originally copied the content from the login screen section in the GNOME article over here because there was a merge request. I feel the quality of this content you have posted here is far higher so I have replaced what was there with this. This covers exactly the same points as the original content and a few more as well so no info is lost. In the original content it said the gsettings tweaks wouldn't work without "exporting the gdm session variables" but the section explaining how to do that no longer existed so they were probably useless instructions anyway. I hope I've made the right call. I replaced it all in one edit so it can easily be undone. Chazza (talk) 21:17, 14 January 2014 (UTC)