chbg as xscreensaver hack
I've got it working, quite well in fact with this as the command line:
chbg -screensaver -scenario /home/chris/chbg -effect 1 -shader 1 -mode smart -speed 500 -interval .30
However according to the on-line manual I've found I should also be able to use GIMP gradients by using -use_grad -grad_dir which makes the command look like this:
chbg -screensaver -scenario /home/chris/chbg -effect 1 -shader 1 -mode smart -use_grad -grad_dir /home/chris/.gimp-2.6/gradients -speed 500 -interval .30
When adding those two commands I see this in my .xsession-errors file and on the screen:
** Message: grad_load_gradient(): invalid number of segments in "/home/chris/.gimp-2.6/gradients/Yellow-3D#2.ggr"
** Message: grad_load_gradient(): invalid number of segments in "/home/chris/.gimp-2.6/gradients/Olive-3D.ggr"
** Message: grad_load_gradient(): invalid number of segments in "/home/chris/.gimp-2.6/gradients/Blue-Flat#1.ggr"
** Message: grad_load_gradient(): invalid number of segments in "/home/chris/.gimp-2.6/gradients/Blue-Pipe.ggr"
** Message: grad_load_gradient(): invalid number of segments in "/home/chris/.gimp-2.6/gradients/Web2-Blue-3d#8.ggr"
** Message: grad_load_gradient(): invalid number of segments in "/home/chris/.gimp-2.6/gradients/White-3D#2.ggr"
** Message: grad_load_gradient(): invalid number of segments in "/home/chris/.gimp-2.6/gradients/Black-Gloss#1.ggr"
** Message: grad_load_gradient(): invalid number of segments in "/home/chris/.gimp-2.6/gradients/Web2-Blue-3D#6.ggr"
The same thing if I use this as the gradient directory:
/usr/share/gimp/2.0/gradients
Any ideas/suggestions on how to make the addition of the GIMP gradients work? Otherwise its working as it should.
Chris
|