summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGyörgy Balló <ballogy@freestart.hu>2011-09-30 17:48:40 -0400
committerRay Strode <rstrode@redhat.com>2011-09-30 17:48:40 -0400
commit64e6b10f98fe7226a2f41807268dae3afa80236d (patch)
tree02a9dc2af466dcaad43e91d07ea42c1fe08fb80f
parent4f88c7b722fb143f7101b85c6facc0948e9e2b7d (diff)
downloadgdm-64e6b10f98fe7226a2f41807268dae3afa80236d.tar.gz
data: add back check for gnome-shell before running gdm-shell session
Add back commit 4892c9447324f2248ce944f150abe3143f78eaa3 This commit does a quick check to make sure gnome-shell is installed, and supports --gdm-mode. If either of those fail, then fall back to the old greeter. https://bugzilla.gnome.org/show_bug.cgi?id=660409
-rw-r--r--data/gdm-shell.session.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/gdm-shell.session.in b/data/gdm-shell.session.in
index 3d408c31..496cc100 100644
--- a/data/gdm-shell.session.in
+++ b/data/gdm-shell.session.in
@@ -1,5 +1,5 @@
[GNOME Session]
Name=Display Manager
RequiredComponents=gnome-shell;gnome-settings-daemon;
-IsRunnableHelper=@libexecdir@/gnome-session-check-accelerated
+IsRunnableHelper=bash -c 'gnome-shell --help | grep -q gdm-mode && @libexecdir@/gnome-session-check-accelerated'
FallbackSession=gdm-fallback