You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+10-4
Original file line number
Diff line number
Diff line change
@@ -71,20 +71,23 @@ sudo node make install
71
71
This will rebuild **electron** along with **node-gtk**, compile typescript with `npx tsc`, and then build the package root directory inside `build/unpacked`. Later, install it with `node make install`.
72
72
73
73
Also, you can package `build/unpacked` to whatever you want, like **.deb** with:
74
+
74
75
```sh
75
76
dpkg-deb --root-owner-group --build unpacked
76
77
```
77
78
78
79
### Setting up with LightDM
79
80
80
81
Inside `/etc/lightdm/lightdm.conf`, below a Seat configuration, add:
82
+
81
83
```
82
84
greeter-session=nody-greeter
83
85
```
84
86
85
87
Afterwards, restart the lightdm service.
86
88
87
-
> ***Note:*** Be sure that nody-greeter works before restarting lightdm
89
+
> [!CAUTION]
90
+
> Be sure that nody-greeter works before restarting lightdm
`acpi` is the only tool needed to control the brightness, besides a compatible device. This functionality is based on [acpilight][acpilight] replacement for `xbacklight`.
103
107
104
108
udev rules are needed to be applied before using it, check [acpilight rules][acpilight_rules]. Then, lightdm will need to be allowed to change backlight values, to do so add lightdm user to **video** group: `sudo usermod -a -G video lightdm`
105
109
106
110
You can enable it inside `/etc/lightdm/web-greeter.yml`
107
111
108
112
### Battery status
113
+
109
114
`acpi` and `acpi_listen` are the only tools you need (and a battery). This functionality is based on ["bat" widget][bat_widget] from ["lain" awesome-wm library][lain].
110
115
111
116
You can enable it inside `/etc/lightdm/web-greeter.yml`.
112
117
113
118
## Debugging
119
+
114
120
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`.
115
121
116
122
You have to log out and log back in after adding that line. Then you can run the greeter from command line.
@@ -123,7 +129,8 @@ nody-greeter --debug
123
129
124
130
Check `nody-greeter --help` for more commands.
125
131
126
-
> ***Note:*** Do not use `lightdm --test-mode` as it is not supported.
132
+
> [!NOTE]
133
+
> Do not use `lightdm --test-mode` as it is not supported.
127
134
128
135
## Troubleshooting
129
136
@@ -133,9 +140,8 @@ Check `nody-greeter --help` for more commands.
133
140
134
141
Make sure you are using a [node-gtk][node-gtk] supported Node.js version.
0 commit comments