Browse Source

Some updates

sisyphus
JezerM 4 years ago
parent
commit
da55488714
No known key found for this signature in database
GPG Key ID: 66BBC5D01388C6B5
  1. 51
      dist/web-greeter.1
  2. 37
      dist/web-greeter.appdata.xml
  3. 13
      web-greeter.doap

51
dist/web-greeter.1 vendored

@ -1,4 +1,4 @@
.TH "web-greeter" "1" "2020.6.14" GNU .TH "web-greeter" "1" "2020.7.6" GNU
.nh .nh
.ad l .ad l
.SH "NAME" .SH "NAME"
@ -41,6 +41,8 @@ deprecated properties and/or functions to ensure continued proper functionality\
.PP .PP
The following functions \fBmust\fR be provided by the greeter theme and callable on the global "window" object\&. The following functions \fBmust\fR be provided by the greeter theme and callable on the global "window" object\&.
.PP .PP
See full documentation on https://jezerm\&.github\&.io/web-greeter/
.PP
\fBshow_prompt(text, type)\fR \fBshow_prompt(text, type)\fR
.RS 4 .RS 4
This will be called when LightDM needs to prompt the user for some reason, such This will be called when LightDM needs to prompt the user for some reason, such
@ -96,11 +98,6 @@ Cancels the authentication of the autologin user\&. The older function
lightdm\&.cancel_timed_login() has been deprecated. lightdm\&.cancel_timed_login() has been deprecated.
.RE .RE
.PP .PP
\fBlightdm\&.get_hint(hint_name)\fR
.RS 4
Returns the value of a named hint provided by LightDM\&.
.RE
.PP
\fBlightdm\&.suspend()\fR \fBlightdm\&.suspend()\fR
.RS 4 .RS 4
Suspends the system, if the greeter has the authority to do so\&. Suspends the system, if the greeter has the authority to do so\&.
@ -123,9 +120,7 @@ deprecated\&.
\fBlightdm\&.respond(text)\fR \fBlightdm\&.respond(text)\fR
.RS 4 .RS 4
When LightDM has prompted for input, provide the response to LightDM\&. When LightDM has prompted for input, provide the response to LightDM\&.
The deprecated function was "provide_secret"\&. This is still available for The deprecated function was "provide_secret"\&.
backwards compatibility, but authors of greeters should move to using
lightdm.respond()\&.
.RE .RE
.PP .PP
\fBlightdm\&.restart()\fR \fBlightdm\&.restart()\fR
@ -199,7 +194,7 @@ String\&. The name of the default session (as configured in lightdm.conf)\&.
Boolean\&. A guest account is available for login\&. Boolean\&. A guest account is available for login\&.
.RE .RE
.PP .PP
\fBlightdm\&.hide_users\fR \fBlightdm\&.hide_users_hint\fR
.RS 4 .RS 4
Boolean\&. The whole list of users should not be displayed\&. Boolean\&. The whole list of users should not be displayed\&.
.RE .RE
@ -265,24 +260,6 @@ Array\&. The users that are able to log in\&. Returns an Array of LightDMUser
objects\&. objects\&.
.RE .RE
.PP .PP
The following calls can be made to read configuration keys out of the
web-greeter configuration file\&.
.PP
\fBgreeter_config\&.get_str(section, key)\fR
.RS 4
Returns the string value associated with key under the "section" in the configuration file\&.
.RE
.PP
\fBgreeter_config\&.get_num(section, key)\fR
.RS 4
Returns the numeric value associated with key under the "section" in the configuration file\&.
.RE
.PP
\fBgreeter_config\&.get_bool(section, key)\fR
.RS 4
Returns the boolean value associated with key under the "section" in the configuration file\&.
.RE
.PP
The theme_utils object has some utility functions associated with it which The theme_utils object has some utility functions associated with it which
are intended to make a theme author's work easier\&. are intended to make a theme author's work easier\&.
.PP .PP
@ -299,12 +276,17 @@ Binds this to class, context, for all of the class's methods\&.
.PP .PP
\fBtheme_utils\&.get_current_localized_time()\fR \fBtheme_utils\&.get_current_localized_time()\fR
.RS 4 .RS 4
Get the current time in a localized format\&. Time format and language are Get the current time in a localized format\&. Language is auto-detected by default,
auto-detected by default, but can be set manually in the greeter config file\&. but can be set manually in the greeter config file\&.
.RE
\fBtheme_utils\&.get_current_localized_date()\fR
.RS 4
Get the current date in a localized format\&. Language is auto-detected by default,
but can be set manually in the greeter config file\&.
.RE .RE
.PP .PP
Please see the LightDM API documentation for the complete list of calls Please see the LightDM API documentation for the complete list of calls
available\&. The web-greeter implements all of the LightDM API\&. available\&. The web-greeter implements all of the LightDM API\&.
.PP .PP
.SH "CONFIGURATION" .SH "CONFIGURATION"
.PP .PP
@ -321,7 +303,7 @@ Directory where themes should be stored\&.
.RE .RE
.SH "EXAMPLES" .SH "EXAMPLES"
.PP .PP
Please see the "default" and "simple" themes that are shipped with web-greeter\&. Please see the "dracula", "gruvbox" and "simple" themes that are shipped with web-greeter\&.
.TP .TP
\fBCommand Line\fR \fBCommand Line\fR
.RS 4 .RS 4
@ -331,9 +313,12 @@ web-greeter --normal
.SH "SEE ALSO" .SH "SEE ALSO"
.PP .PP
http://people\&.ubuntu\&.com/~robert-ancell/lightdm/reference/ http://people\&.ubuntu\&.com/~robert-ancell/lightdm/reference/
.PP
https://lazka\&.github\&.io/pgi-docs/#LightDM-1 https://lazka\&.github\&.io/pgi-docs/#LightDM-1
.PP
https://jezerm\&.github\&.io/web-greeter/
.SH "AUTHOR" .SH "AUTHOR"
.PP .PP
The legacy lightdm-webkit-greeter was written by Robert Ancell <robert\&.ancell\&@canonical\&.com\&>\&. The legacy lightdm-webkit-greeter was written by Robert Ancell <robert\&.ancell\&@canonical\&.com\&>\&.
It was ported to webkit2 by the Antergos Developers <dev@antergos\&.com>\&. Also includes code improvements It was ported to webkit2 by the Antergos Developers <dev@antergos\&.com>\&. Also includes code improvements
contributed by Scott Balneaves <sbalneav@ltsp\&.org>\&. contributed by Scott Balneaves <sbalneav@ltsp\&.org>\&. Mantained by JezerM <amyuki4@gmail\&.com>\&.

37
dist/com.antergos.web-greeter.appdata.xml → dist/web-greeter.appdata.xml vendored

@ -1,33 +1,29 @@
<?xml version="1.0" encoding="UTF-8" ?> <?xml version="1.0" encoding="UTF-8" ?>
<!-- Copyright 2017 Dustin Falgout <dustin@antergos.com> --> <!-- Copyright 2017 Dustin Falgout <dustin@antergos.com> -->
<component type="desktop"> <component type="desktop">
<id>com.antergos.web-greeter</id> <id>web-greeter</id>
<metadata_license>CC0-1.0</metadata_license> <metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0+</project_license> <project_license>GPL-3.0+</project_license>
<name>Web Greeter</name> <name>Web Greeter</name>
<summary>A modern, visually appealing greeter for LightDM.</summary> <summary>A modern, visually appealing greeter for LightDM</summary>
<description> <description>
<p> <p>
Web Greeter for LightDM utilizes themes built with HTML/CSS/JavaScript for it's login screen. Web Greeter for LightDM utilizes themes built with HTML/CSS/JavaScript for it's login screen.
</p> </p>
<p> <p>
Web Greeter themes provide modern, visually appealing, and feature-rich Web Greeter themes provide modern, visually appealing, and feature-rich
login screens. Two themes are included by default. There is also a growing number of login screens. Three themes are included by default. There is also a growing number of
3rd-Party themes available online. 3rd-Party themes available online.
</p> </p>
</description> </description>
<screenshots> <screenshots>
<screenshot height="412" width="800" type="default"> <screenshot height="768" width="1366" type="default">
<image>https://github.com/Antergos/web-greeter/raw/master/themes/default/img/screenshot1.jpg</image> <image>https://github.com/JezerM/web-greeter/blob/master/themes/gruvbox/assets/screenshots/theme-show-1.png</image>
<caption>Login screen (default theme)</caption> <caption>Login screen (gruvbox theme)</caption>
</screenshot> </screenshot>
<screenshot height="412" width="800"> <screenshot height="768" width="1366" type="default">
<image>https://github.com/Antergos/web-greeter/raw/master/themes/default/img/screenshot2.jpg</image> <image>https://github.com/JezerM/web-greeter/blob/master/themes/gruvbox/assets/screenshots/theme-show-2.png</image>
<caption>Login screen background switcher (default theme)</caption> <caption>Login screen shutting down (gruvbox theme)</caption>
</screenshot>
<screenshot height="412" width="800">
<image>https://github.com/Antergos/web-greeter/raw/master/themes/default/img/screenshot3.jpg</image>
<caption>Login screen user selection (default theme)</caption>
</screenshot> </screenshot>
</screenshots> </screenshots>
@ -104,22 +100,17 @@
</description> </description>
</release> </release>
</releases> </releases>
<kudos> <url type="bugtracker">https://github.com/JezerM/web-greeter/issues</url>
<kudo>ModernToolkit</kudo> <url type="help">https://jezerm.github.io/web-greeter/</url>
</kudos> <url type="homepage">https://github.com/JezerM/web-greeter</url>
<url type="bugtracker">https://github.com/Antergos/web-greeter/issues</url>
<url type="donation">https://antergos.com/donate</url>
<url type="help"/>
<url type="homepage">https://github.com/Antergos/web-greeter</url>
<url type="translate">https://www.transifex.com/faidoc/antergos/lightdm-webkit2-greeter</url>
<suggests> <suggests>
<id>apps.light-locker</id> <id>apps.light-locker</id>
</suggests> </suggests>
<provides> <provides>
<binary>web-greeter</binary> <binary>web-greeter</binary>
</provides> </provides>
<update_contact>dustin_at_antergos.com</update_contact> <update_contact>amyuki4@gmail.com</update_contact>
<translation type="gettext">web-greeter</translation> <translation type="gettext">web-greeter</translation>
<developer_name>Antergos Linux Project</developer_name> <developer_name>JezerM</developer_name>
</component> </component>

13
web-greeter.doap

@ -8,17 +8,16 @@
<shortdesc xml:lang="en">Web Greeter for LightDM</shortdesc> <shortdesc xml:lang="en">Web Greeter for LightDM</shortdesc>
<programming-language>Python</programming-language> <programming-language>Python</programming-language>
<programming-language>JavaScript</programming-language> <programming-language>JavaScript</programming-language>
<homepage rdf:resource="https://github.com/Antergos/web-greeter" /> <homepage rdf:resource="https://github.com/JezerM/web-greeter" />
<download-page rdf:resource="https://github.com/Antergos/web-greeter/release" /> <download-page rdf:resource="https://github.com/JezerM/web-greeter/release" />
<bug-database rdf:resource="https://github.com/Antergos/web-greeter/issues" /> <bug-database rdf:resource="https://github.com/JezerM/web-greeter/issues" />
<category rdf:resource="http://api.gnome.org/doap-extensions#desktop" /> <category rdf:resource="http://api.gnome.org/doap-extensions#desktop" />
<screenshots rdf:resource="https://github.com/Antergos/web-greeter/raw/master/themes/antergos/img/screenshot1.jpg" /> <screenshots rdf:resource="https://github.com/JezerM/web-greeter/blob/master/themes/gruvbox/assets/screenshots/theme-show-1.png" />
<maintainer> <maintainer>
<foaf:Person> <foaf:Person>
<foaf:name>Dustin Falgout</foaf:name> <foaf:name>Jezer Mejía</foaf:name>
<foaf:mbox rdf:resource="mailto:dustin@antergos.com" /> <foaf:mbox rdf:resource="mailto:amyuki4@gmail.com" />
<gnome:userid>lots0logs</gnome:userid>
</foaf:Person> </foaf:Person>
</maintainer> </maintainer>
</Project> </Project>

Loading…
Cancel
Save