It appears that Ubuntu has resolved this issue with the inclusion of the attached patch by Sean Davis <smd.seanda...@gmail.com>. It would allow you to change the Depends: line to use lightdm | gdm3, which appears to be what is wanted.

I just built a NM(N)U of xfswitch-plugin using this patch and it does indeed give me a button for the XFCE panel that, when pressed and confirmed, takes me back to lightdm.

This does not provide the regular Action Buttons applet the same functionality of course, but since that applet can't appear as a compact icon, I prefer xfswitch-plugin anyway.


Description: Add support for dm-tool
 gdmflexiserver is no longer provided by lightdm. Use dm-tool if it is 
Author: Sean Davis <smd.seanda...@gmail.com>
Bug-Ubuntu: https://launchpad.net/bugs/1320560
Last-Update: 2014-10-11
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/panel-plugin/main.c
+++ b/panel-plugin/main.c
@@ -111,12 +111,20 @@
 static void
 cb_response (GtkDialog *dialog, gint response, gpointer user_data)
+    gchar *path;
+    gchar *command;
     if (response == GTK_RESPONSE_YES)
       GError *error = NULL;
-      if (!g_spawn_command_line_async ("gdmflexiserver --new",
-                                       &error))
+      path = g_find_program_in_path ("dm-tool");
+      if (path != NULL)
+        command = g_strdup("dm-tool switch-to-greeter");
+      else
+        command = g_strdup("gdmflexiserver --new");
+      if (!g_spawn_command_line_async (command, &error))
           xfce_err (error->message);
           g_error_free (error);
@@ -124,6 +132,9 @@
     gtk_widget_destroy (GTK_WIDGET (dialog));
+    g_free (path);
+    g_free (command);
Pkg-xfce-devel mailing list

Reply via email to