[LightDM] Language dialogue for webkit-greeter
Robert Ancell
robert.ancell at gmail.com
Mon Oct 12 02:44:53 PDT 2015
Hi Lukas,
I've had a look at the lightdm-webkit-greeter API and it's missing the
set_language function which is required for this to work. You can see what
is required here [1].
Otherwise, the process is:
- Use lightdm.languages to get the list of available languages
- For each language use .code, .name and .territory to get information
about that language
- For each user in lightdm.users get their selected language from .language
- After authentication is complete but before the session is started set
the language by calling lightdm.set_language
Hope this helps,
--Robert
[1]
http://bazaar.launchpad.net/~lightdm-team/lightdm-webkit-greeter/trunk/revision/20
On Wed, 30 Sep 2015 at 15:10 Lukas Laufenberg | Computerwerk Darmstadt e.
V. <lukas.laufenberg at computerwerk.org> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Dear LightDM Developers,
>
> We are a group of people recycling old computers and giving them away
> to people in need. Right now we are preparing computers for an
> internet cafe in a refugee camp. We need to include a language
> selection field into our lightdm-webkit-greeter-theme (we modified the
> standard antergos theme, but a language dialogue is not included).
> Unfortunately we could not find documentation on how to do this or how
> the api for this works.
> We are using the current LightDM version of Xubuntu 14.0.4 LTS version
> (1.10.5) and version 0.1.2 of the webkit-greeter.
>
> We appreciate any help,
> regards Lukas Laufenberg
>
> - --
> stellv. Vorsitzender
> Computerwerk Darmstadt e.V.
> Hochschulstraße 1
> 64289 Darmstadt
>
> kontakt at computerwerk.org
> https://www.computerwerk.org
>
> Wundern Sie sich über die vielen scheinbar sinnlosen Zahlen und
> Buchstaben am Anfang und Ende dieser Nachricht?
> Das ist eine Signatur mithilfe der Sie die Echtheit meiner Mail
> überprüfen können.
> Diese Technologie bietet außerdem die Möglichkeit, Mails so zu
> verschlüsseln, dass sie nicht einmal von der NSA gelesen werden können.
> Wenn Sie sich näher für Verschlüsselung interessieren, informieren Sie
> sich über "PGP" oder sehen Sie sich die folgende Videoreihe an:
> https://www.youtube.com/playlist?list=PL3-bM7Aq1pUr8wiX4XFW1hxvH1SlfBtsT
> Vielleicht können auch wir bald verschlüsselt kommunizieren.
> Es ist ganz leicht.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2
>
> iQIcBAEBCAAGBQJWC+vqAAoJEKaMQ8eb/KJzOVAP/jikXmxU378LytCC9FeHESFS
> t1MtNV7QHhNuk6ymRkP4nk0BZX6p6GpL9MvxAf8GREWX2+2Zp92HjAef9CsFkgiD
> pKFGCDGHPZ0xYw5u9WyQ3yELjp/3WhsjkyE9d/G/ZqiGkRkCaJdmhShxytzuLt6B
> AimuWyWYAGEgP454+Z/X1DagCIkRoBEJGdjLUAhbE8cNmm7OsTcAi0+QFwTALs0U
> T/cH3LhLXxYpDmWN9GdAdMU93SXC83cWMavUN5rkQOaWgcS0XjhBlZw6ghOHNcaa
> FA0vm1pOu4qVcu3oLQbJUOQCv8ZWVCV6E4IPCe2QNrCMRtlAn6lQrMg8jMq9HCXy
> HmXEtmNl4O/LIaC1ke10jmiUr1aE5LmrJDF+UGhCKLB74ge5kqR/AWbRizQhpv53
> /u7JdwJRUkvqq7nbiQMZnhkj20n5F92N+TZwstO6j37uIZEjnzgXp71+owgLd0qP
> 82HJwbHKmqFGA4KlCRd1eILEeOg9PUEe61cOhJ5Wxbl9N4u96VbanB628RyhYd+x
> ZNcHowQrZwYvT4ySigKgFpSBR3f5ksLZ00/xqN7DOIYWPC723wNbVHv2G5FKpV4C
> b/uZgTDIvhz5YE0zz33Ram8GorH/NM7iqNU83EFiUY84+e0ytK7BDgZTALwkbiVD
> qM+eH6d/kVK4mxBbMnyw
> =uZ/v
> -----END PGP SIGNATURE-----
> _______________________________________________
> LightDM mailing list
> LightDM at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/lightdm
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/lightdm/attachments/20151012/49428620/attachment.html>
More information about the LightDM
mailing list