summaryrefslogtreecommitdiff
path: root/debian/patches/start-gnome-keyring-daemon-with---compon.patch
blob: d96d71fd1130c47892692d87326e5f3452ce5fbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From: Sean Whitton <spwhitton@spwhitton.name>
Date: Mon, 15 Feb 2021 16:18:41 -0700
X-Dgit-Generated: 4.16.0-1+athena1 68113f3cd914edcaca620ab0631c9676de324df5
Subject: Start gnome-keyring-daemon with --components=pkcs11,secrets


---

--- xfce4-session-4.16.0.orig/xfce4-session/xfsm-compat-gnome.c
+++ xfce4-session-4.16.0/xfce4-session/xfsm-compat-gnome.c
@@ -107,7 +107,7 @@ gnome_keyring_daemon_startup (void)
   gint         status;
   glong        pid;
   gchar       *end;
-  gchar       *argv[3];
+  gchar       *argv[4];
   gchar       *p;
   gchar       *name;
   const gchar *value;
@@ -122,7 +122,8 @@ gnome_keyring_daemon_startup (void)
   error = NULL;
   argv[0] = GNOME_KEYRING_DAEMON;
   argv[1] = "--start";
-  argv[2] = NULL;
+  argv[2] = "--components=pkcs11,secrets";
+  argv[3] = NULL;
   g_spawn_sync (NULL, argv, NULL,
                 G_SPAWN_SEARCH_PATH | G_SPAWN_LEAVE_DESCRIPTORS_OPEN,
                 child_setup, NULL,