Antergos / web-greeter

A modern, visually appealing greeter for LightDM.
http://antergos.github.io/web-greeter
GNU General Public License v3.0
233 stars 57 forks source link

Debugging #120

Closed pms1969 closed 7 years ago

pms1969 commented 7 years ago

How do you go about debugging a theme in userspace? I've got some problems with a theme that seem to be timing based, and locking the screen is a pig that's not yielding anything decisive anyway. Of course if I just load the theme in the browser, it won't work because there is no lightdm object defined.

Any pointers would be greatly appreciated.

lots0logs commented 7 years ago

You can enable debug mode in the config file (located in /etc/lightdm) and when the greeter loads it will also load the dev tools window for debugging.

lots0logs commented 7 years ago

I forgot to mention that 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

You have to log out and log back in after adding that line. Then you can run the greeter from command line.

pms1969 commented 7 years ago

thanks. How do I launch the greeter then? is it just lightdm --test-mode? or do I need to do something with Xephyr first? Cheers

lots0logs commented 7 years ago

Nah, none of that. After you add that line to the session file and log out/in again you can run the greeter directly:

web-greeter
pms1969 commented 7 years ago

:/ hmmm.... I don't have that installed..... I'm guessing I need to clone this repo?

lots0logs commented 7 years ago

If you're using the latest stable release then you can run it with this command instead:

lightdm-webkit2-greeter
pms1969 commented 7 years ago

thank you.