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
.ad l
.SH "NAME"
@ -41,6 +41,8 @@ deprecated properties and/or functions to ensure continued proper functionality\
.PP
The following functions \fBmust\fR be provided by the greeter theme and callable on the global "window" object\&.
.PP
See full documentation on https://jezerm\&.github\&.io/web-greeter/
.PP
\fBshow_prompt(text, type)\fR
.RS 4
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.
.RE
.PP
\fBlightdm\&.get_hint(hint_name)\fR
.RS 4
Returns the value of a named hint provided by LightDM\&.
.RE
.PP
\fBlightdm\&.suspend()\fR
.RS 4
Suspends the system, if the greeter has the authority to do so\&.
@ -123,9 +120,7 @@ deprecated\&.
\fBlightdm\&.respond(text)\fR
.RS 4
When LightDM has prompted for input, provide the response to LightDM\&.
The deprecated function was "provide_secret"\&. This is still available for
backwards compatibility, but authors of greeters should move to using
lightdm.respond()\&.
The deprecated function was "provide_secret"\&.
.RE
.PP
\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\&.
.RE
.PP
\fBlightdm\&.hide_users\fR
\fBlightdm\&.hide_users_hint\fR
.RS 4
Boolean\&. The whole list of users should not be displayed\&.
.RE
@ -265,24 +260,6 @@ Array\&. The users that are able to log in\&. Returns an Array of LightDMUser
objects\&.
.RE
.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
are intended to make a theme author's work easier\&.
.PP
@ -299,12 +276,17 @@ Binds this to class, context, for all of the class's methods\&.
.PP
\fBtheme_utils\&.get_current_localized_time()\fR
.RS 4
Get the current time in a localized format\&. Time format and language are
auto-detected by default, but can be set manually in the greeter config file\&.
Get the current time in a localized format\&. Language is auto-detected by default,
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
.PP
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
.SH "CONFIGURATION"
.PP
@ -321,7 +303,7 @@ Directory where themes should be stored\&.
.RE
.SH "EXAMPLES"
.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
\fBCommand Line\fR
.RS 4
@ -331,9 +313,12 @@ web-greeter --normal
.SH "SEE ALSO"
.PP
http://people\&.ubuntu\&.com/~robert-ancell/lightdm/reference/
.PP
https://lazka\&.github\&.io/pgi-docs/#LightDM-1
.PP
https://jezerm\&.github\&.io/web-greeter/
.SH "AUTHOR"
.PP
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
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" ?>
<!-- Copyright 2017 Dustin Falgout <dustin@antergos.com> -->
<component type="desktop">
<id>com.antergos.web-greeter</id>
<id>web-greeter</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0+</project_license>
<name>Web Greeter</name>
<summary>A modern, visually appealing greeter for LightDM.</summary>
<summary>A modern, visually appealing greeter for LightDM</summary>
<description>
<p>
Web Greeter for LightDM utilizes themes built with HTML/CSS/JavaScript for it's login screen.
</p>
<p>
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.
</p>
</description>
<screenshots>
<screenshot height="412" width="800" type="default">
<image>https://github.com/Antergos/web-greeter/raw/master/themes/default/img/screenshot1.jpg</image>
<caption>Login screen (default theme)</caption>
<screenshot height="768" width="1366" type="default">
<image>https://github.com/JezerM/web-greeter/blob/master/themes/gruvbox/assets/screenshots/theme-show-1.png</image>
<caption>Login screen (gruvbox theme)</caption>
</screenshot>
<screenshot height="412" width="800">
<image>https://github.com/Antergos/web-greeter/raw/master/themes/default/img/screenshot2.jpg</image>
<caption>Login screen background switcher (default 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 height="768" width="1366" type="default">
<image>https://github.com/JezerM/web-greeter/blob/master/themes/gruvbox/assets/screenshots/theme-show-2.png</image>
<caption>Login screen shutting down (gruvbox theme)</caption>
</screenshot>
</screenshots>
@ -104,22 +100,17 @@
</description>
</release>
</releases>
<kudos>
<kudo>ModernToolkit</kudo>
</kudos>
<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>
<url type="bugtracker">https://github.com/JezerM/web-greeter/issues</url>
<url type="help">https://jezerm.github.io/web-greeter/</url>
<url type="homepage">https://github.com/JezerM/web-greeter</url>
<suggests>
<id>apps.light-locker</id>
</suggests>
<provides>
<binary>web-greeter</binary>
</provides>
<update_contact>dustin_at_antergos.com</update_contact>
<update_contact>amyuki4@gmail.com</update_contact>
<translation type="gettext">web-greeter</translation>
<developer_name>Antergos Linux Project</developer_name>
<developer_name>JezerM</developer_name>
</component>

13
web-greeter.doap

@ -8,17 +8,16 @@
<shortdesc xml:lang="en">Web Greeter for LightDM</shortdesc>
<programming-language>Python</programming-language>
<programming-language>JavaScript</programming-language>
<homepage rdf:resource="https://github.com/Antergos/web-greeter" />
<download-page rdf:resource="https://github.com/Antergos/web-greeter/release" />
<bug-database rdf:resource="https://github.com/Antergos/web-greeter/issues" />
<homepage rdf:resource="https://github.com/JezerM/web-greeter" />
<download-page rdf:resource="https://github.com/JezerM/web-greeter/release" />
<bug-database rdf:resource="https://github.com/JezerM/web-greeter/issues" />
<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>
<foaf:Person>
<foaf:name>Dustin Falgout</foaf:name>
<foaf:mbox rdf:resource="mailto:dustin@antergos.com" />
<gnome:userid>lots0logs</gnome:userid>
<foaf:name>Jezer Mejía</foaf:name>
<foaf:mbox rdf:resource="mailto:amyuki4@gmail.com" />
</foaf:Person>
</maintainer>
</Project>

Loading…
Cancel
Save