Talk:GDM

From ArchWiki
Jump to navigation Jump to search

GDM gsettings overrides and monitor.xml

Do these really apply to Gnome 3.30 and newer? I find that my scale setting does not take effect any longer even when monitors.xml is identical to my desktop. And I found that logging into my desktop with either Xorg or Wayland did not generate a different monitors.xml. Also, when I attempt to run various tasks that try to apply gsettings to the gdm user:

$ machinectl shell gdm@
Connected to the local host. Press ^] three times within 1s to exit session.
/sbin/nologin: invalid option -- 'l'
Try 'nologin --help' for more information.
Connection to the local host terminated.

And attempting to apply a gsettings change with sudo:

$ sudo -u gdm dbus-launch gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type 'nothing'
[sudo] password for chris: 

(process:15479): dconf-CRITICAL **: 17:17:09.481: unable to create directory '/home/chris/.cache/dconf': Permission denied.  dconf will not work properly.

(process:15479): dconf-CRITICAL **: 17:17:09.481: unable to create directory '/home/chris/.cache/dconf': Permission denied.  dconf will not work properly.

(process:15479): dconf-CRITICAL **: 17:17:09.483: unable to create directory '/home/chris/.cache/dconf': Permission denied.  dconf will not work properly.

(process:15479): dconf-WARNING **: 17:17:09.489: failed to commit changes to dconf: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._g_2dfile_2derror_2dquark.Code2: Cannot open dconf database: Failed to open file “/home/chris/.config/dconf/user”: Permission denied

Is this no longer the correct way to disable suspend for GDM? I also notice it only seems to autosuspend if I disable Wayland, and it does it instantly on logout, not after a timeout. - Kode54 (talk) 01:19, 7 January 2019 (UTC)

gnome-shell-theme.gresource.xml changed with Gnome 3.32

GDM#Log-in_screen_background_image Doesn't work anymore after upgrade to 3.32. The reason seems that a number of .svg files have been removed from the theme folder. I can make it work now with the following file instead:

gnome-shell-theme.gresource.xml
<?xml version="1.0" encoding="UTF-8"?>
<gresources>
  <gresource prefix="/org/gnome/shell/theme">
    <file>calendar-today.svg</file>
    <file>checkbox.svg</file>
    <file>checkbox-focused.svg</file>
    <file>checkbox-off.svg</file>
    <file>checkbox-off-focused.svg</file>
    <file>dash-placeholder.svg</file>
    <file>gnome-shell.css</file>
    <file>gnome-shell-high-contrast.css</file>
    <file>icons/message-indicator-symbolic.svg</file>
    <file>key-enter.svg</file>
    <file>key-hide.svg</file>
    <file>key-layout.svg</file>
    <file>key-shift.svg</file>
    <file>key-shift-latched-uppercase.svg</file>
    <file>key-shift-uppercase.svg</file>
    <file>noise-texture.png</file>
    <file>filename</file>
    <file>no-events.svg</file>
    <file>no-notifications.svg</file>
    <file>pad-osd.css</file>
    <file>process-working.svg</file>
    <file>toggle-off-hc.svg</file>
    <file>toggle-off-intl.svg</file>
    <file>toggle-off-us.svg</file>
    <file>toggle-on-hc.svg</file>
    <file>toggle-on-intl.svg</file>
    <file>toggle-on-us.svg</file>
  </gresource>
</gresources>

Should I edit the wiki directly with this new file? I'll just point towards this discussion instead, for now. Iago-lito (talk) 08:53, 22 March 2019 (UTC)

Also remove toggle-off-us and toggle-on-us files in latest 3.32.1. Iago-lito (talk) 11:25, 22 April 2019 (UTC)