mrozekma/alock

bg image doesn't work

Closed this issue · 3 comments

i want set up image, but got this prob:

serg_sk@Elvenhome ~ $ alock -auth passwd -bg
image:file=/home/serg_sk/PHOTO/Wallpapers/D_R_W_by_mutze.png
X Error of failed request:  BadColor (invalid Colormap parameter)
  Major opcode of failed request:  85 (X_AllocNamedColor)
  Resource id in failed request:  0x0
  Serial number of failed request:  42
  Current serial number in output stream:  42

with jpg images the same.
imlib2 compiled with png support.
[ebuild   R   ] media-libs/imlib2-1.2.1.009  USE="X gif jpeg mmx mp3 nls
png zlib -bzip2 -doc -tiff" 0 kB 

Elvenhome bin # ldd alock 
    linux-gate.so.1 =>  (0xffffe000)
    libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb7f51000)
    libX11.so.6 => /usr/lib/libX11.so.6 (0xb7e63000)
    libpam.so.0 => /lib/libpam.so.0 (0xb7e5b000)
    libpam_misc.so.0 => /lib/libpam_misc.so.0 (0xb7e58000)
    libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7e2a000)
    libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb7e21000)
    libImlib2.so.1 => /usr/lib/libImlib2.so.1 (0xb7db3000)
    libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb7d44000)
    libz.so.1 => /lib/libz.so.1 (0xb7d32000)
    libXext.so.6 => /usr/lib/libXext.so.6 (0xb7d24000)
    libdl.so.2 => /lib/libdl.so.2 (0xb7d20000)
    libm.so.6 => /lib/libm.so.6 (0xb7cfb000)
    libXpm.so.4 => /usr/lib/libXpm.so.4 (0xb7cea000)
    libc.so.6 => /lib/libc.so.6 (0xb7bcc000)
    libXau.so.6 => /usr/lib/libXau.so.6 (0xb7bc9000)
    libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb7bc4000)
    libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb7bbf000)
    /lib/ld-linux.so.2 (0xb7f72000)

Original issue reported on code.google.com by Wise...@gmail.com on 25 Sep 2006 at 6:54

Original comment by mathias....@gmail.com on 25 Sep 2006 at 8:13

  • Changed state: Accepted

Original comment by mathias....@gmail.com on 25 Sep 2006 at 8:14

  • Changed state: Started
fixed in rev. 59. mistake was based on a wrong loop statement or better,
determination check

Original comment by mathias....@gmail.com on 25 Sep 2006 at 9:16

  • Changed state: Fixed