[openbox] Feh Borderless - Anyone Achieved This In Openbox?

Brian Mattern rephorm at rephorm.com
Sat Jul 27 12:11:52 EDT 2013


No. Feh uses the term borderless in the fashion Das interpreted it as.
The issue appears to be with the offical arch package, and -x works as
expected if I rebuild feh using /var/abs/extra/feh/PKGBUILD. (I believe
that both Das and Jim use arch. Correct me if this is not the case.)

Using "xprop _MOTIF_WM_HINTS" and then clicking on various feh windows I
get:

Without -x:
  _MOTIF_WM_HINTS:  not found

With -x, official package:
  _MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x2, 0x0, 0x2d82a9d8, 0xf60ac4c8, 0x1

With -x, rebuilt package :
  _MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x2, 0x0, 0x0, 0x7f800358, 0x0

From feh's source, the first number (0x2) is the "flags", which
indicates that the "decorations" item is set. The corresponding value is
the third entry, which the code sets to 0x0. I don't know why it is
corrupted with the official package (the 0x2d82... value).

I've attached the PKGBUILD if you don't have and don't want to pull down
the full abs tree.

I will forward the information above to the arch package maintainer.

Brian

On Sat, 27 Jul 2013, Jim Rees wrote:

> I'm not sure what the "-x" option is supposed to do, but I don't think it
> has anything to do with window borders. The feh man page seems to use the
> term "border" to mean space between the photo and the edge of the window,
> not the window border, which surrounds the window.
> _______________________________________________
> openbox mailing list
> openbox at icculus.org
> http://icculus.org/mailman/listinfo/openbox
-------------- next part --------------
# $Id: PKGBUILD 188169 2013-06-11 11:59:02Z bisson $
# Maintainer: Gaetan Bisson <bisson at archlinux.org>
# Contributor: Andrea Scarpino <andrea at archlinux.org>
# Contributor: dorphell <dorphell at archlinux.org>
# Contributor: Tom Newsom <Jeepster at gmx.co.uk>

pkgname=feh
pkgver=2.9.3
pkgrel=1
pkgdesc='Fast and light imlib2-based image viewer'
url='http://feh.finalrewind.org/'
license=('custom:MIT')
arch=('i686' 'x86_64')
depends=('giblib' 'curl' 'libxinerama' 'libexif')
optdepends=('perl: feh-cam, webcam wrapper for feh'
            'imagemagick: support more file formats')
makedepends=('libxt')
source=("${url}${pkgname}-${pkgver}.tar.bz2"{,.asc})
sha1sums=('6e93c9bbc339d36002ead189d0a94880f58876bd' 'SKIP')

build() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	make PREFIX=/usr exif=1 help=1 stat64=1
}

package() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	make PREFIX=/usr DESTDIR="${pkgdir}" install
	install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}


More information about the openbox mailing list