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:
/usr/share/lxdm/themes/MyTheme.
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.)
images/
<all image files used in gtkrc or greeter.ui>
in /etc/lxdm/lxdm.conf, you specify the theme to use by:
[display]
theme=MyTheme
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. :-)
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Lxde-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxde-list