Skip to content

Commit

Permalink
Merge pull request Antergos#127 from berlam/patch-1
Browse files Browse the repository at this point in the history
Add debug instructions
  • Loading branch information
lots0logs authored Mar 30, 2017
2 parents 3e437bf + 3b3e621 commit e6af4a5
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,21 @@ cd /tmp/greeter
sudo make install
```

## Theme JavaScript API:
## Theme JavaScript API
The greeter exposes a JavaScript API to themes which they must use to interact with the greeter (in order to facilitate the user login process). For more details, check out the [API Documentation](https://doclets.io/Antergos/web-greeter/stable).

## Debugging
You can run the greeter from within your desktop session if you add the following line to the desktop file for your session located in `/usr/share/xsessions/`: `X-LightDM-Allow-Greeter=true`.

You have to log out and log back in after adding that line. Then you can run the greeter from command line.

```sh
web-greeter
```

Themes can be opened with a debug console if you set `debug_mode` to `true` inside `/etc/lightdm/web-greeter.yml`.

> ***Note:*** Do not use `lightdm --test-mode` as it is not supported.
## Translations
Translations are managed through [Transifex](https://www.transifex.com/faidoc/antergos/lightdm-webkit2-greeter/).
Expand Down

0 comments on commit e6af4a5

Please sign in to comment.