[gdm] Skip GIO modules in the login environment
- From: Giovanni Campagna <gcampagna src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm] Skip GIO modules in the login environment
- Date: Thu, 31 Jan 2013 16:35:01 +0000 (UTC)
commit 96ea7649198686323d77584f332135a1f352e926
Author: Giovanni Campagna <gcampagna src gnome org>
Date: Wed Jan 30 22:28:36 2013 +0100
Skip GIO modules in the login environment
We don't need GVFS or udisks in the GDM greeter, and not loading
them reduces the startup times.
https://bugzilla.gnome.org/show_bug.cgi?id=692903
daemon/gdm-launch-environment.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/daemon/gdm-launch-environment.c b/daemon/gdm-launch-environment.c
index bb97eee..b72878a 100644
--- a/daemon/gdm-launch-environment.c
+++ b/daemon/gdm-launch-environment.c
@@ -288,6 +288,8 @@ build_launch_environment (GdmLaunchEnvironment *launch_environment,
g_hash_table_insert (hash, g_strdup ("RUNNING_UNDER_GDM"), g_strdup ("true"));
g_hash_table_insert (hash, g_strdup ("GVFS_DISABLE_FUSE"), g_strdup ("1"));
+ g_hash_table_insert (hash, g_strdup ("GIO_USE_VFS"), g_strdup ("local"));
+ g_hash_table_insert (hash, g_strdup ("GVFS_REMOTE_VOLUME_MONITOR_IGNORE"), g_strdup ("1"));
g_hash_table_insert (hash, g_strdup ("DCONF_PROFILE"), g_strdup ("gdm"));
return hash;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]