Open a terminal and type or copy/paste the following:
Code: Select all
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 libgtop2-dev libboost-dev libboost-filesystem-dev libboost-thread-dev libtinyxml-dev freeglut3-dev glee-dev freeglut3-dev libltdl7 libltdl-dev
Code: Select all
apt-get install xscreensaver-data-extra xscreensaver-gl-extra
Code: Select all
cd /usr/share/applications/screensavers
Code: Select all
sudo perl -p -i -e 's/OnlyShowIn=GNOME;/OnlyShowIn=GNOME;MATE;/g' *.desktop
http://pkgs.fedoraproject.org/repo/pkgs ... 5ddf05545/
Download wxWidgets (linux source code) from here:
https://www.wxwidgets.org/downloads/
Download ElectricSheep-Master from here:
https://github.com/Ichthyostega/electricsheep
There is a "Download ZIP" button on the right.
Open your Downloads folder and click on each of the 3 items you downloaded and select "extract here"
This will create 3 more folders in your Downloads folder:
wxWidgets-3.1.0
and
flam3-2.7.18
and
electricsheep-master
Double click on the flam3-2.7.18 folder. Inside of that folder right click on an area where there are no icons and select "open in terminal". This will open a terminal window.
Inside the terminal type or copy/paste the following (Each line is a new command don't type or copy/paste everything, do each line individually):
Code: Select all
./configure
make
sudo make install
Inside the terminal type or copy/paste the following (Each line is a new command don't type or copy paste everything, do each line individually):
Code: Select all
autogen.sh
./configure
make
sudo make install
Inside the terminal type or copy/paste the following (Each line is a new command don't type or copy paste everything, do each line individually):
Code: Select all
autogen.sh
./configure
make CXXFLAGS+="-DGL_GLEXT_PROTOTYPES=1" (((Or in Debian sid use: make CXXFLAGS+=-pthread)))
sudo make install
Code: Select all
electricsheep
Now for the tricky part:
type the following in a terminal:
Code: Select all
sudo caja /usr/lib/xscreensaver
just press "Enter" to leave it named "New File"
Now Double click on the "New File" to open and paste this inside (just "Select All and paste":
Code: Select all
#!/bin/sh
electricsheep --root 1
Now right click the file and click "Rename" and rename it electricsheep.sh (you will notice the icon changes)
Now right click the file and select "Properties" and select "Permissions"
Now click the box next to "Allow executing file as program" and close
Or you can type this in a terminal window:
Code: Select all
chmod 755 /usr/lib/xscreensaver/electricsheep.sh
Code: Select all
sudo caja /usr/share/applications/screensavers/
right click in an area where there are no icons and select "Create Document" "Empty File"
just press "Enter" to leave it named "New File"
Now Double click on the "New File" to open and paste this inside (just "Select All and paste":
Code: Select all
[Desktop Entry]
Encoding=UTF-8
Name=ElectricSheep
Comment=Electric Sheep is a distributed screen-saver that harnesses idle computers into a render farm with the purpose of animating and evolving artificial life-forms. This module requires a high-bandwidth, always-on connection to the internet such as DSL or cable-modem. The first time you run it, it normally takes 5 to 10 minutes before the first sheep is downloaded and displayed. After that, it should come up immediately. If you have installed the hacked xscreensaver that supports passing key-presses onto the graphics hack and this feature is enabled, then pressing the up arrow-key transmits a vote for the currently displayed sheep to the server. The votes are the basis of a fitness function for an evolutionary algorithm on the sheep genomes. Vote for the sheep you like, and they will mate, reproduce, and evolve! See http://electricsheep.org for more information.
TryExec=electricsheep.sh
Exec="electricsheep.sh"
StartupNotify=false
Terminal=false
Type=Application
Categories=Screensaver
Now right click the file and click "Rename" and rename it ElectricSheep.desktop (you will notice the icon changes)
All that's left is to open Control Panel and Screensaver and select ElectricSheep.
Thats it. If you have problems or you find errors please let me know so i can make changes.