PDA

View Full Version : Screensaver Plugin


DigitalNinja
October 3rd, 2007, 05:34 PM
Is the screensaver plugin working?

Here's the youtube video:
http://www.youtube.com/watch?v=Rmz9a9pJR_s

I will need instructions on installing it. I think I tried once but it didn't work.

schoeggu
October 5th, 2007, 06:21 AM
it should be easy:
git clone git://anongit.compiz-fusion.org/users/pafy/screensaver
cd screensaver
make
make install
[restart compiz]

i assume you had problems with building it. Do you have the compiz-dev packages installed?
if no -> isntall it and try again.
if yes -> what messages did you get? or what didn't work?

DigitalNinja
October 5th, 2007, 08:19 PM
I should mention that I'm running Ubuntu Gutsy Gibbon 7.10. Here's what I get when following your instructions.

dhull@dhull-desktop:~/compile/screensaver$ make
convert : screensaver.xml.in -> build/screensaver.xml
bcop'ing : build/screensaver.xml -> build/screensaver_options.h
bcop'ing : build/screensaver.xml -> build/screensaver_options.c
schema : build/screensaver.xml -> build/compiz-screensaver.schema
compiling : vector.cpp -> build/vector.loIn file included from vector.cpp:1:
vector.h:5:25: error: compiz-core.h: No such file or directory
vector.h:34: error: 'CompScreen' has not been declared
vector.h:43: error: 'CompScreen' has not been declared
vector.h: In member function 'Vector Vector::toScreenSpace(int*) const':
vector.h:37: error: request for member 'width' in '* s', which is of non-class type 'int'
vector.h:38: error: request for member 'height' in '* s', which is of non-class type 'int'
vector.h: In member function 'Vector Vector::toCoordsSpace(int*) const':
vector.h:46: error: request for member 'width' in '* s', which is of non-class type 'int'
vector.h:47: error: request for member 'height' in '* s', which is of non-class type 'int'
make: *** [build/vector.lo] Error 1

I've got the compiz development package installed. I also did an update just before I tried to compile the plugin.

What's going on here?

adamk
October 5th, 2007, 08:27 PM
What version of compiz do you have installed? It's very like that the screensaver plugin just doesn't compile for anything but the master git branch.

Adam

DigitalNinja
October 5th, 2007, 09:45 PM
According to Synaptic I have compiz version 1:0.6.0+git20071004-0Ubuntu1. I tried to compile compiz from source but that didn't work either.

I'm still hoping there is a way to install Screensaver.

Xamindar
October 7th, 2007, 06:41 PM
It doesn't work at the moment anyway. On very rare occasions the screensaver will start after the specified time but most of the time it doesn't. Hopefully it will get fixed eventually.

adamk
October 7th, 2007, 06:59 PM
I don't know. It seems to work here pretty consistently. In fact, there hasn't been a time where I haven't noticed it not starting, but maybe I'm just lucky :-)

NoSkill
October 8th, 2007, 01:45 AM
It doesn't work at the moment anyway. On very rare occasions the screensaver will start after the specified time but most of the time it doesn't. Hopefully it will get fixed eventually.
Try DaveRM's solution at the bottom of this page (post #50):
http://forum.compiz-fusion.org/showthread.php?t=1753&page=5

(The above solution works for me on Fedora 7 too)

[edit: For GNOME]