lightdm-webkit-pretty-greeter icon indicating copy to clipboard operation
lightdm-webkit-pretty-greeter copied to clipboard

xsession list

Open lesebas opened this issue 12 years ago • 2 comments

Hello,

Do you think it is possible to modify the greeter to make appear the list of different xsessions? How can I do that?

lesebas avatar Feb 20 '13 21:02 lesebas

Hello,

Probably.

In the HTML page, lightdm-webkit-greeter sets a context that you can use to retrieve informations or execute specific procedures (login, shutdown, ...).

You will have to take a look at the following code that is responsible to set this context : http://bazaar.launchpad.net/~lightdm-team/lightdm-webkit-greeter/trunk/view/head:/src/lightdm-webkit-greeter.c

Among other things, you can notice the lightdm_user_values in which you may fin the user session. It seems to be that you can retrieve available sessions from "lightdm" javascript variable.

Hope it helps...

Jean-François Brazeau

jbrazeau avatar Feb 20 '13 22:02 jbrazeau

Bonjour,

Merci pour ces infos, pour l'instant je ne pense pas avoir le niveau pour aller plus loin... en tous cas merci pour ce thème vraiment sympa.

Seb,

Envoyé de mon ASUS Eee Pad

Jean-Francois Brazeau [email protected] a écrit :

Hello,

Probably.

In the HTML page, lightdm-webkit-greeter sets a context that you can use to retrieve informations or execute specific procedures (login, shutdown, ...).

You will have to take a look at the following code that is responsible to set this context : http://bazaar.launchpad.net/~lightdm-team/lightdm-webkit-greeter/trunk/view/head:/src/lightdm-webkit-greeter.c

Among other things, you can notice the lightdm_user_values in which you may fin the user session. It seems to be that you can retrieve available sessions from "lightdm" javascript variable.

Hope it helps...

Jean-François Brazeau


Reply to this email directly or view it on GitHub: https://github.com/jfbrazeau/lightdm-webkit-pretty-greeter/issues/2#issuecomment-13859410

lesebas avatar Feb 22 '13 18:02 lesebas