From owner-freebsd-questions@FreeBSD.ORG Tue Oct 14 13:32:39 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 48A37101 for ; Tue, 14 Oct 2014 13:32:39 +0000 (UTC) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0D1E8D83 for ; Tue, 14 Oct 2014 13:32:38 +0000 (UTC) Received: from r56.edvax.de (port-92-195-30-92.dynamic.qsc.de [92.195.30.92]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id B9A34277C9; Tue, 14 Oct 2014 15:32:29 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id s9EDWS3C001966; Tue, 14 Oct 2014 15:32:29 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 14 Oct 2014 15:32:28 +0200 From: Polytropon To: "William A. Mahaffey III" Subject: Re: seejpeg question .... Message-Id: <20141014153228.c78b356e.freebsd@edvax.de> In-Reply-To: <543D1E72.6050105@hiwaay.net> References: <543D1E72.6050105@hiwaay.net> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions !!!! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2014 13:32:39 -0000 On Tue, 14 Oct 2014 08:00:34 -0500, William A. Mahaffey III wrote: > [wam@kabini1, ~, 7:53:53am] 530 % seejpeg Desktop/raspberry-pi-netbsd.jpg > You must be the owner of the current console to use svgalib. > Not running in a graphics capable console, > and unable to find one. > svgalib: ark: Assuming normal VGA DAC. > You must be the owner of the current console to use svgalib. > Not running in a graphics capable console, > and unable to find one. > svgalib: can't open /dev/console > [wam@kabini1, ~, 7:54:06am] 531 % uname -a > FreeBSD kabini1.local 9.3-RELEASE FreeBSD 9.3-RELEASE #0 r268512: Thu > Jul 10 23:44:39 UTC 2014 > root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 > [wam@kabini1, ~, 7:58:32am] 532 % > > > Obviously a nogo. It wasn't installed as an option under XFCE to view > that file when I double-clicked on it ... What do I need to do to get > this program to work for me, either under XFCE or from CLI (tcsh under > rxvt from XFCE) ? Several things: First, this program is using svgalib, which means it allows graphics display without X, or to say it in a different way: This is an image viewer for the console. But svgalib isn't fully supported on FreeBSD. This program is _not_ an X program. It won't work the way you assume. Second: If you use XFCE (all capitals), one might get the impression that you're refering to the CDE-lookalike XFCE 3. The new Xfce desktop (version 4) uses a capital X, and then just fce in lowercase. :-) If you're searching for a simple image viewer, try xzgv. You can use it as a standalone program or call it from a desktop association (i. e., for supported image file formats). You could also try xv (very popular) and "display" (part of the ImageMagic port). But with Xfce, you already probably have half of Gnome installed, so you could also check out eog. ;-) Personally, I like xzgv, and I have it associated with image types to "start" them from within the Midnight Commander (just press ENTER on an image, and it will be displayed, scaled to the window size properly). Example: interactively browse a directory in fullscreen: % xzgv -tzf ~/cam/2014-10-01/ Only show one image: % xzgv -z /tmp/someimage.jpg Browse specified images: % xzgv -tz /scratch/test/bla*jpg my_*_nose.png bla.gif This viewer has nice keyboard and mouse support, its older versions (last usable version: 0.8_9) can also dynamically adjust brightness, contrast and other image properties. It can rotate and zoom. It also supports thumbnails. See if you like it. Just a suggestion. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...