Sorry, adding a trailing slash is much better, as it works with default
wallpapers too:

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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020575

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

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to