Closed FallingSnow closed 8 years ago
Which version of webkit2gtk are you using?
webkit2gtk-2.10.9-1
And I can't install the latest version in the test repo because
lightdm-webkit2-greeter: installing webkit2gtk (2.12.0-1) breaks dependency 'webkit2gtk<2.12'
Flexbox works fine with the 2.10 series. Are you sure you are using it correctly. Do you have Epiphany installed? Does it work there?
I'm using Angular Material's CSS and it works in chrome. I just installed epiphany, the odd thing is epiphany opens and closes instantly with the error epiphany: symbol lookup error: epiphany: undefined symbol: webkit_web_view_get_session_state
which after a google seems to be related to webkit2gtk.
You'll need to force the upgrade to webkit2gtk 3.12 (if you have gnome 3.20 packages installed).. pacman -Sdd webkitgtk
I don't know what fixed it but it's working now. I think it had to do with upgrading webkit2gtk then downgrading it again. Thanks for your support.
I have another issue though, an img with src="/home/user/.face" doesn't show the image. Only a small box with a question mark.
You can't access files in user home directories. You can get the path to the user's face image from the greeter's Javascript API. You can use the default theme as a reference. Here's the part of the code that handles adding users to the page: https://github.com/Antergos/lightdm-webkit2-greeter/blob/master/themes/antergos/js/greeter.js#L437
I think that's what I'm already doing and it gives me a path to /home/user/.face. If the user defines a face image outside of their home in a publicly accessible directory I will then be able to display their image?
I updated the details on where and how user icons should be stored: https://github.com/Antergos/lightdm-webkit2-greeter/tree/master/themes/antergos#user-icons-management
Thank you!
If you want to see what your efforts helped me accomplish, give this theme a whirl, https://github.com/FallingSnow/lightdm-webkit-material. I'll be submitting a pull request tonight or tomorrow.
Using any kind of flex display options doesn't appear to work. Any chance flex support will be added?