From c526579b409e55778a4b023e990cf77002eccc0b Mon Sep 17 00:00:00 2001 From: sechorda Date: Thu, 26 Sep 2024 16:30:30 -0400 Subject: [PATCH 1/7] README updates --- README.md | 40 +++++++++++++++++++++++++++------------- 1 file changed, 27 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index f0f8e0e..cc59680 100644 --- a/README.md +++ b/README.md @@ -47,16 +47,18 @@ Themes working in **web-greeter** should work also here. All themes shipped with ### Common dependencies -- lightdm (as obvious) -- gobject-introspection -- liblightdm-gobject -- liblightdm-gobject-dev -- libgirepository1.0-dev -- libcairo2 -- libcairo2-dev -- libxcb-dev -- libx11-dev - +```sh +sudo apt install \ + lightdm \ + gobject-introspection \ + liblightdm-gobject-1-0 \ + liblightdm-gobject-dev \ + libgirepository1.0-dev \ + libcairo2 \ + libcairo2-dev \ + libxcb-dev \ + libx11-dev +``` ## Installation ```sh @@ -74,6 +76,12 @@ Also, you can package `build/unpacked` to whatever you want, like **.deb** with: ```sh dpkg-deb --root-owner-group --build unpacked + +> [!NOTE] +> For Debian systems: +> 1. Copy build/DEBIAN/ to build/unpacked +> 2. In the control file, replace the liblightdm-gobject-1-dev dependency with liblightdm-gobject-dev. +> the liblightdm-gobject-1-dev package only exists in Ubuntu, the Debian equivalent is liblightdm-gobject-dev. ``` ### Setting up with LightDM @@ -89,6 +97,12 @@ Afterwards, restart the lightdm service. > [!CAUTION] > Be sure that nody-greeter works before restarting lightdm +### Installing Themes + +All themes must be installed at /usr/share/web-greeter/themes/ + +View community themes: https://web-greeter-page.vercel.app/themes + ## Theme JavaScript API To create themes for nody-greeter and web-greeter, check the documentation available at [web-greeter-docs][web-greeter-docs]. @@ -121,10 +135,10 @@ You can run the greeter from within your desktop session if you add the followin You have to log out and log back in after adding that line. Then you can run the greeter from command line. -Themes can be opened with a debug console if you set `debug_mode` as `true` inside `/etc/lightdm/web-greeter.yml`. Or, you could run the `nody-greeter` with the parameter `--debug`. I recommend to use the last one, as it is easier and handy. +Themes can be opened with a debug console if you set `debug_mode` as `true` inside `/etc/lightdm/web-greeter.yml`. Or, you could run the `nody-greeter` with the parameter `--inspect`. I recommend to use the last one, as it is easier and handy. ```sh -nody-greeter --debug +nody-greeter --inspect ``` Check `nody-greeter --help` for more commands. @@ -136,7 +150,7 @@ Check `nody-greeter --help` for more commands. ### node-gyp fails on `npm run rebuild` -> Supported Node.js versions: 16, 18 (other versions should work but are untested) +> Supported Node.js versions: 16, 18, 20, 22. ### Issues with distutils From cd48230279edc2ae5aff375426ecd5c69a016654 Mon Sep 17 00:00:00 2001 From: Sechorda <157994689+Sechorda@users.noreply.github.com> Date: Thu, 26 Sep 2024 16:35:56 -0400 Subject: [PATCH 2/7] Update README.md --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index cc59680..d5880d9 100644 --- a/README.md +++ b/README.md @@ -49,15 +49,15 @@ Themes working in **web-greeter** should work also here. All themes shipped with ```sh sudo apt install \ - lightdm \ - gobject-introspection \ - liblightdm-gobject-1-0 \ - liblightdm-gobject-dev \ - libgirepository1.0-dev \ - libcairo2 \ - libcairo2-dev \ - libxcb-dev \ - libx11-dev +lightdm \ +gobject-introspection \ +liblightdm-gobject \ +liblightdm-gobject-dev \ +libgirepository1.0-dev \ +libcairo2 \ +libcairo2-dev \ +libxcb-dev \ +libx11-dev ``` ## Installation From 9ed3d5081b59a5b9646e83dd0bb75c0a988f2bc6 Mon Sep 17 00:00:00 2001 From: Sechorda <157994689+Sechorda@users.noreply.github.com> Date: Thu, 26 Sep 2024 16:37:07 -0400 Subject: [PATCH 3/7] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d5880d9..52e3c21 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ Themes working in **web-greeter** should work also here. All themes shipped with sudo apt install \ lightdm \ gobject-introspection \ -liblightdm-gobject \ +liblightdm-gobject \ liblightdm-gobject-dev \ libgirepository1.0-dev \ libcairo2 \ From 8783b0f6155aa64f59c7b72ec035bedb8caf7bdf Mon Sep 17 00:00:00 2001 From: Sechorda <157994689+Sechorda@users.noreply.github.com> Date: Thu, 26 Sep 2024 20:52:15 -0400 Subject: [PATCH 4/7] Update README.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Jezer Mejía <59768785+JezerM@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 52e3c21..9a67115 100644 --- a/README.md +++ b/README.md @@ -99,7 +99,7 @@ Afterwards, restart the lightdm service. ### Installing Themes -All themes must be installed at /usr/share/web-greeter/themes/ +All themes must be installed at `/usr/share/web-greeter/themes/` View community themes: https://web-greeter-page.vercel.app/themes From ffe3f15c212f140659359c525bb59afcfa52776e Mon Sep 17 00:00:00 2001 From: Sechorda <157994689+Sechorda@users.noreply.github.com> Date: Thu, 26 Sep 2024 20:56:53 -0400 Subject: [PATCH 5/7] Update README.md --- README.md | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 9a67115..9bb279a 100644 --- a/README.md +++ b/README.md @@ -47,18 +47,8 @@ Themes working in **web-greeter** should work also here. All themes shipped with ### Common dependencies -```sh -sudo apt install \ -lightdm \ -gobject-introspection \ -liblightdm-gobject \ -liblightdm-gobject-dev \ -libgirepository1.0-dev \ -libcairo2 \ -libcairo2-dev \ -libxcb-dev \ -libx11-dev -``` +`lightdm gobject-introspection liblightdm-gobject-1-0 liblightdm-gobject-dev libgirepository1.0-dev libcairo2 libcairo2-dev libxcb1-dev libx11-dev` + ## Installation ```sh @@ -76,13 +66,14 @@ Also, you can package `build/unpacked` to whatever you want, like **.deb** with: ```sh dpkg-deb --root-owner-group --build unpacked +``` > [!NOTE] > For Debian systems: > 1. Copy build/DEBIAN/ to build/unpacked > 2. In the control file, replace the liblightdm-gobject-1-dev dependency with liblightdm-gobject-dev. > the liblightdm-gobject-1-dev package only exists in Ubuntu, the Debian equivalent is liblightdm-gobject-dev. -``` + ### Setting up with LightDM From d35b51713754493a4cd7415777c6b626619497b9 Mon Sep 17 00:00:00 2001 From: Sechorda <157994689+Sechorda@users.noreply.github.com> Date: Thu, 26 Sep 2024 21:12:40 -0400 Subject: [PATCH 6/7] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9bb279a..fa9db5c 100644 --- a/README.md +++ b/README.md @@ -70,10 +70,10 @@ dpkg-deb --root-owner-group --build unpacked > [!NOTE] > For Debian systems: +> > 1. Copy build/DEBIAN/ to build/unpacked > 2. In the control file, replace the liblightdm-gobject-1-dev dependency with liblightdm-gobject-dev. -> the liblightdm-gobject-1-dev package only exists in Ubuntu, the Debian equivalent is liblightdm-gobject-dev. - +> the liblightdm-gobject-1-dev package only exists in Ubuntu, the Debian equivalent is liblightdm-gobject-dev. ### Setting up with LightDM From 63901c0c138ea05e1fbcb6279ee5a1233f489dc1 Mon Sep 17 00:00:00 2001 From: Sechorda <157994689+Sechorda@users.noreply.github.com> Date: Thu, 26 Sep 2024 21:18:10 -0400 Subject: [PATCH 7/7] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fa9db5c..790e044 100644 --- a/README.md +++ b/README.md @@ -126,10 +126,10 @@ You can run the greeter from within your desktop session if you add the followin You have to log out and log back in after adding that line. Then you can run the greeter from command line. -Themes can be opened with a debug console if you set `debug_mode` as `true` inside `/etc/lightdm/web-greeter.yml`. Or, you could run the `nody-greeter` with the parameter `--inspect`. I recommend to use the last one, as it is easier and handy. +Themes can be opened with a debug console if you set `debug_mode` as `true` inside `/etc/lightdm/web-greeter.yml`. Or, you could run the `nody-greeter` with the parameter `--debug`. I recommend to use the last one, as it is easier and handy. ```sh -nody-greeter --inspect +nody-greeter --debug ``` Check `nody-greeter --help` for more commands.