adbe4e1c68
TryExec needs absolute path too, otherwise the desktop file will be ignored unless gnome-session is in PATH, in which case, we would not need to patch Exec.
22 lines
629 B
Diff
22 lines
629 B
Diff
--- a/gnome-session/gnome-session.in
|
|
+++ b/gnome-session/gnome-session.in
|
|
@@ -13,7 +13,7 @@
|
|
fi
|
|
fi
|
|
|
|
-SETTING=$(gsettings get org.gnome.system.locale region)
|
|
+SETTING=$(@gsettings@ get org.gnome.system.locale region)
|
|
REGION=${SETTING#\'}
|
|
REGION=${REGION%\'}
|
|
|
|
--- a/gnome-session/main.c
|
|
+++ b/gnome-session/main.c
|
|
@@ -203,7 +203,7 @@
|
|
}
|
|
new_argv[i + 2] = NULL;
|
|
|
|
- if (!execvp ("dbus-launch", new_argv)) {
|
|
+ if (!execvp ("@dbusLaunch@", new_argv)) {
|
|
g_set_error (error,
|
|
G_SPAWN_ERROR,
|
|
G_SPAWN_ERROR_FAILED,
|