[LightDM] GDB before/after hook script replacements?
Guido Berhoerster
gber at opensuse.org
Mon Oct 17 04:59:34 PDT 2011
* Gabriel Rossetti <gabriel.rossetti at trafigura.com> [2011-10-17 13:42]:
> Hi All,
>
> I'm about to upgrade to Ubuntu 11.10 which used LightDM instead of GDM. I use Synergy-FOSS to share my mouse and keyboard in between several machines, the server is running on the Linux box. I currently use the GDM scripts & before/after hooks to run it:
>
> * /etc/gdm/Init/Default: (to have it start so it's running with GDM login screen, it runs as root)
> [code start]
> /usr/bin/killall synergys
> while [ $(pgrep -x synergys) ]; do sleep 0.1; done
> /usr/bin/synergys --config /etc/synergy.conf
> [code stop]
>
> * /etc/gdm/PostLogin/Default: (run after login, this kills the version running as root)
> [code start]
> /usr/bin/killall synergys
> while [ $(pgrep -x synergys) ]; do sleep 0.1; done
> [code stop]
>
> * /etc/X11/Xsession.d/85synergys: (runs during the user's session startup, runs it as the user)
> [code start]
> /usr/bin/killall synergys # not sure why this is here, the examples on the net had this, probably a mistake)
> while [ $(pgrep -x synergys) ]; do sleep 0.1; done
> /usr/bin/synergys --config /etc/synergy.conf
> [code stop]
>
> I'm trying to find the equivalent for LightDM but I'm coming up empty handed... can someone please help?
greeter-setup-script is the equivalent to Init, the Xsession.d
stuff is probably run by your distribution's session wrapper
controlled by the session-wrapper setting and there is currently
no equivalent to GDM's PostLogin.
--
Guido Berhoerster
More information about the LightDM
mailing list