Mine worked this way, but the path must end with "/" in the
configuration tab:

At line 332:
      if    ($fn =~ m/\.gif/i)   { $cmd = "giftopnm < \"$imagedir$fn\""; }
      elsif ($fn =~ m/\.jpe?g/i) { $cmd = "djpeg < \"$imagedir$fn\""; }
      elsif ($fn =~ m/\.png/i)   { $cmd = "pngtopnm < \"$imagedir$fn\""; }
      elsif ($fn =~ m/\.xpm/i)   { $cmd = "xpmtoppm < \"$imagedir$fn\""; }
      elsif ($fn =~ m/\.bmp/i)   { $cmd = "bmptoppm < \"$imagedir$fn\""; }
      elsif ($fn =~ m/\.tiff?/i) { $cmd = "tifftopnm < \"$imagedir$fn\""; }
      elsif ($fn =~ m/\.p[bgp]m/i) { return `cat \"$imagedir$fn\"`; }

Thanks!
Weber Kai

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xscreensaver in Ubuntu.
https://bugs.launchpad.net/bugs/1020575

Title:
  VidWhacker screensaver just gives "cannot open" "no such file" and
  "0-length data"

Status in “xscreensaver” package in Ubuntu:
  Confirmed

Bug description:
  I have configured VidWhacker to point at a directory of .gif, .jpg and
  .bmp image files (which I use successfully for other screensavers) but
  when it activates it says:

  sh: 1: cannot open <filename>: No such file
  vidwhacker: 0-length data
  xscreensaver: 14:48:03 0: child pid 15140 (vidwhacker) exited abnormally 
(code 1).

  where <filename> is one of the files in that directory.

  The parameters for xscreensaver are here:
  http://www.zimagez.com/zimage/screenshot-030712-145147.php

  Incidentally, a Google search for "vidwhacker: 0-length data" suggests
  a solution is installing the netpbm package; I do have netpbm
  2:10.0-15 installed.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: xscreensaver-data-extra 5.15-2ubuntu1
  ProcVersionSignature: Ubuntu 3.2.0-26.41-generic 3.2.19
  Uname: Linux 3.2.0-26-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.0.1-0ubuntu8
  Architecture: amd64
  Date: Tue Jul  3 14:40:59 2012
  InstallationMedia: Xubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
  ProcEnviron:
   LANGUAGE=en_GB:en
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  SourcePackage: xscreensaver
  UpgradeStatus: Upgraded to precise on 2012-06-13 (19 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xscreensaver/+bug/1020575/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to