[gnome-shell-extensions] data: set shell classic mode via env variable instead of command line
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell-extensions] data: set shell classic mode via env variable instead of command line
- Date: Tue, 7 Jan 2014 21:37:09 +0000 (UTC)
commit e08d527d51e5c3294ca3f8543630713a74510aad
Author: Ray Strode <rstrode redhat com>
Date: Tue Jan 7 13:41:28 2014 -0500
data: set shell classic mode via env variable instead of command line
Currently, we start gnome-shell in classic mode by passing
--mode=classic to the gnome-shell command line. This --mode=classic
gets stripped away when the session is saved, which breaks classic
mode on subsequent login attempts.
This commit changes the session file to set the
GNOME_SHELL_SESSION_MODE environment variable instead.
https://bugzilla.gnome.org/show_bug.cgi?id=720894
data/gnome-classic.desktop.in | 2 +-
data/gnome-shell-classic.desktop.in.in | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/data/gnome-classic.desktop.in b/data/gnome-classic.desktop.in
index b3ab3af..27ae219 100644
--- a/data/gnome-classic.desktop.in
+++ b/data/gnome-classic.desktop.in
@@ -1,7 +1,7 @@
[Desktop Entry]
_Name=GNOME Classic
_Comment=This session logs you into GNOME Classic
-Exec=gnome-session --session gnome-classic
+Exec=env GNOME_SHELL_SESSION_MODE=classic gnome-session --session gnome-classic
TryExec=gnome-session
Icon=
Type=Application
diff --git a/data/gnome-shell-classic.desktop.in.in b/data/gnome-shell-classic.desktop.in.in
index 6de19fe..76fdf21 100644
--- a/data/gnome-shell-classic.desktop.in.in
+++ b/data/gnome-shell-classic.desktop.in.in
@@ -2,7 +2,7 @@
Type=Application
_Name=GNOME Shell Classic
_Comment=Window management and application launching
-Exec= bindir@/gnome-shell --mode=classic
+Exec= bindir@/gnome-shell
TryExec= bindir@/gnome-shell
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=gnome-shell
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]