Linux Client Instructions

If you have Ubuntu 10.04 or Debian Sid, then you can just use the package manager or type "sudo apt-get install electricsheep", although that will get you an old version, it should work fine.

Otherwise, the preferred way to install it is from source.

  1. sudo apt-get install subversion autoconf libtool libgtk2.0-dev libgl1-mesa-dev libavcodec-dev libavformat-dev libswscale-dev liblua5.1-0-dev libcurl4-openssl-dev libxml2-dev libjpeg8-dev libgtop2-dev libboost-dev libboost-filesystem-dev libboost-thread-dev libtinyxml-dev freeglut3-dev glee-dev
  2. install from source the latest wxWidgets 2.9.x (autogen.sh; ./configure; make ; sudo make install) and flam3 (./configure; make; sudo make install), and then:
  3. Checkout client source and then ./autogen.sh; ./configure; make; sudo make install

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.

 

You should remove the CD as a

You should remove the CD as a source in Synaptic. This doesn't have anything to do with Electric Sheep.

Screensaver option not available

I installed Electric Sheep quite some time ago but my OS was being a bit screwy so didn't use it. Just updated to the new version of Xubuntu and I can't find Electric Sheep as a screensaver option. Also can't find a way to uninstall so I can try fresh. Any ideas?

Fedora Script still available but site is down

Hi, My site has been taken offline, but the fedora script will soon be available for download @ http://taiter.com/files/makeSheepFedora.tar.gz (DNS changes have to propagate so give it 24-48hrs from now) I will post another update to the location of the link once I restore/recreate everything. Thanks, Taiter

Linux Mint 8

I get this error when I try to run electricsheep: curl: (7) couldn't connect to host lost contact with v2d7c.sheepserver.net, cannot retrieve sheep. downloading sheep, please wait... downloading sheep, please wait... downloading sheep, please wait... downloading sheep, please wait...

can you ping

can you ping v2d7c.sheepserver.net?

Ubuntu Lucid 10.04, seamless transition mode missing?

I don't seen an option in electricsheep-preferences for seamless transitions.

Also is it possible to run just the rendering process by itself? like hit up the sheep server, run it through flam3 and send the result back?

the linux version doesn't

the linux version doesn't have that option, sorry.

yes you can turn off the display with "--display-anim 0".

upsheep/downsheep

i have ubuntu 10.04 and the screensaver works just fine, but the up/down arrows dont work, it'll just interrupt it and go back to my pages. the preferences in system arent giving me much to work with either. is there another route to its preferences?

voting is not supported by

voting is not supported by the linux screensaver framework.

run "electricsheep-preferences" from the command line.

electricsheep-prefrences

Is there any way that the electricsheep-preferences command can be better publicized? I had to hunt through comments for a good while until I came across it. Edit: As soon as I posted, I saw the mention in the main post. *facepalm*

it's in the man page too.

it's in the man page too.

configure electricsheep

Never mind i got it working now. Another question tho. Is there any sort of configuration utility or anything to make sure it is communicating properly.

electricsheep-preferences

electricsheep-preferences

Wall-mount Laptop Conversion- Absolute Minimum Software Reqs

OK, I'd be lying if I said I'm not a junkie for the sheep. As such, I'm thinking about reconfiguring the hardware from an older laptop to make a wall-mounted-Electric-Sheep-in-a-digital-picture-frame type thingie (private, non-commercial use only, of course). I was inspired by some of the mods here: http://repair4laptop.org/notebook_picture_frame.html. Anyway, I'm picturing a minimalistic Linux install because the laptop I plan to use is pretty old and I'd like to be able to reduce overhead/power consumption as much as possible, dedicating the majority of the system resources to ES. I'm most familiar with Ubuntu, but I'm willing to explore other Linux distros if compelling reasons exist. I'm wondering if anyone can help me out here. What's the bare-minimum software I'd need in order to run ES under Linux? In other words, which OS components absolutely must be installed for this thing to work? Has anyone attempted a similar feat before? I checked around the forum and couldn't find anything- sorry if the topic's been covered already. I truly appreciate any info anyone can provide to get me moving in the right direction. Thanks! -JM

that's a cool link,

that's a cool link, thanks.

the sheep just need an X server and mplayer. you shouldn't need gnome. if you have any further questions don't hesitate to ask, and let us know how it turns out!

Thanks Spot!

I appreciate the response. I'll probably be starting the project in the next week or so, and I'll definitely let you know how it goes! -JM

dual monitor

client/electricsheep.c:697: undefined reference to `avformat_alloc_context' i have installed electric sheep to this dual monitor machine before. there were problems with the previous install where it would freak out about having 2 instances of sheep running at the same time not download and not generate sheep though since i have 2 monitors i would want 2 instances of it running and generating new sheep and downloading more. svn 1412 is what is throwing me this error. my hardware is phenom 9950 black x4 4 gigs of ram, asus m4n72-e motherboard, nvidia 9600 gt gig edition. dual monitor nvidia driver.

your ffmpeg libs are

your ffmpeg libs are outdated. see the comment in the source code about how to accommodate.

it should work fine with 2 instances. the 2nd one to start should automatically go readonly.

do you have an unusual distro?

newer versions of mplayer

Hello, I've been using the version of mplayer found in the Ubuntu Lucid repos, but it seems to screw with the audio in my system (is a rather old version, i think). I tried upgrading mplayer and the sound problems are fixed, but now electricsheep just appears in a 4:3 format fashion, not filling up my whole screen as it used to do, any ideas on how to get this fixed? Thank you very much in advance! P

what did you version did you

what did you version did you upgrade to? how did you do it?

EDIT: it sounds like lucid has a broken OpenAL library.

i found this one repository in a bug report in launchpad

and it worked out quite ok, besides from the annoyance that i mentioned: electricsheep not using the whole screen when playing... deb http://ppa.launchpad.net/ripps818/coreavc/ubuntu lucid main

that has a fixed version of

that has a fixed version of mplayer?

yes

yes

new openal library

a quick word on this again: there is now a new libopenal1 package in the lucid-proposed repository that fixes the issues i mentioned, while using the default mplayer provided in the regular repositories. Sound keeps on playin, sheep are seen fullscreen... yay! Btw, spot, i love electricsheep, great work!

Power Manager or Something Wrong

I dont understand why is this happening but, when i get my Laptop plug'd-in to the AC adapter, Electric Sheep works!! but, when it gets disconnected from de AC it doesn't work, i just get the black screen and nothing appears. Im using Lucid Lynx, if somebody allready fixed this problem please tell me how you did it. thanks!

Cant get it working on Lucid Lynx

I installed from Synaptic, my version of electricsheep is 2.7b12 but it doesn't start, i just get a black screen with no text and no image. if somebody have fixed this issue please tell me how u do it. thanks! and sorry for my bad english edit: now i fix the problem thanks anyways!!

Solution

I was having your problem for a bit, but all I had to do was open up a terminal and type "electricsheep". It takes a while to download, but after that it'll work just fine.

On the latest version of

On the latest version of Ubuntu (Lucid) now includes Electric Sheep as a standard component so you should just have to say:

sudo apt-get install electricsheep

I haven't tried it yet but I hear it works. Please let me know what it does for you.

Use the script

The Lucid repo has the recent 2.7b12 version, but there is a much older package floating around in the other repos, so be careful using this method when pulling from other repos.

thank you, that's right.

thank you, that's right. after you install it you can check by running "electricsheep --version" and make sure it says 2.7something.

linking problem

Hi everyone! I have Debian Lenny on an AMD64 machine. I just downloaded the source and the dependencies (using your makesheep.sh script as a map). Compiling and installing flam goes fine, but when I compile the client I get the following linking error:
gunther@hell:~/prog/mybuilds/electricsheep-2010-04-11/client$ make make all-am make[1]: Entering directory `/home/gunther/prog/mybuilds/electricsheep-2010-04-11/client' gcc -DHAVE_CONFIG_H -I. -DPACKAGE_DATA_DIR=\"/usr/local/share/electricsheep\" -g -O2 -c electricsheep.c electricsheep.c: In function 'copy_out_file': electricsheep.c:699: warning: 'guess_format' is deprecated (declared at /usr/local/include/libavformat/avformat.h:785) gcc -DHAVE_CONFIG_H -I. -DPACKAGE_DATA_DIR=\"/usr/local/share/electricsheep\" -g -O2 -c getdate.c gcc -DHAVE_CONFIG_H -I. -DPACKAGE_DATA_DIR=\"/usr/local/share/electricsheep\" -g -O2 -c utils.c gcc -DHAVE_CONFIG_H -I. -DPACKAGE_DATA_DIR=\"/usr/local/share/electricsheep\" -g -O2 -c md5.c gcc -DPACKAGE_DATA_DIR=\"/usr/local/share/electricsheep\" -g -O2 -o electricsheep electricsheep.o getdate.o utils.o md5.o -lavformat -lavcodec -lavutil -lm -lz -lexpat electricsheep.o: In function `copy_out_file': /home/gunther/prog/mybuilds/electricsheep-2010-04-11/client/electricsheep.c:748: undefined reference to `av_free_packet' /home/gunther/prog/mybuilds/electricsheep-2010-04-11/client/electricsheep.c:749: undefined reference to `av_free_packet' /home/gunther/prog/mybuilds/electricsheep-2010-04-11/client/electricsheep.c:697: undefined reference to `avformat_alloc_context' collect2: ld returned 1 exit status make[1]: *** [electricsheep] Error 1 make[1]: Leaving directory `/home/gunther/prog/mybuilds/electricsheep-2010-04-11/client' make: *** [all] Error 2
I compiled and installed (in /usr/local/ ) the freshest ffmpeg from svn just 5 minutes ago... Thanks in advance for your help.

Ditto

I just rolled back my Ubuntu install to Hardy, in order to get video driver support. Upon trying to install Electric Sheep, I got the same errors:
/home/withlyn/electricsheep-2010-07-29/client/electricsheep.c:738: undefined reference to `av_init_packet'
/home/withlyn/electricsheep-2010-07-29/client/electricsheep.c:748: undefined reference to `av_free_packet'
/home/withlyn/electricsheep-2010-07-29/client/electricsheep.c:749: undefined reference to `av_free_packet'
/home/withlyn/electricsheep-2010-07-29/client/electricsheep.c:697: undefined reference to `avformat_alloc_context'
Like dproduzioni, I just built ffmpeg, although I used the 0.6 tarball rather than svn. Any insights?

GNOME-Screensaver

On Ubuntu 9.10 and before E.S. appeared as a scrennsaver in teh GNOME screensaver chooser (unfortunately I don't remember how I installed it). Now on my new Ubuntu 10.04 (beta) system I installed it via the script (found on gnome-look.org) and now it won't appear there and after 3min the GNOME screensaver will start.
A electricsheep.desktop in /usr/share/applications/screensaver exists. Restart didn't help
//edit: setting the electric-sheep screensaver directly in gconf-editor (i seem to have changed it accidentally) leads to a Black screen when the screensaver starts /edit: reinstalling via the ppa-package made it work

Problem

Hi, I have the follow poblem, 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. curl: (6) Couldn’t resolve host ‘v2d6.sheepserver.net’ lost contact with v2d6.sheepserver.net, cannot render frames. curl: (6) Couldn’t resolve host ‘v2d6.sheepserver.net’ lost contact with v2d6.sheepserver.net, cannot render frames. curl: (6) Couldn’t resolve host ‘v2d6.sheepserver.net’ lost contact with v2d6.sheepserver.net, cannot retrieve sheep. curl: (6) Couldn’t resolve host ‘v2d6.sheepserver.net’ lost contact with v2d6.sheepserver.net, cannot render frames. What can I do? Thanks!

you have an ancient version.

you have an ancient version. uninstall it and then follow the directions above.

Works well in Ubuntu 9.10 Karmic

My family and I are enjoying the show thus far. I have it installed on my Ubuntu box as well as my xp box. Installed it in Karmic by adding the intrepid PPA to my software sources. Then installed by synaptics. Rebooted and all is good. Thank you very much for this wicked software.

electricsheep-preferences

Er, when I type only "electricsheep-preferences" into Terminal it tells me "command not found." What am I doing wrong?

how did you install it and

how did you install it and what version do you have?

How- er, through Mint's

How- er, through Mint's Synaptic Package Manager. Version - 2.6.8-9ubuntu1, is what's listed. (I'm using Mint 8, if that makes a difference?)

That is ancient, you should

That is ancient, you should uninstall it and follow the directions at the top of the page.

Howto Client SVN in Ubuntu 9.04

Client Error on make
(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

Installation failed using the ubuntu 9.10 script. Here is the output that I got towards the end:
...
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

I have the same problem.

I am using Ubuntu 8.10. When I try to install using the script, I get the same error.

you both need to upgrade to a

you both need to upgrade to a recent distro.

It runs in mplayer sorta Ubuntu 9.10

when I go to the terminal and enter electricsheep it works, but when I go to try to play one in the folder with mplay it does not work. Also it does not work as a screen saver, I just get a black screen. I have a Intel G45 graphic chip. Edit: never mind I didn;t have the proper display device set

well...

what display did you set it to? I have an intel graphics cards also and all I get is a blank screen when E.S. starts up?

Ubuntu 9.10 (Karmic) Build Script

#!/bin/bash

d=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

I did all this on my Ubuntu 9.10 desktop,I can preview it but when I let it go into screen saver mode it darkens and right before it starts it acts like it has been woken up.Any thoughts on how to get this to work?Thanks.And have a great day.

did you try changing the

did you try changing the video output driver? what graphics card and server are you running? what happens if you run mplayer -fs on one of the sheep in your cache?

Ubuntu 9.10 Blank screen - Preview Works

I am unable to get electricsheep working! Tried changing the video driver but still blank screen but the preview works and launching it from terminal works but when it actually kicks in the screen stays blank no matter how long I wait. Any clues?

User login