From 00f3e5ef30ff084c3687bb5f9f7e0d3855cd45a9 Mon Sep 17 00:00:00 2001 From: Julien Lavergne Date: Mon, 7 Nov 2011 11:23:34 +0100 Subject: [PATCH] * Add a theme for lightdm (taking from Xubuntu, thanks Lionel Le Folgoc). * Add etc/xdg/lubuntu/lightdm/lightdm-gtk-greeter.conf * debian/{postinst,prerm}: install/remove alternatives to use our config as /etc/lightdm/lightdm-gtk-greeter.conf. * debian/control: - add depends on lightdm-gtk-greeter >= 1.0.0-0ubuntu2. - provides lightdm-gtk-greeter-config. --- debian/changelog | 12 ++++++++++++ debian/control | 2 ++ debian/postinst | 5 ++++- debian/prerm | 4 +++- .../lubuntu/lightdm/lightdm-gtk-greeter.conf | 18 ++++++++++++++++++ 5 files changed, 39 insertions(+), 2 deletions(-) create mode 100644 etc/xdg/lubuntu/lightdm/lightdm-gtk-greeter.conf diff --git a/debian/changelog b/debian/changelog index 93a804e..d6cc28a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,15 @@ +lubuntu-default-settings (0.22) UNRELEASED; urgency=low + + * Add a theme for lightdm (taking from Xubuntu, thanks Lionel Le Folgoc). + * Add etc/xdg/lubuntu/lightdm/lightdm-gtk-greeter.conf + * debian/{postinst,prerm}: install/remove alternatives to use our config + as /etc/lightdm/lightdm-gtk-greeter.conf. + * debian/control: + - add depends on lightdm-gtk-greeter >= 1.0.0-0ubuntu2. + - provides lightdm-gtk-greeter-config. + + -- Julien Lavergne Mon, 07 Nov 2011 11:13:23 +0100 + lubuntu-default-settings (0.21) oneiric; urgency=low * debian/postinst,debian/postrm: set Lubuntu as the default session and diff --git a/debian/control b/debian/control index 24598a7..825e4c5 100644 --- a/debian/control +++ b/debian/control @@ -17,8 +17,10 @@ Depends: ${misc:Depends}, lubuntu-icon-theme, pcmanfm (>= 0.9.5), ttf-ubuntu-font-family, + lightdm-gtk-greeter (>= 1.0.0-0ubuntu2) Recommends: amixer, scrot, galculator +Provides: lightdm-gtk-greeter-config Description: default settings for Lubuntu Various system settings tailored for Lubuntu. diff --git a/debian/postinst b/debian/postinst index 77afd31..b992716 100644 --- a/debian/postinst +++ b/debian/postinst @@ -14,9 +14,12 @@ if dpkg-maintscript-helper supports mv_conffile 2>/dev/null; then dpkg-maintscript-helper mv_conffile /etc/xdg/pcmanfm/lubuntu.conf /etc/xdg/pcmanfm/lubuntu/pcmanfm.conf 0.15 -- "$@" fi -if [ "$1" = configure ]; then +if [ "$1" = "configure" ] ; then update-alternatives --install /etc/lxdm/default.conf \ lxdm.conf /etc/xdg/lubuntu/lxdm/lxdm.conf 60 + update-alternatives --install /etc/lightdm/lightdm-gtk-greeter.conf \ + lightdm-gtk-greeter-config-derivative \ + /etc/xdg/lubuntu/lightdm/lightdm-gtk-greeter.conf 30 fi case "$1" in diff --git a/debian/prerm b/debian/prerm index 4a9bf9b..1466ea8 100644 --- a/debian/prerm +++ b/debian/prerm @@ -3,7 +3,9 @@ set -e if [ "$1" = "remove" ] ; then - update-alternatives --remove lxdm.conf /etc/xdg/lubuntu/lxdm/lxdm.conf + update-alternatives --remove lxdm.conf /etc/xdg/lubuntu/lxdm/lxdm.conf + update-alternatives --remove lightdm-gtk-greeter-config-derivative \ + /etc/xdg/xdg-xubuntu/lightdm/lightdm-gtk-greeter.conf fi #DEBHELPER# diff --git a/etc/xdg/lubuntu/lightdm/lightdm-gtk-greeter.conf b/etc/xdg/lubuntu/lightdm/lightdm-gtk-greeter.conf new file mode 100644 index 0000000..0c451a6 --- /dev/null +++ b/etc/xdg/lubuntu/lightdm/lightdm-gtk-greeter.conf @@ -0,0 +1,18 @@ +# +# background = Background file to use, either an image path or a color (e.g. #772953) +# theme-name = GTK+ theme to use +# font-name = Font to use +# xft-antialias = Whether to antialias Xft fonts (true or false) +# xft-dpi = Resolution for Xft in dots per inch (e.g. 96) +# xft-hintstyle = What degree of hinting to use (hintnone, hintslight, hintmedium, or hintfull) +# xft-rgba = Type of subpixel antialiasing (none, rgb, bgr, vrgb or vbgr) +# +[greeter] +background=/usr/share/lubuntu/wallpapers/lubuntu-default-wallpaper.png +#show-language-selector=false +theme-name=Lubuntu +#font-name= +xft-antialias=true +#xft-dpi= +xft-hintstyle=hintfull +xft-rgba=rgb