Caution: Do not try this if you are not completely comfortable booting without X to repair lightdm configuration.
The package lightdm-webkit-greeter is not included in the ubuntu repository yet. To build your own greeter with HTML, CSS and Javascript, you'll have to download and install the lightdm-webkit-greeter code from Launchpad (lp:lightdm-webkit-greeter
). I also merged in the changes in lp:~elementaryart/lightdm-webkit-greeter/fixes-ubuntu-old
You'll then have to alter the Lightdm configuration to use the webkit greeter as opposed to unity (or whatever was default).
I believe there is a bug in the lightdm-webkit-greeter.conf file, where it refers to a webkit-theme called "default", that should be "webkit".
I currently use the webkit greeter to log in and can tell you that it is slow and unpolished at the moment.
Step by step:
(be prepared to fix the greeter configuration without a GUI if this fails)
bzr branch lp:lightdm-webkit-greeter
cd lightdm-webkit-greeter
bzr merge lp:~elementaryart/lightdm-webkit-greeter/fixes-ubuntu-old
- .
/autogen.sh (you'll have to install some dependencies here - probably only libwebkit-dev)
make
sudo make install
gksudo gedit /etc/lightdm/lightdm.conf
- Set
greeter-session=lightdm-webkit-greeter
(remember the old setting as a fallback if you can't log in with your new settings)
gksudo gedit /etc/lightdm/lightdm-webkit-greeter.conf
- Set the
webkit-theme=webkit
This should work to enable the default webkit login. Now you can edit the theme here:
gksudo gedit /usr/share/lightdm-webkit/themes/webkit/index.html
Edit: Another warning - you can seemingly lock yourself out of gnome if this does not work.
Just edit the greeter-session
option in /etc/lightdm/lightdm.conf
to the desired greeter.
Open up /etc/lightdm/lightdm.conf
with any editor as root. For example sudo nano /etc/lightdm/lightdm.conf
then change the line
greeter-session=unity-greeter
to
greeter-session=lightdm-webkit-greeter
If the file does not exist, let it contain
[SeatDefaults]
greeter-session=lightdm-webkit-greeter
Best Answer
Well, that OBS repo is perplexing to me as well. I would build from source: