File caja-extensions_use-xdgsu.patch of Package caja-extensions

diff -aur a/gksu/libcaja-gksu.c b/gksu/libcaja-gksu.c
--- a/gksu/libcaja-gksu.c
+++ b/gksu/libcaja-gksu.c
@@ -156,12 +156,13 @@
 start_gksu_thread (void *data)
 {
   GPid pid;
-  gchar **argv = (gchar**) g_malloc (sizeof (gchar*) * 3);
+  gchar **argv = (gchar**) g_malloc (sizeof (gchar*) * 4);
   gchar *full_cmd = (gchar*) data;
 
-  argv[0] = g_strdup ("gksu");
-  argv[1] = full_cmd;
-  argv[2] = NULL;
+  argv[0] = g_strdup ("xdg-su");
+  argv[1] = "-c";
+  argv[2] = full_cmd;
+  argv[3] = NULL;
 
   g_spawn_async (NULL, argv, NULL, G_SPAWN_SEARCH_PATH, NULL, NULL,
 		 &pid, NULL);