This makes it possible to run Weston session from GDM (and possibly other login managers). --- Makefile.am | 5 +++++ src/weston.desktop | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 src/weston.desktop
diff --git a/Makefile.am b/Makefile.am index 3a37be0..b10d6bf 100644 --- a/Makefile.am +++ b/Makefile.am @@ -156,6 +156,11 @@ endif # BUILD_WESTON_LAUNCH pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = src/weston.pc +EXTRA_DIST += $(wayland_session_DATA) + +wayland_sessiondir = $(datadir)/wayland-sessions +wayland_session_DATA = src/weston.desktop + westonincludedir = $(includedir)/weston westoninclude_HEADERS = \ src/version.h \ diff --git a/src/weston.desktop b/src/weston.desktop new file mode 100644 index 0000000..102ee17 --- /dev/null +++ b/src/weston.desktop @@ -0,0 +1,5 @@ +[Desktop Entry] +Name=Weston +Comment=The reference Wayland server +Exec=dbus-launch --exit-with-session weston +Type=Application -- 2.1.0 _______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel