26 lines
1.1 KiB
Diff
26 lines
1.1 KiB
Diff
Description: Use a wrapper script to start GNOME classic session
|
|
Xsession currently doesn't allow to pass more then one argument, as it
|
|
otherwise fails with
|
|
Xsession: unable to launch "gnome-session --session classic" X session ---
|
|
"gnome-session --session classic" not found; falling back to default session.
|
|
.
|
|
This is due to [1]. Add a wrapper script to start the GNOME classic session
|
|
as a workaround. Once [1] is fixed, this should be removed again.
|
|
.
|
|
[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=653327.
|
|
Author: Michael Biebl <biebl@debian.org>
|
|
|
|
Index: gnome-shell-extensions-3.21.90/data/gnome-classic.desktop.in
|
|
===================================================================
|
|
--- gnome-shell-extensions-3.21.90.orig/data/gnome-classic.desktop.in
|
|
+++ gnome-shell-extensions-3.21.90/data/gnome-classic.desktop.in
|
|
@@ -1,7 +1,7 @@
|
|
[Desktop Entry]
|
|
Name=GNOME Classic
|
|
Comment=This session logs you into GNOME Classic
|
|
-Exec=env GNOME_SHELL_SESSION_MODE=classic gnome-session --session gnome-classic
|
|
+Exec=gnome-session-classic
|
|
TryExec=gnome-session
|
|
Type=Application
|
|
DesktopNames=GNOME-Classic;GNOME;
|