Difference between revisions of "Talk:GDM"

From ArchWiki
Jump to: navigation, search
m (Log-in screen background image, extractgst.sh, missing icons directory.: add strikethorugh)
 
(88 intermediate revisions by 15 users not shown)
Line 1: Line 1:
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.
+
== <s>Log-in screen background image, extractgst.sh, missing icons directory.</s> ==
:: 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. --[[User:Stefanwilkens|stefanwilkens]] ([[User talk:Stefanwilkens|talk]]) 21:34, 14 October 2013 (UTC)
 
  
==Configuration==
+
Running extractgst.sh as suggested in chapter "Log-in screen background image", returns the error
You can install {{aur|gdm3setup}} from the AUR to configure GDM, or use the following instructions that use dconf profile files.
+
$ [...]/shell-theme/theme/icons/message-indicator-symbolic.svg: No such file or directory
 +
Can this error be ignored or is it better to add something like the following to the script?
 +
{{bc|
 +
if [ ! -d ${workdir}/theme/icons ]; then
 +
  mkdir ${workdir}/theme/icons
 +
fi
 +
}}
 +
{{Unsigned|09:10, 10 November 2017‎|Livix}}
 +
:Confirmed. Creating the {{ic|icons}} directory is probably the best solution. If my eyes don't deceive me, I think this means that {{ic|gnome-shell-theme.gresource.xml}} would need to be updated as well. -- [[User:Chazza|Chazza]] ([[User talk:Chazza|talk]]) 16:26, 18 November 2017 (UTC)
  
==== Login background image ====
+
::This was done with [https://wiki.archlinux.org/index.php?title=GDM&type=revision&diff=506716&oldid=506572]. Closing now. -- [[User:Chazza|Chazza]] ([[User talk:Chazza|talk]]) 17:41, 19 January 2018 (UTC)
  
To change the wallpaper of the login screen use
+
== [[GDM#Change_the_language|Change the language]] section ==
  
# mkdir /opt/login
+
Unfortunately, the toggle ''Login Screen'' only appears when there are multiple users on the system. I did not find a way to change the settings other than creating another user.
# 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.
+
''To change the GDM language, ensure that gnome-control-center is installed. Then, start gnome-control-center and choose Region & Language. In the header bar, check the Login Screen toggle button. Finally, click on Language and choose your language from the list. You will be prompted for your root password.''
 +
--[[User:Freley|Freley]] ([[User talk:Freley|talk]]) 21:04, 19 November 2017 (UTC)
  
==== Logo on login screen ====
+
:Strange. It appears for me in my Arch VM installation which has just one user. I don't have GNOME/GDM on real hardware but I don't see why that would make a difference. Is there a report in GNOME bugzilla for this? -- [[User:Chazza|Chazza]] ([[User talk:Chazza|talk]]) 10:05, 21 November 2017 (UTC)
 
 
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|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 {{ic|/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 [[Beginners'_Guide#Non-US_keyboard|Beginner's Guide.]]
 

Latest revision as of 17:41, 19 January 2018

Log-in screen background image, extractgst.sh, missing icons directory.

Running extractgst.sh as suggested in chapter "Log-in screen background image", returns the error

$ [...]/shell-theme/theme/icons/message-indicator-symbolic.svg: No such file or directory

Can this error be ignored or is it better to add something like the following to the script?

if [ ! -d ${workdir}/theme/icons ]; then
  mkdir ${workdir}/theme/icons
fi

—This unsigned comment is by Livix (talk) 09:10, 10 November 2017‎. Please sign your posts with ~~~~!

Confirmed. Creating the icons directory is probably the best solution. If my eyes don't deceive me, I think this means that gnome-shell-theme.gresource.xml would need to be updated as well. -- Chazza (talk) 16:26, 18 November 2017 (UTC)
This was done with [1]. Closing now. -- Chazza (talk) 17:41, 19 January 2018 (UTC)

Change the language section

Unfortunately, the toggle Login Screen only appears when there are multiple users on the system. I did not find a way to change the settings other than creating another user.

To change the GDM language, ensure that gnome-control-center is installed. Then, start gnome-control-center and choose Region & Language. In the header bar, check the Login Screen toggle button. Finally, click on Language and choose your language from the list. You will be prompted for your root password. --Freley (talk) 21:04, 19 November 2017 (UTC)

Strange. It appears for me in my Arch VM installation which has just one user. I don't have GNOME/GDM on real hardware but I don't see why that would make a difference. Is there a report in GNOME bugzilla for this? -- Chazza (talk) 10:05, 21 November 2017 (UTC)