You are not logged in.
Hi all,
I just did a big system upgrade and now none of my urxvt windows have any background images! I use different background images for each system I am logged in to so there's no confusion about what machine I am working on.
Did something change? My ~/.Xresources file is still being loaded because the other settings like fonts and colour tweaks are still being applied, and the background image in .xpm format is still accessible and working.
I can't find any mention of this on Google or the forums, other than issues with .Xdefaults or .Xresources but in my case I have confirmed the .Xresources file is being read.
Does anyone know what would just cause this to stop working after a large system upgrade?
Offline
Something did change I believe. I think this may be related:
https://bugs.archlinux.org/task/34862
Read from post #2287 to #2294 and it should make sense
Offline
Ah yes indeed, thanks for the pointer. Someone else's gripe was fixed which has now caused a gripe for me.
I think they have a valid point though. You don't want all those dependencies pulled in if you're not going to use the functionality. But I really do need that functionality, and now it's gone :-(
It's a shame there's nothing similar to Gentoo's USE flags where you can pick which features you do/don't want, without having to resort to AUR and dealing with out-of-date PKGBUILDs.
Offline
You can recompile the repo package changing the options you want in the PKGBUILD like it used to be. There is no need to use aur for this one. After that if you wish you can add it to "IgnorePkg = " in /etc/pacman.conf That's what I do. Then when an update comes out and I get that warning message about package being ignored I make my edits to the PKGBUILD and source code as necessary before building and installing the newer version. The downside of this I guess would be needing to compile it yourself but I cannot imagine rxvt-unicode taking long to compile either way. I suppose another downside would be doing this with system critical packages or libraries but this package does not seem to fall into that category either.
Offline
Here is a working PKGBUILD for you:
# $Id: PKGBUILD 90167 2013-05-07 19:14:34Z seblu $
# Maintainer: Sébastien Luttringer
# Contributor: Angel Velasquez <angvp@archlinux.org>
# Contributor: tobias <tobias@archlinux.org>
# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
pkgname=rxvt-unicode
pkgver=9.18
pkgrel=3
pkgdesc='An unicode enabled rxvt-clone terminal emulator (urxvt)'
arch=('i686' 'x86_64')
url='http://software.schmorp.de/pkg/rxvt-unicode.html'
license=('GPL')
depends=('libxft' 'perl' 'startup-notification' 'gdk-pixbuf2')
optdepends=('gtk2-perl: to use the urxvt-tabbed')
source=(
"http://dist.schmorp.de/rxvt-unicode/$pkgname-$pkgver.tar.bz2"
'urxvt.desktop'
'urxvtc.desktop'
'urxvt-tabbed.desktop'
)
md5sums=('963ccc748fe5bca925e7b92c0404d68b'
'fec94dc986fa37ec380079d81de3e0b2'
'fac55f0a8404c86dad3e702146762332'
'8a5599197568c63720e282b9722a7990')
build() {
cd $pkgname-$pkgver
./configure \
--prefix=/usr \
--with-terminfo=/usr/share/terminfo \
--enable-256-color \
--enable-combining \
--enable-fading \
--enable-font-styles \
--enable-pixbuf \
--enable-iso14755 \
--enable-keepscrolling \
--enable-lastlog \
--enable-mousewheel \
--enable-next-scroll \
--enable-perl \
--enable-pointer-blank \
--enable-rxvt-scroll \
--enable-selectionscrolling \
--enable-slipwheeling \
--enable-smart-resize \
--enable-startup-notification \
--enable-transparency \
--enable-unicode3 \
--enable-utmp \
--enable-wtmp \
--enable-xft \
--enable-xim \
--enable-xterm-scroll \
--disable-frills
make
}
package() {
pushd $pkgname-$pkgver
# workaround terminfo installation
export TERMINFO="$pkgdir/usr/share/terminfo"
install -d "$TERMINFO"
make DESTDIR="$pkgdir" install
# install the tabbing wrapper ( requires gtk2-perl! )
sed -i 's/\"rxvt\"/"urxvt"/' doc/rxvt-tabbed
install -Dm 755 doc/rxvt-tabbed "$pkgdir/usr/bin/urxvt-tabbed"
popd
# install freedesktop menu
for _f in urxvt urxvtc urxvt-tabbed; do
install -Dm644 $_f.desktop "$pkgdir/usr/share/applications/$_f.desktop"
done
}
# vim:set ts=2 sw=2 et:
Took about makepkg 21.70s user 1.60s system 105% cpu 22.097 total to download and build on my system.
Last edited by dodo3773 (2013-05-26 02:51:51)
Offline
It's a shame there's nothing similar to Gentoo's USE flags where you can pick which features you do/don't want, without having to resort to AUR and dealing with out-of-date PKGBUILDs.
Offline
@dodo3773: Thanks for that! I had to remove --disable-pixbuf before I got my backgrounds back though.
@jasonwryan: Yes, similar to ABS, except Gentoo's system is much more integrated. ABS seems to use rsync to keep the local files up to date, but IMHO it would be better if it used a version control system like git. This would allow you to change the original PKGBUILD files (no need to make copies), and upstream updates (like version bumps) would be automatically merged in with your local changes (providing no direct conflicts occur.) It would also make it easier to revert changes like this one when there are problems. If you could then tie it in so that customised packages were automatically rebuilt after changes, and pacman would install those preferentially when using -Su, *then* it would be as good as Gentoo's USE flags ;-) (actually better because you wouldn't have to compile the 99% of software you aren't changing.)
Offline
Ah gotcha. Your welcome. I edited post for anyone else who comes across this issue / this thread.
Offline
ABS seems to use rsync to keep the local files up to date, but IMHO it would be better if it used a version control system like git
You can always clone the git repositories: https://projects.archlinux.org/svntogit/packages.git https://projects.archlinux.org/svntogit/community.git
or create a local repository from your abs copy, rsync the abs, then commit all modified files.
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Online