You are not logged in.

#1 2008-01-15 23:47:20

xd-0
Member
From: Sweden
Registered: 2007-11-02
Posts: 327
Website

urxvt and background image

Can't set a background image in urxvt with the -pixmap option. I get this error:

urxvt: "pixmap": unknown or malformed option

I have tried dfferent images as well.

Offline

#2 2008-01-15 23:49:05

xd-0
Member
From: Sweden
Registered: 2007-11-02
Posts: 327
Website

Re: urxvt and background image

The error message also displays urxvt usage, that displays what seem to be all the options, and -pixmap is not listed there, even thought the man page mentions it.

edit:
I have also tried aterm with the same result.

Last edited by xd-0 (2008-01-15 23:51:10)

Offline

#3 2008-01-15 23:50:33

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: urxvt and background image

It looks like it needs urxvt compiled with "afterImage" support from the man page. Post a bug report, seems easy enough to fix.

Offline

#4 2008-01-15 23:53:53

xd-0
Member
From: Sweden
Registered: 2007-11-02
Posts: 327
Website

Re: urxvt and background image

Ok, thanks smile
I'll edit the PKGBUILD in abs and try it.

Offline

#5 2008-01-16 00:02:54

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: urxvt and background image

Discussed (briefly) here: http://bugs.archlinux.org/task/8837

I've rebuilt mine against libafterimage, and it works as expected.

Offline

#6 2008-01-16 00:11:08

xd-0
Member
From: Sweden
Registered: 2007-11-02
Posts: 327
Website

Re: urxvt and background image

Can't figure out how to rebuild using libafterimage, some help on the way?

Last edited by xd-0 (2008-01-16 00:14:53)

Offline

#7 2008-01-16 08:10:26

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: urxvt and background image

You need to build and install libafterimage first - here's a PKGBUILD:

pkgname=libafterimage
pkgver=1.15
pkgrel=1
pkgdesc="A generic image manipulation library"
arch=(i686)
url="http://www.afterstep.org/afterimage/index.php"
depends=('libsm' 'libxext' 'freetype2' 'libpng' 'libtiff')
source=(ftp://ftp.afterstep.org/stable/libAfterImage/libAfterImage-$pkgver.tar.bz2\
        no_ldconfig.patch)

build() {
  cd $startdir/src/libAfterImage-$pkgver
  patch -Np0 -i ../no_ldconfig.patch || return 1
  ./configure --prefix=/usr --enable-sharedlibs --with-x \
  --without-svg --without-afterbase
  make || return 1
  make DESTDIR=$startdir/pkg install
}
md5sums=('cac9f813e104f90d63fced6123d54a13'
         'f89da03cc8a464fa8a19ef1b720ad829')

Then adjust urxvt's build options according to the 'README.configure' file included in the source.

Offline

#8 2008-01-16 08:40:09

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: urxvt and background image

Oh yeah.. the patch smile

--- Makefile.in.orig    2007-11-05 21:46:48.000000000 +0000
+++ Makefile.in 2007-11-05 21:51:18.000000000 +0000
@@ -176,8 +176,10 @@
                     echo "Unable to find $(LIBDIR) in ld.so.conf. In order to use "; \
                     echo "$(LIB_SHARED), you may need to add it or set LD_LIBRARY_PATH."; \
                   fi; \
-                  echo "$(LDCONFIG)"; \
-                  $(LDCONFIG); \
+                   if test -w /etc; then \
+                       echo "$(LDCONFIG)"; \
+                       $(LDCONFIG); \
+                   fi; \
                 fi \
                )

Offline

#9 2008-01-16 12:22:27

xd-0
Member
From: Sweden
Registered: 2007-11-02
Posts: 327
Website

Re: urxvt and background image

It fails when I try to build the package. I added the PKGBUILD for libafterimage. Added the patch in the same directory, and added the correct md5 sum in the packagebuild (it was the wrong one for the patch file). But when I run makekg -csi I get the following:


Making package: libafterimage 1.15-1  (Wed Jan 16 13:19:13 PST 2008)
==> WARNING: Running makepkg as root...
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
  -> Found libAfterImage-1.15.tar.bz2 in build dir
  -> Found no_ldconfig.patch in build dir
==> Validating source files with md5sums...
    libAfterImage-1.15.tar.bz2 ... Passed
    no_ldconfig.patch ... Passed
==> Extracting Sources...
  -> bsdtar -x -f libAfterImage-1.15.tar.bz2
==> Starting build()...
patching file Makefile.in
Hunk #1 FAILED at 176.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.in.rej
==> ERROR: Build Failed.
    Aborting...

Last edited by xd-0 (2008-01-16 13:55:27)

Offline

#10 2008-01-16 17:04:25

xd-0
Member
From: Sweden
Registered: 2007-11-02
Posts: 327
Website

Re: urxvt and background image

Removed the patch from libafterimage, and then rebuilt the package. Then built xurvt-unicode with afterimage support and it works fine smile
Thanks for all the help.

Offline

#11 2008-10-31 08:43:13

edenxavier
Member
Registered: 2008-03-02
Posts: 35

Re: urxvt and background image

Just wanted to add even though I have a new version of urxvt 256 color w/ fontfix, I couldn't use the pixmap option from the cli as well.  However, installing libafterimage 1.15 from the unsupported AUR repo is all it took to fix it.  No patching needed.

Offline

#12 2008-11-14 05:59:21

scotti
Member
Registered: 2008-02-26
Posts: 41

Re: urxvt and background image

I installed libafterimage and rxvt-unicode-afterimage from AUR. I can set an icon with $ urxvt -icon "/path/to/icon" and it works great. smile
I was wondering is it possible to set the icon path in Xdefaults? urxvt*icon: "/path/to/icon" doesn't work.

Last edited by scotti (2008-11-14 06:00:06)

Offline

#13 2010-06-05 00:27:53

CosineQuaNon
Member
Registered: 2010-05-23
Posts: 28

Re: urxvt and background image

Could someone please update the PKGBUILD for rxvt-unicode-afterimage? I'm trying to build URxvt with libafterimage, but I'm afraid I don't know much about writing/editing PKGBUILDs.

Last edited by CosineQuaNon (2010-06-05 00:28:03)

Offline

#14 2010-06-05 06:53:40

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: urxvt and background image

Read the comments on the package's AUR page - another user has updated it.

This thread is over 18 months old, so I'm closing it.

Offline

Board footer

Powered by FluxBB