JezerM / nody-greeter

LightDM greeter that allows to create wonderful themes with web technologies. Made in Node.js
https://web-greeter-page.vercel.app
GNU General Public License v3.0
134 stars 9 forks source link

some themes do not work #3

Open trwnh opened 2 years ago

trwnh commented 2 years ago

An error occurred. Do you want to change to default theme? (gruvbox)

web-greeter://app/usr/share/web-greeter/themes/litarvan/js/chunk-vendors.cc4c1bca.js 7: TypeError: lightdm.language.toLowerCase is not a function

JezerM commented 2 years ago

Litarvan theme uses the previous lightdm-webkit-greeter 2.2.5 greeter, so there are lots of deprecated functions or concepts being used that simply do not work neither in web-greeter or nody-greeter.

Until these new greeters are popular, old themes won't work as expected. For now, since I cannot do much about it (sadly), you could try to use another theme.

JezerM commented 2 years ago

I did fix all the errors I got with Litarvan theme. You can check my fork here, which I'll try to make a PR with.

rocheston commented 2 years ago

WindowsXP theme also does not work. Can yoou fix that too please? https://github.com/mshernandez5/WelcomeXP

blaine12100 commented 2 years ago

I did fix all the errors I got with Litarvan theme. You can check my fork here, which I'll try to make a PR with.

Hi

I visited the Link to your fork and I installed it via pacman. However on executing the command "nody-greeter --debug --list", I do not see the theme in the visible section

ArcoLinux_2022-07-24_00-24-05

Is there something that I am doing wrong?

Also how can I find more themes which work with nody-greeter?

JezerM commented 2 years ago

If litarvan-theme was installed with pacman, then you need to copy the theme from /usr/share/lightdm-webkit/themes/litarvan to /usr/share/web-greeter/themes/litarvan. Either, if you're building the theme from source, copy the dist folder to /usr/share/web-greeter/themes/litarvan.

Then, doing a nody-greeter --list should show the litarvan theme in the list.

You can find more themes in web-greeter-page.