VSIDO Community

VSIDO Support => General Support => Topic started by: damo on May 06, 2013, 10:57:01 PM

Title: lightdm - where is the gtk config?
Post by: damo on May 06, 2013, 10:57:01 PM
I was hoping to change the appearance of the lightdm login theme, and afaik the config should be in /usr/share/lightdm-gtk-greeter/greeter.ui. The only one I can find is at /lib/live/mount/rootfs/filesystem.squashfs/usr/share/lightdm-gtk-greeter/greeter.ui, which I'm guessing isn't the right one?

Any suggestions as to where the gtk config is kept?

I find the default theme quite ugly and was hoping to produce something a bit more like my simple SLiM theme:

(https://dl.dropboxusercontent.com/u/53293420/slim-themes/flame-ring-2-scrot-th.jpg) (https://dl.dropboxusercontent.com/u/53293420/slim-themes/flame-ring-2-scrot.jpg)
Title: Re: lightdm - where is the gtk config?
Post by: Sector11 on May 06, 2013, 11:06:34 PM
/etc/lightdm/keys.conf
/etc/lightdm/lightdm.conf
/etc/lightdm/lightdm.conf.dpkg-dist
/etc/lightdm/lightdm-gtk-greeter.conf
/etc/lightdm/lightdm-gtk-greeter.conf.dpkg-dist
/etc/lightdm/users.conf

Title: Re: lightdm - where is the gtk config?
Post by: VastOne on May 06, 2013, 11:25:04 PM
The ArchWiki (https://wiki.archlinux.org/index.php/LightDM) has good info on all of LightDM

This page at TuxGarage (http://www.tuxgarage.com/2011/10/customizing-appearance-of-lightdm.html) has good info on changing the theme, although pretty basic

Ubuntu uses LightDM and their forum is full of themes and advice if you can stand going there
Title: Re: lightdm - where is the gtk config?
Post by: damo on May 06, 2013, 11:48:26 PM
Thanks for the quick response guys :)

@Sector11
yes, I know all those, but they don't have the gtk layout

@VastOne
I've been through the buntu and arch wikis and the tweaks are very general. I'd like to get at the gtk code, which I believe is in a greeter.ui, as described here (http://www.mattfischer.com/blog/?tag=lightdm).
Maybe I'll have to investigate their forums :(
Title: Re: lightdm - where is the gtk config?
Post by: VastOne on May 06, 2013, 11:55:56 PM
Seen this one (http://arcticdog.wordpress.com/2012/02/08/customising-the-lightdm-gtk-greeter/) damo?
Title: Re: lightdm - where is the gtk config?
Post by: damo on May 07, 2013, 12:23:12 AM
@VastOne
Yes - that's one of the places I got "/usr/share/lightdm-gtk-greeter/greeter.ui" from!
Title: Re: lightdm - where is the gtk config?
Post by: damo on May 09, 2013, 08:53:11 PM
FYI  The relevant gtk layout is in a glade file in the source code. I guess I'd have to rewrite the .glade and rebuild lightdm - not what I was anticipating!
Title: Re: lightdm - where is the gtk config?
Post by: ozitraveller on May 09, 2013, 10:48:25 PM
I looked at lightDm some time ago when ubuntu started using it and I thought there was a webkit greeter that used html and css, something like  lightdm-webkit-pretty-greeter. But at the time it wasn't implemented in Debian. I haven't looked recently so maybe it has now or will come now with all the new stuff coming into sid. I noticed some upgrades to lightDM a couple of days ago. I'd like to use it myself, as I can't see the point in writing/changing code to change the style! :)
Title: Re: lightdm - where is the gtk config?
Post by: damo on May 09, 2013, 11:15:33 PM
@ozitraveller

Looks like all the Debian sources still have only the lightdm-gtk-greeter
Title: Re: lightdm - where is the gtk config?
Post by: ozitraveller on May 10, 2013, 04:51:41 AM
@damo that's a shame really, I was hoping to make lightDM look better.

https://launchpad.net/lightdm-webkit-greeter (https://launchpad.net/lightdm-webkit-greeter)

http://askubuntu.com/questions/69151/how-do-i-set-my-own-html-theme-in-lightdm (http://askubuntu.com/questions/69151/how-do-i-set-my-own-html-theme-in-lightdm)

http://forum.manjaro.org/index.php?topic=2788.0 (http://forum.manjaro.org/index.php?topic=2788.0)

https://github.com/jfbrazeau/lightdm-webkit-pretty-greeter (https://github.com/jfbrazeau/lightdm-webkit-pretty-greeter)

https://github.com/jfbrazeau/lightdm-webkit-pretty-greeter/blob/master/screenshot.jpg (https://github.com/jfbrazeau/lightdm-webkit-pretty-greeter/blob/master/screenshot.jpg)