[LightDM] where to place css for theming gtk greeter

Gabriele Bulfon gabriele.bulfon at sonicle.com
Wed Apr 2 09:12:00 PDT 2014


Thanks, I could make it bigger by myself.
Reason is that the main login window now is transparent, and contains a background png that must
fit with the remaining components.
I could trim padding to let it fit correctly ;)
Now I'm stuck with just a couple of things.
1.
icons on top for shutdown etc. are too small, how can I resize them?
2.
looking for a way to enable shutdown, looks like gbus is telling lightdm it can not. Any clue?
Lightdm now starts as the specific lightdm user, how would you enable this user for dbus to let him
shutdown on Linux? Consider I'm on illumos (Solaris 11) :)
----------------------------------------------------------------------------------
Da: Simon Steinbeiß
A: lightdm at lists.freedesktop.org
Data: 2 aprile 2014 17.43.37 CEST
Oggetto: Re: [LightDM] where to place css for theming gtk greeter
Good to hear it works for you now.
There is no good way (=config option) to hide the user-avatar right now, unless you wanna create a separate icon theme holding an empty "avatar-default" icon. I haven't tried, but that could work.
What do you refer to with "login panel"? The window that holds the avatar, username and password-entry or the "panel" at the top of the screen? And in what sense bigger?
Cheers
Simon
On Wed, 2 Apr 2014 14:43:23 +0200 (CEST)
Gabriele Bulfon
wrote:
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
_______________________________________________
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/a604fc34/attachment-0001.html>


More information about the LightDM mailing list