Re: [gnome-flashback] gnome-sessions on Ubuntu 15.10+





On Mon, Dec 14, 2015 at 11:07 PM, Alkis Georgopoulos <alkisg gmail com> wrote:
Next I ran:
nano /usr/lib/gnome-flashback/gnome-flashback-metacity

and I inserted those:
export XDG_CURRENT_DESKTOP=GNOME-Flashback:Unity
export DESKTOP_SESSION=gnome-flashback-metacity

Now x2go runs fine when I tell it to run a custom session:
/usr/lib/gnome-flashback/gnome-flashback-metacity

I wonder though, why do display managers or x2go need to define those environment variables, when they explicitly run e.g. gnome-flashback-metacity?

That script is there to workaround problem that has not been fixed till today:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=653327

In ideal world this file:
/usr/share/xsession/gnome-flashback-metacity.desktop

should have
Exec=gnome-session --session=gnome-flashback-metacity --disable-acceleration-check
not
Exec=/usr/lib/gnome-flashback/gnome-flashback-metacity

DM reads that *.desktop file and sets XDG_CURRENT_DESKTOP env from DesktopNames. Don't know how x2go works, but it might need to do similar thing.

--
Alberts Muktupāvels


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]