TEMP: Enable debug logs by default

Note that in the gnome-initial-setup session the Shell is started from
the .desktop file rather than via systemd.

Part of debugging
<https://gitlab.gnome.org/GNOME/openqa-tests/-/issues/62>
This commit is contained in:
Sam Thursfield 2024-06-14 14:13:41 +02:00
parent c576f82bdf
commit 5c023470d8
2 changed files with 3 additions and 1 deletions

View file

@ -2,7 +2,7 @@
Type=Application
Name=GNOME Shell
Comment=Window management and application launching
Exec=@bindir@/gnome-shell
Exec=/usr/bin/env G_MESSAGES_DEBUG=all SHELL_DEBUG=backtrace-warning,backtrace-segfaults @bindir@/gnome-shell
Categories=GNOME;GTK;Core;
OnlyShowIn=GNOME;
NoDisplay=true

View file

@ -32,3 +32,5 @@ TimeoutStopSec=5
# Lower down gnome-shell's OOM score to avoid being killed by OOM-killer too early
OOMScoreAdjust=-1000
Environment=G_MESSAGES_DEBUG=all SHELL_DEBUG=backtrace-warning,backtrace-segfaults