web-greeter(1)
| web-greeter(1) | General Commands Manual | web-greeter(1) |
NAME
web-greeter
SYNOPSIS
LightDM greeter that uses chromium for theming via HTML/JavaScript.
DESCRIPTION
web-greeter is a LightDM greeter that uses chromium for theming. Themes can be written using a combination of HTML and Javascript.
OPTIONS
- -h, --help
- Shows the help
- -v, --version
- Print program version
- --debug
- Forces the greeter to run in debug mode
- --normal
- Forces the greeter to run in normal mode
- --list
- Shows the available themes
- --theme THEME
- Sets the theme to use
THEME JAVASCRIPT API
Please note that all properties and functions which are marked as "deprecated" are only available for backwards compatibility and will be removed in a future version of web-greeter. Theme authors should not use any deprecated properties or functions in new works and should update any existing works which make use of deprecated properties and/or functions to ensure continued proper functionality.
See full documentation on https://jezerm.github.io/web-greeter/
The following signals are available to connect javascript functions when a LightDM or web-greeter signal occurs:
lightdm.authentication_complete
lightdm.autologin_timer_expired
lightdm.show_message
lightdm.show_prompt
The following functions are available for the greeter to call to execute actions within LightDM:
lightdm.authenticate(username)
lightdm.authenticate_as_guest()
lightdm.cancel_authentication()
lightdm.cancel_autologin()
lightdm.start_session(session)
lightdm.respond(text)
lightdm.set_language(lang)
lightdm.shutdown()
lightdm.restart()
lightdm.suspend()
lightdm.hibernate()
Variables available within the greeter are:
lightdm.authentication_user: string
lightdm.autologin_guest: boolean
lightdm.autologin_timeout: number
lightdm.autologin_user: string
lightdm.can_hibernate: boolean
lightdm.can_restart: boolean
lightdm.can_shutdown: boolean
lightdm.can_suspend: boolean
lightdm.default_session: string
lightdm.has_guest_account: boolean
lightdm.hide_users_hint: boolean
lightdm.hostname: string
lightdm.is_authenticated: boolean
lightdm.in_authentication: boolean
lightdm.language: LightDM.Language | null
lightdm.languages: LightDM.Languages[]
lightdm.layout: LightDM.Layout
lightdm.layouts: LightDM.Layout[]
lightdm.select_guest_hint: boolean
lightdm.select_user_hint: string
lightdm.sessions: LightDM.Session[]
lightdm.users: LightDM.User[]
The theme_utils object has some utility functions associated with it which are intended to make a theme author's work easier.
theme_utils.dirlist(path)
theme_utils.bind_this(context)
theme_utils.get_current_localized_time()
Please see the LightDM API documentation for the complete list of calls available. The web-greeter implements all of the LightDM API.
CONFIGURATION
/etc/lightdm/web-greeter.yml
FILES
/usr/share/web-greeter/themes
EXAMPLES
Please see the "dracula", "gruvbox" and "simple" themes that are shipped with web-greeter.
- Command Line
- web-greeter --normal
SEE ALSO
http://people.ubuntu.com/~robert-ancell/lightdm/reference/
https://lazka.github.io/pgi-docs/#LightDM-1
https://jezerm.github.io/web-greeter/
https://github.com/JezerM/web-greeter
AUTHOR
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>. Forked and mantained by JezerM <amyuki4@gmail.com>.
| 2022.2.10 |
