As dgod released lxdm, I have some ideas about it related to theming support.
The format of theme can be like this:
A theme dir installed under /usr/share/lxdm/themes/
For example, if a theme is named "MyTheme", there should be a theme dir at:
and in the theme dir, here is the file layout:
MyTheme/ (top theme dir)
index.theme (an ini file provides human readable detailed
information about the theme, like author, copyright info, license,...)
gtkrc (a custom gtk rc file which will be loaded by lxdm to theme its UI)
greeter.ui (optional, a GtkBuilder format xml file describing the
UI of greeter. If this file doesn't exist, the default one installed
by lxdm is used.)
<all image files used in gtkrc or greeter.ui>
in /etc/lxdm/lxdm.conf, you specify the theme to use by:
And about the gtk rc, it can define the appearance of all GUI elements
on the greeter window defined in greeter.ui.
Every UI component on the greeter window should have their widget name
set with gtk_widget_set_name, so applying a style to specific UI
element is quite easy.
When more customized look and feel is needed, using "pixmap" gtk+
engine you can draw all of the elements with custom image files.
This can be quite flexible and only require very minimal changes in
lxdm. The greeter only needs to load a gtkrc file with gtk_rc_parse,
and all things are done.
I'm planning to add this to lxdm, is there any objection? Any comment?
To make this real, we need people who is familar with gtkrc format.
Maybe some artwork guy from Lubuntu project can help?
Help is needed. At least we can ship a set of default theme in lxdm.
The default blue background is ugly. :-)