注意:

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

Difference between revisions of "Package:Lightdm-webkit-greeter"

From Funtoo
Jump to navigation Jump to search
m (Removed maintainer since the link is broken)
 
(4 intermediate revisions by 2 users not shown)
Line 2: Line 2:
|Summary=A greeter for LightDM that uses web technologies through webkit for theming.
|Summary=A greeter for LightDM that uses web technologies through webkit for theming.
|CatPkg=x11-misc/lightdm-webkit-greeter
|CatPkg=x11-misc/lightdm-webkit-greeter
|Maintainer=Bruno Henc
|Homepage=https://launchpad.net/lightdm-webkit-greeter https://code.gnuardo.com/gerardo/overlay
|Homepage=https://launchpad.net/lightdm-webkit-greeter
}}
}}
Lightdm-webkit-greeter is a greeter for lightdm that allows the use of web technologies such as HTML, CSS, and Javascript for the theming and functionality.   
Lightdm-webkit-greeter is a greeter for {{package|x11-misc/lightdm}} that allows the use of web technologies such as HTML, CSS, and Javascript for the theming and functionality.   


=== Installation ===
=== Installation ===
Line 44: Line 43:


The greeter determines which theme to use by looking at <code>/etc/lightdm/lightdm-webkit-greeter.conf</code>. The default contents probably look like this:
The greeter determines which theme to use by looking at <code>/etc/lightdm/lightdm-webkit-greeter.conf</code>. The default contents probably look like this:
{{file|/etc/lightdm/lightdm-webkit-greeter.conf|lang=|desc=webkit greeter chooses it's theme using these settings |body=
{{file|name=/etc/lightdm/lightdm-webkit-greeter.conf|lang=|desc=webkit greeter chooses it's theme using these settings |body=
#
#
# webkit-theme: which theme should be used
# webkit-theme: which theme should be used
Line 58: Line 57:


Here is an example for an XFCE4 setup:
Here is an example for an XFCE4 setup:
{{file|/usr/share/lightdm-webkit/themes/webkit/index.theme|lang=|desc=A sample theme setting |body=
{{file|name=/usr/share/lightdm-webkit/themes/webkit/index.theme|lang=|desc=A sample theme setting |body=
[theme]
[theme]
name=WebKit
name=WebKit

Latest revision as of 21:34, February 6, 2017

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.