The preferred way to install it is from source. If you have Ubuntu or Debian, just right click on the link to the script, and save it in your home directory. Fedora users see here. Then open up a terminal (under Applications/Accessories) and type the command ". makesheep.sh" and press return, then type your root password. The rest should be automatic; if you have any problems just ask below.
It should configure itself to be your screensaver, but you can also run it from the command line just by typing "electricsheep". You can also use "electricsheep-preferences" to configure it, including setting your nickname for credit on the server, and the video driver. If mplayer and your X server are properly configured then the default (blank) should work, but if not, anything you pass to "mplayer -vo" can be put here. Common values are "x11", "gl", and "xv".
We have packages for Debian: http://packages.debian.org/sid/electricsheep
We also have Ubuntu packages for Electric Sheep and FLAM3, available from a PPA (Personal Package Archive) on Launchpad. You can follow the instructions there, or use another script. Once you configure your computer to include this PPA, you can install and update Electric Sheep automatically, like the rest of Ubuntu packages in the Synaptic Package Manager. However they are only compiled for 8.04 and 8.10, not yet 9.04.

Howto Client SVN in Ubuntu 9.04
(with or without using dpkg-buildpackage)
Flam3 built with no problems.
electricsheep.o: In function `copy_out_file': /home/caiken/Sources/ElectricSheep/client/electricsheep.c:748: undefined reference to `av_free_packet' /home/caiken/Sources/ElectricSheep/client/electricsheep.c:749: undefined reference to `av_free_packet' /usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libavcodec.so: undefined reference to `speex_header_free'
lines 748 and 749 are as follows:
av_free_packet(&opkt);
av_free_packet(&ipkt);
ipkt and opkt are on lines 735 and 736
while (1) {
AVPacket ipkt;
AVPacket opkt;
Looking for declaration and/or definition of AVPacket and cannot locate, assume are in libavcodec libs?
Using:
speexdec --version
speexdec (Speex decoder) version 1.0.5 (compiled Mar 7 2010)
Copyright (C) 2002-2003 Jean-Marc Valin
ffmpeg --version
FFmpeg version SVN-r22275, Copyright (c) 2000-2010 the FFmpeg developers
built on Mar 7 2010 02:06:03 with gcc 4.3.3
configuration:
libavutil 50.11. 0 / 50.11. 0
libavcodec 52.55. 0 / 52.55. 0
libavformat 52.54. 0 / 52.54. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0.10. 0 / 0.10. 0
All other apt-get installs are in place according to the .sh script. I can sudo apt-get install electricsheep, but it is version v2d6, which is supposedly deprecated
**Solved - Get Speex 1.2rc1 and build from source. Speex 1.0.5 (from apt-get) is deprecated as far as FFmpeg and Libavformat are concerned.
Failed to install
...
electricsheep.c:1774: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘size_t’ x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPACKAGE_DATA_DIR=\"/usr/share/electricsheep\" -g -O2 -c getdate.c x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPACKAGE_DATA_DIR=\"/usr/share/electricsheep\" -g -O2 -c utils.c utils.c: In function ‘query_redirection’: utils.c:435: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘size_t’ x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPACKAGE_DATA_DIR=\"/usr/share/electricsheep\" -g -O2 -c md5.c x86_64-linux-gnu-gcc -DPACKAGE_DATA_DIR=\"/usr/share/electricsheep\" -g -O2 -Wl,-Bsymbolic-functions -o electricsheep electricsheep.o getdate.o utils.o md5.o -lavformat -lavcodec -lavutil -lm -lz -lexpat electricsheep.o: In function `copy_out_file': /home/username/electricsheep-2010-03-04/client/electricsheep.c:748: undefined reference to `av_free_packet' /home/username/electricsheep-2010-03-04/client/electricsheep.c:749: undefined reference to `av_free_packet' collect2: ld returned 1 exit status make[2]: *** [electricsheep] Error 1 make[2]: Leaving directory `/home/username/electricsheep-2010-03-04/client' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/username/electricsheep-2010-03-04/client' make: *** [build-stamp] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 (Reading database ... 209792 files and directories currently installed.) Preparing to replace flam3 2.7.18-0ubuntu1~ppa0 (using flam3_2.7.18-0ubuntu1~ppa0_amd64.deb) ... Unpacking replacement flam3 ... Setting up flam3 (2.7.18-0ubuntu1~ppa0) ... Processing triggers for man-db ...
username@Computer:~$ electricsheep The program 'electricsheep' is currently not installed. You can install it by typing: sudo apt-get install electricsheep electricsheep: command not found
It runs in mplayer sorta Ubuntu 9.10
Ubuntu 9.10 (Karmic) Build Script
#!/bin/bashd=electricsheep-`date +%F`
mkdir $d
cd $d
sudo apt-get install mplayer curl subversion libtool libjpeg62-dev
sudo apt-get install libdbus-glib-1-dev libgconf2-dev libavformat-dev
sudo apt-get install libavcodec-dev libavutil-extra-49 libgnome-menu-dev
sudo apt-get install libglade2-dev libgnomeui-dev automake autoconf dpkg-dev
svn co https://electricsheep.svn.sourceforge.net/svnroot/electricsheep/\
trunk/client client
svn co https://flam3.svn.sourceforge.net/svnroot/flam3/trunk/src flam3
cd flam3
dpkg-buildpackage -b -us -uc -tc
cd ..
cd client
dpkg-buildpackage -b -us -uc -tc
cd ..
sudo dpkg -i *.deb
cd ..
Quick question
did you try changing the
Ubuntu 9.10 Blank screen - Preview Works
Same problem
did you try changing the
what happens if you play the sheep with mplayer -fs?
?
see the instructions at the
what graphics card and server
I have a Nvidia GeForce 9600
I do have the official Nvidia
sudo aptitude show xserver-xorg-core | grep VersionI received this information back: Version: 2:1.6.4-2ubuntu4.1
go under System ->
185.18.36
i meant what X server do you
I have the Nvidia driver.
did you try changing the
Well what do you know,
multiscreen working
The linux version doesn´t support setting root=1 in the config file. If I had that mode it would be the perfect setup for my system.
Cheers.
Trying to make a pkgsrc entry
- The configure script for the client doesn't check for all the libraries that it needs. For instance, if libavformat is missing, it doesn't detect that at all. However, compilation fails. This is a problem in environments like the pkgsrc build environment, which hides all "non-declared" dependencies from sight.
- The build just seems to assume that the directory for the avformat.h directory is in the search path. False assumption in controlled build environments. Configure must check.
- What I'm running into now is the lines in Makefile.am
GNOME_SCREENSAVER_DATADIR = $(shell pkg-config --variable themesdir gnome-screensaver)
GNOME_SCREENSAVER_PRIVEXEDIR = $(shell pkg-config --variable privlibexecdir gnome-screensaver)
install-data-local:
-$(INSTALL) electricsheep.desktop $(GNOME_SCREENSAVER_DATADIR)
-$(INSTALL) electricsheep-saver $(GNOME_SCREENSAVER_PRIVEXEDIR)
-$(INSTALL) -d $(pkgdatadir)
-$(INSTALL) 16_electricsheep /usr/share/gconf/defaults
-update-gconf-defaults
I notice several things here:
- the gnome screensaver stuff should be optional, for people who don't run gnome. It is amazing how much junk the gnome-screensaver pulls in.
- it doesn't respect $DESTDIR (for installation in a temporary tree before packaging)
- what is update-gconf-defaults ??? It doesn't appear to be present in any of the packages in the extensive pkgsrc collection. Certainly not in GConf-2.28.0 which seems at first to be the most likely candidate.
I will have to use my own install script; the one as supplied is unusable.
Here's the bug filed on
https://bugs.launchpad.net/ubuntu/+source/electricsheep/+bug/372040
ah this is a better but to
Electric Sheep broken in Ubuntu 9.10
I believe a recent update broke Electric Sheep on Ubuntu 9.10. I previously had Electric Sheep from the Launchpad PPA installed and functioning, but in the past few weeks it crashes with "terminated."
I was able to build and install Electric Sheep using mikeym's link, also I had to resolve the libavformat path error as described here: http://trac.enlightenment.org/e/ticket/237
This information may be helpful to anyone else who gets a failure after a 9.10 package upgrade.
our PPA is outdated, you
our PPA is outdated, you should build from source.
gnome screensaver
Does this disable the GNOME screensaver? Mine doesn't appear to work except for previews, and I just want to make sure this doesn't disable the default screensaver before seeking help on the Ubuntu site. I was wondering if this even worked with GNOME screensaver until I noticed none of my other screensavers were working.
compiz
I had to disable compiz, so my screensaver would work and nautilus could draw the desktop.
it works with GNOME
it works with GNOME
Updated my script for Fedora 12 and new version
Fedora Users,
I have updated my blog post (from above) containing the script that will compile and install the electricsheep on Fedora 12. Tested on both i686 and x86_64 architectures. Please post to the blog if you encounter any issues as I get emails notifying me of comments made.
-Tait
Ubuntu PPA trouble
When I add the PPA to my repositories list I get the following errors....
Failed to fetch http://ppa.launchpad.net/flam3/ppa/ubuntu/dists/karmic/main/binary-i386/Packages.gz 404 Not Found
Failed to fetch http://ppa.launchpad.net/flam3/ppa/ubuntu/dists/karmic/main/source/Sources.gz 404 Not Found
I have noticed that this seems to be happening with several PPA sites lately so I don't think it is just your PAA. Unfirtunatly I am not that great with linux yet but let me know if I can get more information for you.
When I use the script i get the following error when make is run in flam3...
make: *** No rule to make target `m4/libtool.m4', needed by `Makefile.in'. Stop.
Thanks,
fixxer
our PPA doesn't have 9.04 or
our PPA doesn't have 9.04 or 9.10, that's probably the error. if you look in the comments below you'll find someone else has set up a PPA, it might work for you. to get the source going, try running "libtoolize" in the flam3 directory.
figured out ubuntu9.10 install
@ spot
Tkx for the libtoolize tip! I made a change to "makesheep.sh" for ubuntu9.10 that seems to work fine on a vanilla install. Hope it helps out others
#!/bin/bash
d=electricsheep-`date +%F`
mkdir $d
cd $d
sudo apt-get install udo automake
sudo apt-get install mplayer curl subversion libtool libjpeg-dev
sudo apt-get install libdbus-glib-1-dev libgconf2-dev libavformat-dev
sudo apt-get install libgnome-menu-dev libglade2-dev libgnomeui-dev
svn co https://electricsheep.svn.sourceforge.net/svnroot/electricsheep/trunk/cl... client
svn co https://flam3.svn.sourceforge.net/svnroot/flam3/trunk/src flam3
cd flam3
aclocal
autoheader
libtoolize --copy --force
automake --add-missing --copy --gnu
autoconf
./configure
make
sudo make install
cd ..
cd client
./configure
make
sudo make install
cd ..
cd ..
thanks. i'm downloading 9.10
thanks. i'm downloading 9.10 now, after it's working i'll be sure to update flam3 and the script if necessary to work there.
Ubuntu 9.10 Karmic Koala PPA repository
Hi, it would be good to update the link to Ubuntu repository to include the up-to-date version.
https://launchpad.net/~khashayar/+archive/builder
The version in the universe repository is older and broken.
Can't install in Gentoo
Hi, I have the most recent Gentoo installation and I checked out the code from svn and went into the 'tags' directory and then the client directory. I read the readme inside this folder and it told me to
./configure
make
I did these two things and then tried its third instruction
make install
I've run this as both root and my normal user, but when I run it as the normal user, I get permission errors:
arcturus@antares ~/electricsheep/tags/client-v2.7b11 $ make install
Making install in ffmpeg
make[1]: Entering directory `/home/arcturus/electricsheep/tags/client-v2.7b11/ffmpeg'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/home/arcturus/electricsheep/tags/client-v2.7b11/ffmpeg'
make[1]: Entering directory `/home/arcturus/electricsheep/tags/client-v2.7b11'
make[2]: Entering directory `/home/arcturus/electricsheep/tags/client-v2.7b11'
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
/usr/bin/install -c 'electricsheep' '/usr/local/bin/electricsheep'
/usr/bin/install: cannot remove `/usr/local/bin/electricsheep': Permission denied
make[2]: *** [install-binPROGRAMS] Error 1
make[2]: Leaving directory `/home/arcturus/electricsheep/tags/client-v2.7b11'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/arcturus/electricsheep/tags/client-v2.7b11'
make: *** [install-recursive] Error 1
arcturus@antares ~/electricsheep/tags/client-v2.7b11 $
and when I run it as root, it fails
antares client-v2.7b11 # make install
Making install in ffmpeg
make[1]: Entering directory `/home/arcturus/electricsheep/tags/client-v2.7b11/ffmpeg'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/home/arcturus/electricsheep/tags/client-v2.7b11/ffmpeg'
make[1]: Entering directory `/home/arcturus/electricsheep/tags/client-v2.7b11'
make[2]: Entering directory `/home/arcturus/electricsheep/tags/client-v2.7b11'
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
/usr/bin/install -c 'electricsheep' '/usr/local/bin/electricsheep'
/usr/bin/install -c 'electricsheep-preferences' '/usr/local/bin/electricsheep-preferences'
/usr/bin/install -c electricsheep.desktop
/usr/bin/install: missing destination file operand after `electricsheep.desktop'
Try `/usr/bin/install --help' for more information.
make[2]: [install-data-local] Error 1 (ignored)
/usr/bin/install -c electricsheep-saver
/usr/bin/install: missing destination file operand after `electricsheep-saver'
Try `/usr/bin/install --help' for more information.
make[2]: [install-data-local] Error 1 (ignored)
/usr/bin/install -c -d /usr/local/share/electricsheep
/usr/bin/install -c 16_electricsheep /usr/share/gconf/defaults
/usr/bin/install: cannot create regular file `/usr/share/gconf/defaults': No such file or directory
make[2]: [install-data-local] Error 1 (ignored)
update-gconf-defaults
make[2]: update-gconf-defaults: Command not found
make[2]: [install-data-local] Error 127 (ignored)
test -z "/usr/local/share/man/man1" || /bin/mkdir -p "/usr/local/share/man/man1"
/usr/bin/install -c -m 644 './electricsheep.man' '/usr/local/share/man/man1/electricsheep.1'
test -z "/usr/local/share/electricsheep" || /bin/mkdir -p "/usr/local/share/electricsheep"
/usr/bin/install -c -m 644 'electricsheep-wait.avi' '/usr/local/share/electricsheep/electricsheep-wait.avi'
/usr/bin/install -c -m 644 'electricsheep-preferences.glade' '/usr/local/share/electricsheep/electricsheep-preferences.glade'
make[2]: Leaving directory `/home/arcturus/electricsheep/tags/client-v2.7b11'
make[1]: Leaving directory `/home/arcturus/electricsheep/tags/client-v2.7b11'
Any help would be greatly appreciated!
Still no Voting for Linux
I still seem to be unable to vote at version v2.7b12 even when run from terminal.
I've put a request for a feature for gnome-screensaver to allow keypresses to be passed to the screensaver.
https://bugzilla.gnome.org/show_bug.cgi?id=595747
yo i just got ubuntu and i'm
yo i just got ubuntu and i'm learning from scratch pretty much... I have no idea how to install this fucking thing and its driving me crazy. somebody help!
Voting and install
Still nothing on the Voting from the application in linux? Surely this should work even if it is blocked from within the screensaver?
Anyway I've adapted the install scripts on this page
#!/bin/bashd=electricsheep-`date +%F`
mkdir $d
cd $d
sudo apt-get install mplayer curl subversion libtool libjpeg-dev
sudo apt-get install libdbus-glib-1-dev libgconf2-dev libavformat-dev libavcodec-dev libavutil49
sudo apt-get install libgnome-menu-dev libglade2-dev libgnomeui-dev
sudo apt-get install automake autoconf checkinstall
svn co https://electricsheep.svn.sourceforge.net/svnroot/electricsheep/trunk/client client
svn co https://flam3.svn.sourceforge.net/svnroot/flam3/trunk/src flam3
cd flam3
aclocal
autoheader
libtoolize --copy --force
automake --add-missing --copy --gnu
autoconf
./configure
make
sudo checkinstall
cd ..
cd client
./configure
make
sudo checkinstall
cd ..
cd ..
See my guide for more info:
http://mikeysfog.wikispaces.com/HowTo+Install+Electricsheep+For+Ubuntu
:~$ electricsheepplease be
:~$ electricsheep
please be patient while the first sheep is downloaded...
curl: (6) Couldn't resolve host 'v2d6.sheepserver.net'
lost contact with v2d6.sheepserver.net, cannot retrieve sheep.
that's an obsolete version.
that's an obsolete version. you should uninstall it and follow the directions at the top of this page.
1) voting doesn't work in
1) voting doesn't work in linux and nobody is working on it afaik. there are two major things which need to be done: change gnome-screensaver and report the "generic" client to linux. right now the linux client is a separate and old code base, where mac and windows compile from the same code. the linux code doesn't do voting but the generic code does. the generic code has run on linux but not lately (hence "report"). if you can be involved in that it would be great.
2) i have used the install script on the latest ubuntu multiple times and it worked fine, so i'm not sure what you are fixing. it looks like you've changed it to account for some missing config files in the flam3 package. i'll see about that.
thanks!
thanks!
Can't resolve host
I'm getting the error about not being able to find the host when first running electricsheep:
localhost electricsheep-2009-09-17 # electricsheep
please be patient while the first sheep is downloaded...
curl: (6) Couldn't resolve host 'v2d6.sheepserver.net'
lost contact with v2d6.sheepserver.net, cannot retrieve sheep.
I'm having trouble finding info about the server through Google. Has it only recently gone down or would there be something wrong?
you have an old version.
you have an old version. uninstall it to get it out of your path.
Thanks :). It seems that
Thanks :). It seems that Gentoo has an old version in Portage.
I've started to install via the SVN method given above and I'm getting the following errors when running "make install":
localhost client # make install
make[1]: Entering directory `/home/brenton/apps/electricsheep-2009-09-18/client'
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
/usr/bin/install -c 'electricsheep' '/usr/local/bin/electricsheep'
/usr/bin/install -c 'electricsheep-preferences' '/usr/local/bin/electricsheep-preferences'
/usr/bin/install -c electricsheep.desktop
/usr/bin/install: missing destination file operand after `electricsheep.desktop'
Try `/usr/bin/install --help' for more information.
make[1]: [install-data-local] Error 1 (ignored)
/usr/bin/install -c electricsheep-saver
/usr/bin/install: missing destination file operand after `electricsheep-saver'
Try `/usr/bin/install --help' for more information.
make[1]: [install-data-local] Error 1 (ignored)
They seem to be intentional errors though as there are install instructions for electricsheep.desktop.kde in the README.
Also, if I invoke electricsheep directly it claims to be downloading sheep:
brenton@localhost ~ $ electricsheep
downloading sheep, please wait...
downloading sheep, please wait...
downloading sheep, please wait...
downloading sheep, please wait...
downloading sheep, please wait...
However there is zero network traffic. As in tcpdump shows zero activity. Electricsheep also invokes an instance of mplayer which takes 100% of one CPU core.
There's no window which appears and displays fractal flames.
Any ideas?
Don't run it as root, judging
Don't run it as root, judging but the # you are trying to run it as root. The same exact thing happens to me in the root account.
edit: scratch that i didn't notice the $ on the last command.
are you trying to install on
are you trying to install on KDE? that's not supported by the config files but I believe it will work if you do it manually.
to get sheep, either use a sheep pack or be patient, the server is often overloaded.
Thanks again :). I'm looking
Thanks again :). I'm looking into sheep packs now.
Debian Sid x86_64
installed with "aptitude install electricsheep"
version 2.7~b12+svn20090708-1
Maintainer: Roberto C. Sanchez <"em@il-edited.com">
Depends: flam3 (>= 2.7.19), debconf | debconf-2.0, curl, xloadimage, libjpeg-progs, libatk1.0-0 (>= 1.20.0), libavcodec52 (>= 3:0.svn20090303-1) | libavcodec-extra-52 (>=3:0.svn20090303-1), libavformat52 (>= 3:0.svn20090303-1) | libavformat-extra-52 (>= 3:0.svn20090303-1), libavutil49 (>= 3:0.svn20090303-1) | libavutil-extra-49(>= 3:0.svn20090303-1), libc6 (>= 2.3), libcairo2 (>= 1.2.4), libexpat1 (>= 1.95.8), libfontconfig1 (>= 2.4.0), libfreetype6 (>= 2.2.1), libglade2-0 (>=1:2.6.1), libglib2.0-0 (>= 2.16.0), libgtk2.0-0 (>= 2.8.0), libpango1.0-0 (>= 1.14.0), libxml2 (>= 2.6.27), zlib1g (>= 1:1.1.4), gconf2 (>= 2.12.1-1)
Description: screensaver showing collective dream of sleeping computers
Electric sheep is the collective dream of sleeping computers from all over the internet. Less poetically, it is an Internet server and xscreensaver module that displays MPEG video of an animated fractal flame. In the background, it contributes render cycles to the next animation. Periodically, it uploads completed frames to the server, where they are compressed for distribution to all clients.
Running it on Desktop Background (KDE4)
"$./xwinwrap -ni -o 0.2 -fs -s -st -sp -b -nf -- /usr/bin/electricsheep -window-id WID"
Xwinwrap at http://tech.shantanugoel.com/projects/linux/shantz-xwinwrap (x86 & x64)