summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2012-05-26 20:58:40 -0400
committerMatthias Clasen <mclasen@redhat.com>2012-05-26 21:02:00 -0400
commit38b2df058c9d0237a6398675ca6401cf2b043015 (patch)
tree68c0459fa345b5dfd4a832ed0d89c0ae0773794b /data
parentdf8347d9e577472c216f43a0b89c4a9f6d481cb9 (diff)
downloadgdm-38b2df058c9d0237a6398675ca6401cf2b043015.tar.gz
gdm-shell: Adapt to gnome-shell changes
gnome-shell no longer accepts a --gdm-mode commandline option. Instead, it now accepts --mode=gdm.
Diffstat (limited to 'data')
-rw-r--r--data/applications/gnome-shell.desktop.in2
-rw-r--r--data/gdm-shell.session5
2 files changed, 6 insertions, 1 deletions
diff --git a/data/applications/gnome-shell.desktop.in b/data/applications/gnome-shell.desktop.in
index 5df90548..467a050a 100644
--- a/data/applications/gnome-shell.desktop.in
+++ b/data/applications/gnome-shell.desktop.in
@@ -2,6 +2,6 @@
Type=Application
_Name=GNOME Shell
_Comment=Window management and compositing
-Exec=gnome-shell --gdm-mode
+Exec=gnome-shell --mode=gdm
X-GNOME-Autostart-Notify=true
X-GNOME-AutoRestart=true
diff --git a/data/gdm-shell.session b/data/gdm-shell.session
new file mode 100644
index 00000000..372eca9b
--- /dev/null
+++ b/data/gdm-shell.session
@@ -0,0 +1,5 @@
+[GNOME Session]
+Name=Display Manager
+RequiredComponents=gnome-shell;gnome-settings-daemon;
+IsRunnableHelper=bash -c 'gnome-shell --help | grep -q gdm && /usr/libexec/gnome-session-check-accelerated'
+FallbackSession=gdm-fallback