Skip to content

Commit 2227fe5

Browse files
committed
update readme to include support for web-greeter
1 parent 82e950a commit 2227fe5

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

README.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# codam-web-greeter
2-
A greeter theme for [nody-greeter](https://github.com/JezerM/nody-greeter)/web-greeter in LightDM, made specifically for [Codam Coding College](https://codam.nl/en).
2+
A greeter theme for [nody-greeter](https://github.com/JezerM/nody-greeter)/[web-greeter](https://github.com/JezerM/web-greeter) in LightDM, made specifically for [Codam Coding College](https://codam.nl/en).
33

44
---
55

@@ -33,7 +33,7 @@ A greeter theme for [nody-greeter](https://github.com/JezerM/nody-greeter)/web-g
3333
sudo apt install lightdm light-locker xprintidle
3434
```
3535

36-
2. Install *nody-greeter* by downloading the deb from the [nody-greeter repository releases page](https://github.com/codam-coding-college/nody-greeter/releases). If you're at a 42 school, it is recommended to add this deb to your Nexus server so you can easily install it using `apt` later. Alternatively, you can install it by compiling from source (don't forget to clone the repository with the `--recursive` flag to include its submodules).
36+
2. Install [nody-greeter](https://github.com/JezerM/nody-greeter/releases) or [web-greeter](https://github.com/JezerM/web-greeter/releases) by downloading the deb from the corresponding releases page. Alternatively, you can install it by compiling from source (don't forget to clone the repository with the `--recursive` flag to include its submodules).
3737

3838
4. Download the latest stable release of the greeter theme from the [releases page](https://github.com/codam-coding-college/codam-web-greeter/releases):
3939
```bash
@@ -48,13 +48,18 @@ cp -r codam-web-greeter /usr/share/web-greeter/themes/codam
4848
bash /usr/share/web-greeter/themes/codam/systemd/install.sh
4949
```
5050

51-
5. Enable the nody-greeter greeter in LightDM by editing */etc/lightdm/lightdm.conf*:
51+
5. Specify to use nody-greeter in LightDM by editing */etc/lightdm/lightdm.conf*:
5252
```conf
5353
# Add the following line to the file under [SeatDefaults]:
5454
greeter-session=nody-greeter
5555
```
56+
or if using web-greeter:
57+
```conf
58+
# Add the following line to the file under [SeatDefaults]:
59+
greeter-session=web-greeter
60+
```
5661

57-
6. Enable the greeter theme in nody-greeter by editing */etc/lightdm/web-greeter.yml*:
62+
6. Enable the greeter theme by editing */etc/lightdm/web-greeter.yml*:
5863
```yml
5964
# Replace the theme name with codam-web-greeter:
6065
greeter:
@@ -96,7 +101,8 @@ X-LightDM-Allow-Greeter=true
96101

97102
This will allow you to run the greeter in debug mode while logged in as a regular user by installing the greeter like normally and running the following command:
98103
```bash
99-
nody-greeter --d
104+
nody-greeter --debug
105+
# or if using web-greeter: web-greeter --debug
100106
```
101107

102108
You can then open the Developer Tools sidebar from the greeter's menu and view the console output for any warnings and/or errors.

static/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<!-- <link rel="stylesheet" href="css/styles.css" /> -->
88
<!-- <link rel="stylesheet" href="css/boxed.css" /> -->
99
<link rel="stylesheet" href="greeter.css" onerror="console.error('Styles are missing: did you use the Makefile to build static/greeter.css?');" />
10-
<title>Codam Theme for nody-greeter</title>
10+
<title>codam-web-greeter</title>
1111
</head>
1212
<body>
1313
<div id="blur-filter" style="display: none;"></div>

0 commit comments

Comments
 (0)