Open Mega31 opened 1 year ago
Same issue
I can make it work if I use the lightdm-webkit-theme-litarvan-git
version from the AUR but recently have started to have another issue.
An error was detected in the current theme that could interfere with the system login process.
EDIT:
Just downgraded to lightdm-webkit-theme-litarvan-3.0.0-1-any
and it seems to work...
Hi there!
I have been messing around with this problem and developed a temporary (somewhat ugly) fix. In the file /usr/share/lightdm-webkit/themes/litarvan/js/chunk-vendors.XXXXXXXX.js
, replace the function called $r
function $r(t){var e=t&&t.toString().match(Or);return e?e[1]:""}
with
function $r(t){var e=t&&typeof (t.toString())==='string'&&!!t.toString().match&&t.toString().match(Or);return e?e[1]:""}
Basically, Im adding two new conditions:
t.toString()
outputs a string. I had a case where it would output a functionThis is not a good fix, but it lets you have the normal login behavior, at least on the user side. I will continue investigating this problem, and so far, it doesn't seem like the problem is necessary in Litarvan's code.
Hi there! I have been messing around with this problem and developed a temporary (somewhat ugly) fix. In the file
/usr/share/lightdm-webkit/themes/litarvan/js/chunk-vendors.XXXXXXXX.js
, replace the function called $rfunction $r(t){var e=t&&t.toString().match(Or);return e?e[1]:""}
with
function $r(t){var e=t&&typeof (t.toString())==='string'&&!!t.toString().match&&t.toString().match(Or);return e?e[1]:""}
Basically, Im adding two new conditions:
- if the
t.toString()
outputs a string. I had a case where it would output a function- And if the function match exists in that given string. I also had a case where the string wouldn't have the match method
This is not a good fix, but it lets you have the normal login behavior, at least on the user side. I will continue investigating this problem, and so far, it doesn't seem like the problem is necessary in Litarvan's code.
Thanks for help, my chunk has different arguments in braces but I did exactly the same with my arguments and it worked
lightdm-webkit2-greeter --test-mode output: