[LightDM] where to place css for theming gtk greeter
Gabriele Bulfon
gabriele.bulfon at sonicle.com
Wed Apr 2 05:43:23 PDT 2014
Thanks so much,
your words led me to the resolution: now I have my own theme with the css read properly.
It was just a matter of having the gtk.css load my own.
Do you have clues to customize the css to:
- remove the login image completely
- resize the login panel, I need it larger to fit the a login background
thanks!
Gabriele.
----------------------------------------------------------------------------------
Da: Simon Steinbeiß
A: lightdm at lists.freedesktop.org
Data: 2 aprile 2014 12.12.05 CEST
Oggetto: Re: [LightDM] where to place css for theming gtk greeter
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
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.
_______________________________________________
LightDM mailing list
LightDM at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/lightdm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/lightdm/attachments/20140402/698f24f2/attachment.html>
More information about the LightDM
mailing list