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.
- 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
- 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:
- 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.

Electricsheep Debian installation
Electricsheep screensaver installation on Debian was very difficult for me a few months ago, but I got it installed. I accidently deleted my certficate and I lost my Electricsheep screensaver. I've been trying to re-install it, but I am having great difficulty. I don't want o go thru the rigamarow again! Any quick and easy installation instructions would be greatly appreciated. Please post. Thanks.
2.7b33 on Gentoo / missing types.h (curl >= 7.21.7)
Hi!
I get stale mplayer processes on electricsheep 2.7_beta11 on Gentoo (which is the newest one on Gentoo). I tried compiling 2.7_beta33, but it fails, because newer curl (7.21.7 and onwards) don't have curl/types.h.
One could downgrade curl, but in my situation, currently installed LibreOffice depends on newer version, and I need libreoffice... I could simply downgrade LibreOffice, as that is the only ebuild depending on the newer curl, but that's a huge compile, and I just don't want to do that because of electricsheep. And, also eventually electricsheep needs to support the new curl (missing types.h).
I will look into this myself, when I have the time... but in the meantime, has anyone compiled electricsheep against a newer curl on any distribution?
Not about curl.... maybe boost?
Ok,
This seems not to be a curl problem after all (reading some curl discussion, types.h has been empty since 2004, it's include could probably be just removed / a version check added in the sources).
I read the compile failing log too fast... it seems like a boost issue. On Gentoo, the latest stable is dev-libs/boost-1.46.1-r1.
This is the first error on the log:
electricsheepguiMyDialog2.cpp:190: error: no matching function for call to 'boost::filesystem3::path::path(wxCStrData)'
Here's the whole log: http://pastebin.com/FfnKDrrP
the source distribution
the source distribution includes its own version of boost (http://code.google.com/p/electricsheep/source/browse/#svn%2Ftrunk%2Fclie...)
so it seems the C flags are out of whack.
have you had any luck
have you had any luck tracking down what cflags are broken? I can't get the 2.7b11 ebuild to work on my system, either (and I'm not sure where to find a live ebuild to add to the overlay)
It seems there's a working external ebuild now...
Hi.
After a long while - Just FYI, in case you haven't noticed - the live ebuild in Gentoos Bugzilla has been updated: https://bugs.gentoo.org/show_bug.cgi?id=339463
Works for me! =D
Gentoo ebuild outdated...
Sratch that. The live ebuild in the bug report above uses the sourceforge SVN, which seems outdated (2.7b11 -ish).
But - I've just managed to build on Gentoo from Google Code SVN. I'll see if it also works, and maybe update the ebuild to the bug report, once I have the time!
Cheers!
thanks! indeed we switched
thanks! indeed we switched to a unified code base, and the linux version has needed some help since. anything you can provide would be much appreciated.
Can't access script
I just tried to access the makesheep.sh script and got informed that I don't have permission to access it on this server.
the script is on hiatus and
the script is on hiatus and will return shortly. in the meantime just follow the directions.
How to install?
Linux newb here, trying to install 2.7b30 (which I found on http://code.google.com/p/electricsheep/downloads/list) in my karmic koala 9.10... the old versions I've tried (from Ubuntu software center) haven't worked, and I couldn't get the script listed here to work.
Can anyone help me install from the downloaded archive? I'm very new to the shell and all, so please be very explicit and patient. Thanks!
OK, I can walk you through
OK, I can walk you through it. First, you should delete that tarball because we have fixed problems since then. Get the latest code with the instructions at http://code.google.com/p/electricsheep/source/checkout
then go into that folder and issue these commands: ./autogen.sh ; ./configure ; make ; sudo make install
SUCCESS!
Thanks again for the help Scott. What I ended up doing after not finding any really clear ways to get the source code from the link you shared was realizing that all I needed was in the makesheep.sh script. Even if I couldn't run it as a script (I believe because I'm in Karmic Koala, or just don't know what I'm doing) I could open the script as a text file, and then just copy and paste all the lines one by one into the terminal. This ended up working very well! Highly recommended if you can't get the script to run as per the directions. Now I just need to figure out where exactly to put my sheep megapack, and all will be well with the screen-world.
As an aside, this little project was a great way to learn my way around linux, something I've been meaning to do for a while. Thanks again for the great software.
For DPMS to work, download SVN mplayer
As of yesterday, the bug in mplayer that prevented monitors from DPMS-sleeping (e.g., turning *off* after so many minutes of inactivity) during electricsheep was fixed. So update your mplayer to at least SVN r34074 to get the fix. Electricsheep appears to call mplayer with the correct "nostop-xscreensaver" option, and so all should be well after you update your mplayer.
If you don't want to download the latest mplayer and build it yourself (and it takes a long while for your Linux distro to update), then you can try a hack like this:
http://links.tedpavlic.com/shell_scripts/electricsheep-wrapper
which is documented a bit at:
http://phaseportrait.blogspot.com/2011/08/electric-sheep-on-kde-465-with...
Now your computer can go into "deep sleep" and turn the monitors off after enough dreaming. :)
Blank screen problem
I'm using Bohdi Linux v 1.1 and i've installed both from the script and sudo apt-get command. I get the blank screen from both of the installs. I have tried all of the values that needed to be passed to mplayer and X server is set to default, and I still get just a blank screen.
any suggestions?
i do not get electricsheep in gnome or x screensaver
Same problem here
suggestions?
sheep freezes
makesheep.sh v2.7b12
I read on the forums somewhere that the voting facility is disabled in v2.7b12, which is what I got from Synaptic, so I tried running the makesheep.sh script, as suggested.
Everything appeared to work and I now have a folder in my home folder named electricsheep-2001-05-28 which contains the client and flam3, but it looks like it's v2.7b12 again!
I didn't uninstall the existing copy first, thinking (hoping!) that makesheep.sh would upgrade it.
So now I have two(-ish) questions:
Do I need to keep the electricsheep-2001-05-28 folder or can I just delete it ?
What do I need to do to get a more up-to-date version (I think v2.7b28 is the latest) ?
I'm using Ubuntu 10.04 and I'm not terribly Linux-literate :)
Thanks, in anticipation.
Thanks, glad you like it.
That version has voting when you run it as an app, but not as a screensaver because that's just not supported by gnome.
you can delete the folder after it's been installed.
Thanks for the link
I looked at this and at Apophysis a couple of years back when I was still using (gasp) Windows!
This time round I've even got as far adding a couple of sheep to the flock :)
Installing v2.7b28
I've downloaded and extracted the source files (in /usr/local/src), built and installed the latest version of wxWidgets, fixed the wxWidgets version bug in my copy of the configure file, installed libswscale-dev (I already had libswscale installed) installed lua5.1 and... configure is still complaining that I don't have lua5.1 installed!
I've tried installing it both through Synaptic Package Manager and using sudo apt-get install lua5.1 and the lua5.1 and luac5.1 programs are definitely present in /usr/bin.
There are a number of other packages listed in Synaptic when I search for lua5.1, including several liblua5.1-***-dev packages so I'm wondering whether I should be installing one of these as well.
Any suggestions ?
Lua packages
thank you salsaman (who fyi
here's a more complete
libswscale-dev, libavformat-dev, libavcodec-dev, libavutil-dev libgtop-dev libboost-thread-dev libboost-filesystem-dev libcurl4-gnutls-dev liblua5.1-dev libtinyxml-dev glee-dev libglut3-dev flam3 libswscale0 libpng12-dev libxrender-dev.
Trying again with 2.7b33
Ok, so I'm trying again with v2.7b33.
I've checked out the source code from the svn and put the electricsheep-read-only folder into /usr/local/src.
I've run autogen.sh to generate the configure file.
I've edited the configure file with the fix to get it to register the wx-config version correctly:
WX_MAJOR=${WX_VERSION%%.*};
WX_MINOR=${WX_VERSION#*.};
WX_MINOR=${WX_MINOR%%.*};
WX_MICRO=${WX_VERSION##*.};
and run ./configure successfully.
Unfortunately, the make step fails (with a whole raft of error messages).
The only thing I can see is the message elsewhere in this thread about setting the CXXFLAGS and LDFLAGS to get configure to look in the right place for the wx components. i.e.
CXXFLAGS="`wx-config --cxxflags`" LDFLAGS="`wx-config --libs all`" ./configurebut then configure fails with
checking whether we are cross compiling... configure: error: in `/usr/local/src/electricsheep-read-only/client_generic':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
I can't see anything obvious in config.log (though I note it refers in several places to 2.7b28). Since I don't know what "cross compiling" is, I don't know if that's what I'm trying to do!
If any helpful person could tell me what to try next, I'd be much obliged.
i am confused why you have to
i am confused why you have to edit that file, as that change is already in the source (see http://code.google.com/p/electricsheep/source/browse/trunk/client_generic/configure.ac)
are you sure you have the most recent version from svn (and not the outdated tarball)?
I'm confused too!
I'm confused too!
I definitely used the svn checkout command given at http://code.google.com/p/electricsheep/source/checkout to get the source code but from the looks of it I just got the 2.7b28 code again.
If I look at the configure.ac file using the link you give it has AC_INIT(electricsheep,2.7b28-svn... at line 7 and the wx version checking still has the old problem.
The checkout page has a comment about "Non-members". Do I need to be a member or something to get the latest version ?
Alternatively, do Google have a mirror site for the UK that might not be in synch ?
Clutching at straws here!
what OS version are you
what OS version are you building on? still 11.04?
what is the first error?
I'm on Ubuntu 10.04. The
I'm on Ubuntu 10.04.
The first message from make (if I don't override CXXFLAGS and LDFLAGS) is
config.h:11:23: error: wx/bitmap.h: No such file or directory
and they all appear to be to do with wx.
You need to have the correct
You need to have the correct version of wxWidgets installed, including development libraries.
If you don't have the correct version, you need to build and install the included wxWidgets before compiling electricsheep.
The config file should detect whether you have the right version or not.
Most of the problems are caused by the fact that a) wxWidgets has its own special config file (wx-config), rather than using the pkg-config system, and b) electricsheep needs a version of wxWidgets which is not yet in the ubuntu repositories.
If in doubt, remove all wxWidget packages, and rebuild and install it from the included source.
Linux Compile: Segment Fault
configure ok, now make fails
However, when I try to run make it fails almost immediately with the following:
config.cpp:8:20: error: config.h: No such file or directory
config.cpp:11:41: error: ../../Runtime/sheep_logo2.xpm: No such file or directory
config.cpp:16: error: ‘MyDialog2’ has not been declared
config.cpp:16: error: expected constructor, destructor, or type conversion before ‘(’ token
make[1]: *** [config.o] Error 1
make[1]: Leaving directory `/usr/local/src/electricsheep-2.7b28-svn/MSVC/SettingsGUI'
make: *** [all-recursive] Error 1
Any suggestions ?
I get the same exact error.
I get the same exact error. I used to run ES on Windows, but I switched to Linux recently. I got the repo version running fine on my 4:3 laptop, but when I tried running it on my 16:9 laptop, it would never go fullscreen. After searching through forum posts that led to no help, I thought I would try the newer version from source. I have always loved ES, but am very frustrated with what a pain in the ass it is to get it either installed correctly or working correctly. And the lack of support really sucks too. It's open source, so I guess I gotta just suck it up and quit complaining; it's not like I have any other options...
Changes Needed to compile in Linux - [SOLVED]
http://elf-stone.com/glee.php
compile and install;
Copy the GLee.h and GLee.c (from extacted sources) to {your_dir}\DisplayOutput\OpenGL\ and to {your_dir}\Client
CXXFLAGS="`wx-config --cxxflags`" LDFLAGS="`wx-config --libs all`" ./configure
make
sudo make install
Cheers
thanks! Here's some more
It actually recommends using GLEW instead, should we switch?
Switch to glew
+1 on the GLEW
wish i had time -- but we
linux maintainer....
the main requirements are you
please send me email and we'll talk about it. include a link to your home page or resume or something so i know who you are.
windowed
i am using Ubuntu 10.04 LTS
how did you install it?
i installed it through
ooops ... nevermind ... i
Found bug in configure determinig wrong version of wxWidgets
if test x$WX_CONFIG != xno; then
WX_VERSION=`wx-config --version`
WX_MAJOR=${WX_VERSION%%.*};
WX_MINOR=${WX_VERSION#*.};
WX_MICRO=${WX_MINOR##*.};
WX_MINOR=${WX_MINOR%%.*};
Cheers
thanks, unfortunately the
That worked for me. Still
building on linux depends on GLee