[LightDM] where to place css for theming gtk greeter

Simon Steinbeiß simon at xfce.org
Wed Apr 2 03:12:05 PDT 2014


Hey Gabriele,

with the release of lightdm-gtk-greeter 1.8 I added a template css file that should help you theme the greeter (http://bazaar.launchpad.net/~lightdm-gtk-greeter-team/lightdm-gtk-greeter/trunk/view/head:/data/sample-lightdm-gtk-greeter.css).
It has to be included in the gtk-theme you set in the greeter's config, as you described.

Without seeing how you included the css and what kind of css you used, it is very hard to help you out here. The problem could be anything from not having included properly the new css file from apps/ in your gtk.css to using wrong widget-names/classes for the greeter.

Cheers
Simon


On Wed, 2 Apr 2014 11:44:14 +0200 (CEST)
Gabriele Bulfon <gabriele.bulfon at sonicle.com> wrote:

> Hi,
> I'm trying to customize gtk greeter, to look more elegant than its default look.
> While I can change stuff in the greeter conf file, I can't see if it's taking theme files, expecially custom css.
> here is the conf:
> [greeter]
> background=/usr/share/backgrounds/sonicle-login.png
> theme-name=Adwaita
> icon-theme-name=nuoveXT2
> #font-name=
> xft-antialias=true
> xft-dpi=96
> xft-hintstyle=medium
> xft-rgba=rgb
> #show-language-selector=true
> #show-indicators=true
> show-clock=true
> clock-format=%H:%M:%S
> #keyboard=
> #position=
> #screensaver-timeout=
> So login is fine, icon theme is fine.
> I choose theme name from /usr/share/themes, have Adwaita inside, then gtk-3.0.
> Created an apps directory, and placed my css file there.
> This css file is never read.
> Also changing theme name with other I have inside /usr/share/themes, never change look.
> Where is it looking for themes and css?
> Gabriele.


More information about the LightDM mailing list