From 135727c9f767178d3b3c4ba1c8511ebbeac7bee1 Mon Sep 17 00:00:00 2001 From: Giovanni Campagna Date: Tue, 20 Aug 2013 15:36:54 +0200 Subject: [PATCH] Add support for running wayland under gnome-session Include a .desktop file that autostarts us as a wayland compositor. https://bugzilla.gnome.org/show_bug.cgi?id=707467 --- data/Makefile.am | 2 +- data/gnome-shell-wayland.desktop.in.in | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 data/gnome-shell-wayland.desktop.in.in diff --git a/data/Makefile.am b/data/Makefile.am index b2e98174f..6e366660a 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -2,7 +2,7 @@ wandadir = $(pkgdatadir) dist_wanda_DATA = wanda.png desktopdir=$(datadir)/applications -desktop_DATA = gnome-shell.desktop gnome-shell-extension-prefs.desktop +desktop_DATA = gnome-shell.desktop gnome-shell-wayland.desktop gnome-shell-extension-prefs.desktop # We substitute in bindir so it works as an autostart # file when built in a non-system prefix diff --git a/data/gnome-shell-wayland.desktop.in.in b/data/gnome-shell-wayland.desktop.in.in new file mode 100644 index 000000000..fa0f09505 --- /dev/null +++ b/data/gnome-shell-wayland.desktop.in.in @@ -0,0 +1,15 @@ +[Desktop Entry] +Type=Application +_Name=GNOME Shell (wayland compositor) +_Comment=Window management and application launching +Exec=@bindir@/mutter-launch -- gnome-shell-wayland --wayland +X-GNOME-Bugzilla-Bugzilla=GNOME +X-GNOME-Bugzilla-Product=gnome-shell +X-GNOME-Bugzilla-Component=general +X-GNOME-Bugzilla-Version=@VERSION@ +Categories=GNOME;GTK;Core; +OnlyShowIn=GNOME; +NoDisplay=true +X-GNOME-Autostart-Phase=DisplayServer +X-GNOME-Autostart-Notify=true +X-GNOME-AutoRestart=false