Xfce uses a little shell snippet to guess what your screen locker is. The rest of the xfce menus, buttons, applets, etc. call that script to lock the screen. The script has support for a number of screen lockers, but it's missing support for alock. I just added it as a fallback option and it works fine. It shouldn't interfere with any of the others, since alock would be used only as a last resort. It just requires pam, which should be ok I guess. Reproducible: Always Actual Results: If your only screen locker is alock, then the xfce applets and menu options to lock the screen don't work, despite the fact that they are clickable. Expected Results: These should work with all the screen lockers, if possible.
Created attachment 370464 [details, diff] Patch to add alock support to xflock4
Created attachment 370466 [details] Patched 4.10.0-r1 ebuild
Created attachment 370468 [details] Patched 4.10.1 ebuild
Report this to http://bugzilla.xfce.org/ and add the link here to See Also: field We don't have *any* patches in Portage for Xfce that haven't been submitted to upstream, and if they reject, we also drop. Thanks.
I did a few days ago. I haven't received any answer though. https://bugzilla.xfce.org/show_bug.cgi?id=10679
(In reply to Jesús Guerrero from comment #5) > I did a few days ago. I haven't received any answer though. > > https://bugzilla.xfce.org/show_bug.cgi?id=10679 That's OK, important part is that we need to have link to upstream bugzilla in the patch header for the record, so Gentoo's Xfce doesn't resemble the unmaintainable spagetti eg. Ubuntu's version is ;-)
added to xfce4-session-4.10.1-r1. let's hope upstream will accept it, otherwise I can't guarantee 4.12+ will have it
had to make the dependency x11-misc/alock[pam] due to the -auth pam argument used. no way to make the locker work with and without pam at the same time?
I guess the sanest we can get is alock -auth passwd || alock -auth pam Or maybe reversing it, it depends on how alock will behave on a system without pam and which one you prefer over the other auth method. I haven't a pam-less system, so I can't test it.