On Fri, Aug 15, 2014 at 8:46 AM, Michael DePaulo <mikedep333@gmail.com> wrote:
On Fri, Aug 15, 2014 at 5:18 AM, Mike Gabriel <mike.gabriel@das-netzwerkteam.de> wrote:
Hi Mike#2 [...]
Can you provide a patch for x2goruncommand? Probably for x2goserver on release/4.0.1.x branch?
Mike [...]
Yes, I plan to do so.
1st, I've been brainstorming what logic to implement for different versions of Cinnamon. For example, do I run apt or yum commands to check what version is installed? There are other packaging systems too.
I think what is best is to run the 2D cinnamon session scripts in order from newest to latest, if they exist. This will be a simple script I can write quickly.
Correction: in order from newest to oldest
2.0 & 2.2: cinnamon-session-cinnamon2d 1.6 & 1.8: gnome-session-cinnamon2d 1.4: gnome-session-cinnamon
I determined the versions' commands by browsing the .deb contents under here: http://packages.linuxmint.com/pool/main/c/cinnamon/
Do I still need to export DESKTOP_SESSION before calling the scripts? Those scripts do not export it, but x2goruncommand exports it before calling gnome-session.
-Mike#2