Package:Lightdm-webkit-greeter

From Funtoo
Jump to navigation Jump to search

Lightdm-webkit-greeter

   Tip

We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.

Lightdm-webkit-greeter is a greeter for x11-misc/lightdm that allows the use of web technologies such as HTML, CSS, and Javascript for the theming and functionality.

Installation

Webkit greeter is available in the main repository:

root # emerge -av x11-misc/lightdm-webkit-greeter

Configuration

You'll need to edit the following file to tell the system which display manager to use, and to ensure that dbus is started prior to lightdm. Lightdm will crash if dbus is not running. Change the xdm file to the following:

   /etc/conf.d/xdm - xdm configuration to use lightdm
DISPLAYMANAGER="lightdm"
rc_need="dbus"


It may be necessary to edit /etc/lightdm/lightdm.conf to modify the greeter-session and user-session. These settings may not be set or may be set to gnome by default:

root # nano /etc/lightdm/lightdm.conf

The file contains numerous settings that are disabled by the # symbol. Here is an example file with basic settings for XFCE4 sessions:

   /etc/lightdm/lightdm.conf - lightdm.conf example configuration for XFCE4
[LightDM]

greeter-session = lightdm-webkit-greeter

[Seat:*]

greeter-session=lightdm-webkit-greeter
user-session=xfce
session-wrapper=/etc/lightdm/Xsession

The greeter determines which theme to use by looking at /etc/lightdm/lightdm-webkit-greeter.conf. The default contents probably look like this:

   /etc/lightdm/lightdm-webkit-greeter.conf - webkit greeter chooses it's theme using these settings
#
# webkit-theme: which theme should be used
#
[greeter]
webkit-theme=webkit

This example file is pointing to webkit theme which is installed by default at /usr/share/lightdm-webkit/themes/webkit Look there for a file called index.theme and edit it as needed:

root # nano /usr/share/lightdm-webkit/themes/webkit/index.theme

Here is an example for an XFCE4 setup:

   /usr/share/lightdm-webkit/themes/webkit/index.theme - A sample theme setting
[theme]
name=WebKit
description=WebKit Theme
engine=lightdm-webkit-greeter
url=index.html
session=xfce

/usr/share/lightdm-webkit/themes is the default location for all webkit-greeter themes.