Package Details: alock-git 2.4.0-1

Git Clone URL: (read-only)
Package Base: alock-git
Description: Simple transparent screen-lock
Upstream URL:
Licenses: MIT
Conflicts: alock-svn
Submitter: tazjin
Maintainer: bidulock
Last Packager: bidulock
Votes: 40
Popularity: 0.001216
First Submitted: 2014-03-13 22:52
Last Updated: 2018-11-21 00:24

Dependencies (9)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

pit commented on 2018-11-22 14:17

Thanks for updating :)

BTW. following line is no longer necessary:

sed -i -e 's,"login","system-auth",' src/auth_pam.c

since 'system-auth' is now the default PAM module used by 'alock'.

Rhinoceros commented on 2017-09-29 05:49

Please update the homepage to . Currently it is set as the dead Google Code Archive. Further, the Google page is for the "old" alock version by mgumz, not the Arkq fork that is installed by this PKGBUILD.

lastmikoi commented on 2017-01-20 12:53

I've stumbled upon some errors when using alock with the pam mechanism:

pam_tally(login:auth): Error opening /var/log/faillog for update
pam_tally(login:auth): Error opening /var/log/faillog for read

Those errors don't seem to impact any functionality but for the sake of fixing it I've found a similar bug report:

Said bug report eventually helped me find a fix, which consists of patching the auth_pam.c file:

diff --git a/src/auth_pam.c b/src/auth_pam.c
index e7d2a11..36f32ee 100644
--- a/src/auth_pam.c
+++ b/src/auth_pam.c
@@ -88,7 +88,7 @@ static int module_authenticate(const char *pass) {
int retval;

password = pass;
- retval = pam_start("login", username, &conv, &pam_handle);
+ retval = pam_start("system-auth", username, &conv, &pam_handle);

if (retval == PAM_SUCCESS)
retval = pam_set_item(pam_handle, PAM_TTY, ttyname(0));

I'll report this issue upstream as well, but since other distributions fix this issue in their package building I figured it would be worth fixing in the AUR package.

punk0x29a commented on 2016-05-22 20:26

repository moved to

build() {
cd "$srcdir/alock"
autoreconf --install
# upstream bug: Configure ignores --prefix option
./configure --enable-pam --enable-hash --enable-xrender --enable-imlib2 \
--with-dunst --with-xbacklight

I'm not sure about this git link now, but shows up.
Also, Arqk version likes to segfault...

lastmikoi commented on 2015-08-12 12:08

Dammit, I've just read the older comments, I completely forgot about the issue it caused a year ago.

Anyway, I've been using this fix for some months now and it would seem that the aforementioned issue with imlib2 has been fixed upstream.

lastmikoi commented on 2015-08-12 12:06


Would it be possible to add '--with-imlib2' to the './configure' call ? Or would that require creating and maintaining another 'alock' package ?

Adding this flag (and adding the extra/imlib2 dependency) would allow using an image as a screen lock wallpaper (-bg argument)

Have a good day,

tazjin commented on 2015-05-13 19:46

Package updated again, builds & works fine as of 2015-05-13

lastmikoi commented on 2015-02-12 08:43

Flagging as out-of-date as building fails if the "xmlto" package isn't installed.

xmlto man alock.xml
make: xmlto: Command not found
GNUmakefile:85: recipe for target 'alock.1' failed

Have a good day,

haawda commented on 2014-12-26 23:12

This package should be reuploaded as "alock", because it does not pull from an svn-repo. Upstream uses git.

bidulock commented on 2014-07-22 14:39

$ namcap alock-git-r91.09d2ad2-2-i686.pkg.tar.xz
alock-git E: Missing custom license directory (usr/share/licenses/alock-git)
alock-git E: Dependency libxxf86misc detected and not included (libraries ['usr/lib/'] needed in files ['usr/bin/alock'])