Package Details: lightdm-slick-greeter 1.2.4-2

Git Clone URL: https://aur.archlinux.org/lightdm-slick-greeter.git (read-only)
Package Base: lightdm-slick-greeter
Description: A slick-looking LightDM greeter
Upstream URL: https://github.com/linuxmint/slick-greeter
Licenses: GPL3
Submitter: Sam-Burgos
Maintainer: Sam-Burgos
Last Packager: Sam-Burgos
Votes: 30
Popularity: 2.017347
First Submitted: 2017-04-11 17:04
Last Updated: 2019-03-29 17:34

Pinned Comments

Sam-Burgos commented on 2017-04-16 23:12

A couple of things related to this package:

  • If you upgraded from version 1.2.1 to 1.2.2, check the /etc/lightdm.conf and replace the "slick-greeter" to "lightdm-slick-greeter" in line "greeter-session" (should be line 110 if not close to that line) since the change was not done automatically, newer installations shouldn't have that problem but I will check out; this should fix the issue of not loading the greeter while starting, you might have to do this via a terminal session (CTRL+ALT+F1-F6), after that, it should work as intended. My apologies on this particular issue

  • This is a fork of the unity-greeter on Ubuntu (lightdm-unity-greeter as it appears here on AUR) and many options on the PKGBUILD were copied and tested as much as possible from there, if you think that there is a different or better option for compiling, you can email me with some options and I will consider them before copying here.

  • Don't forget to manually make the change on the lightdm.conf file to use this greeter in case the installation doesn't make the change automatically (the name of the executable in the xsession folder it's called "lightdm-slick-greeter" with no quotes). You can check the LightDM article here on the wiki for more information

  • Although a fork of it, this package has nothing to do with the lightdm-unity-greeter, so please don't request to make this package a conflicting one with that (unity-greeter on AUR relies on a patched version of lightdm as well, which conflicts with the original lightdm), also I suggest you not to compile this package with the patched lightdm-ubuntu since I cannot guarantee that it may work

Latest Comments

1 2 Next › Last »

gaavin commented on 2019-03-29 17:46

@Sam-Burgos: Latest update fixes the problem, thank you!!!

Sam-Burgos commented on 2019-03-29 17:41

@gaavin @Magotchi: check if the upgrade fixes your problem, I have tested on my VM and for now it solves successfully (probably on my case I didn't have the issue on the first place because I already had lightdm-slick-greeter installed but I have to thank Mint for the package that affected other distros as well)

gaavin commented on 2019-03-28 20:20

Here is the .patch file required for this package to compile properly (Taken from this commit https://github.com/linuxmint/slick-greeter/commit/7f04f066a18b3f398f292846c4fc8cc837c678a3)

compile_new_vala.patch

@@ -72,7 +72,7 @@

         return_if_fail (children != null);

-        unowned List<Gtk.Widget> prev = children.last ().prev;
+        unowned List<weak Gtk.Widget> prev = children.last ().prev;
         if (prev != null)
             (prev.data as GreeterList).greeter_box.pop ();
     }

You may apply this patch by editing the PKGBUILD to include the .patch file

prepare() {
  cd ..
  #Allow compiling with newer versions of Vala
  patch -i compile_new_vala.patch src/${_pkgname}-${pkgver}/src/list-stack.vala

}

Sam-Burgos commented on 2019-03-18 15:48

@Magotchi: seems that this is an issue already found by upstream (check issue 123 on their Github page), this was already fixed by an already merged commit but it will take a while to make it to a newer version

Let me see if I can add this particular patch to it, but it would take a while since I have been a little bit busy at my work and I have to reinstall a newer VM to re-test this; so I can't promise to do this ASAP

Magotchi commented on 2019-03-18 14:19

As of this morning, after a full system upgrade of every other package, this fails to compile with 3 errors:

list-stack.vala:75.34-75.61: error: Assignment: Cannot convert from `GLib.List<weak Gtk.Widget>' to `GLib.List<Gtk.Widget>?'
        unowned List<Gtk.Widget> prev = children.last ().prev;
                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
list-stack.vala:76.13-76.16: error: The name `prev' does not exist in the context of `ListStack.pop'
        if (prev != null)
            ^^^^
list-stack.vala:77.14-77.17: error: The name `prev' does not exist in the context of `ListStack.pop'
            (prev.data as GreeterList).greeter_box.pop ();
             ^^^^

Strum355 commented on 2019-01-17 23:27

Unfortunately commenting out the two lines for mv didnt cause a working, even after copying the .desktop file to /etc/lightdm/lightdm-slick-greeter.conf as well as other files from a working installation, probably completely messed it up. did pacman -R lightdm-slick-greeter and did a reinstall with the edited snapshot but that also refused to work. Not sure where to go from here

Strum355 commented on 2019-01-16 21:23

@Sam-Burgos commented those two lines out and it installed fine, i dont have a .desktop file in any of the locations that i could find

Sam-Burgos commented on 2018-12-13 23:06

@Strum355: that's weird, I cannot reproduce your issue on my machine, what you can do as a workaround is to edit the PKGBUILD and comment lines 51 and 52, and after that you can manually rename the desktop file on usr/share/xgreeters to lightdm-slick-greeter.desktop. That is the only thing I can tell you to try and check if it works for you

Strum355 commented on 2018-12-09 20:41

Upgrading from 1.2.2-4 to 1.2.3-1 seems to fail when it tries to run package(), with the message: mv: cannot stat '/home/<username>/.cache/yay/lightdm-slick-greeter/pkg/lightdm-slick-greeter/usr/share/xgreeters/slick-greeter.desktop': No such file or directory

Same/similar happens with yaourt as well so its probably not a yay issue. Even if i try to touch the file, it appears to delete one of the folders further up the tree, so by the time it gets to package(), slick-greeter.desktop doesnt exist anymore

Magotchi commented on 2018-09-18 14:17

This currently fails to build with the latest vala package, but the bug is fixed in upstream, although it's not yet in a released version.