Ubuntu 11.10 - I found a fix! Scripts from Runtime folder are not installing.

 

After fussing with the instructions and having no luck, I finally figured something out.  After compiling wxWidgets 2.9.3, flam3, and Electric Sheep v2.7b33, I was getting a black screen with a white box/square in the center.  I left it running and still nothing changed.  Also, I had a problem where the preferences were not storing or loading any changes I made.  After running electricsheep-preferences from CLI this last time, I noticed it output the following line:

"SetInstallation: /usr/local/share/electricsheep/Scripts"

So I went to this directory and behold, there was no "Scripts" folder.

To fix this, I went back to the "electricsheep-read-only" folder (which was in my Downloads folder), and snooped around a bit.  I noticed that the contents of the "client_generic/Runtime" folder match the contents of "/usr/local/share/electricsheep/", only it had a "Scripts" folder with content inside it.

I copied the "Scripts" folder from here into "/usr/local/share/electricsheep/" and re-ran "electricsheep-preferences".  I was now able to login!  I launched "electricsheep-preferences" again and now my changes save and load properly.  After making some quick changes, I relaunched "electricsheep".  SUCCESS!  IT WORKS NOW!

So, bottom line, below is exactly what I did on Ubuntu 11.10 to successfully get the newest Electric Sheep to work on my system.  I broke the steps down to the smallest steps:

  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 libglee0d1 freeglut3-dev glee-dev
  2. cd ~/Downloads
  3. wget http://superb-dca2.dl.sourceforge.net/project/wxwindows/2.9.3/wxWidgets-2.9.3.tar.bz2
  4. tar jxvf wxWidgets-2.9.3.tar.bz2
  5. cd wxWidgets-2.9.3
  6. ./autogen.sh
  7. ./configure
  8. make
  9. sudo make install
  10. cd ~/Downloads
  11. svn checkout http://flam3.googlecode.com/svn/trunk/ flam3-read-only
  12. cd flam3-read-only/src
  13. ./configure
  14. make
  15. sudo make install
  16. cd ~/Downloads
  17. svn checkout http://electricsheep.googlecode.com/svn/trunk/ electricsheep-read-only
  18. cd electricsheep-read-only/client_generic
  19. ./autogen.sh
  20. ./configure
  21. make
  22. sudo make install
  23. HERE'S THE FIX: sudo cp -r Runtime/Scripts /usr/local/share/electricsheep/
  24. electricsheep-preferences
  25. Configure as needed, then click "OK"
  26. electricsheep
  27. Voila!  It works!

Now just configure xscreensaver to use electricsheep and you're done!

  1. sudo apt-get remove gnome-screensaver
  2. sudo apt-get update && sudo apt-get install xscreensaver xscreensaver-gl-extra xscreensaver-data-extra
  3. Press Super key (Windows key) and type Startup.  Select Startup Applications.  Click "Add".  Enter the following:
  4. Name: XScreensaver
  5. Command: xscreensaver -nosplash
  6. Click "Save"
  7. Click "Close"
  8. In Terminal: gedit ~/.xscreensaver
  9. At the bottom of the file, add (Without quotes): "GL: electricsheep --root 1 \n\"
  10. Click "Save" and exit gedit.
  11. Done.

 

 

Still doesn't work for

Still doesn't work for me.

Had to configure editing the config file

 

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04 LTS"

Linux PAT-501757-Linux 3.2.0-26-generic #41-Ubuntu SMP Thu Jun 14 17:49:24 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux


 

electricsheep-preferences

I have done it all, including the fix, and the screensaver is working, but when I run electrricsheep-preferences the window opens up then closes before I can do anything, instantly if I click on the line to enter user name. Here is the resulting terminal output;

---------------------------------------------

gil@Ub12:~$ electricsheep-preferences
SetInstallation: /usr/local/share/electricsheep/Scripts
**
Pango:ERROR:/build/buildd/pango1.0-1.30.0/./pango/pango-layout.c:3801:pango_layout_check_lines: assertion failed: (!layout->log_attrs)
Aborted (core dumped)

-----------------------------------------

awesome, thanks! the fix is

awesome, thanks!

the fix is checked in now.

still a black screen

i see your saying Awesome, the fix is working, but i dont quite understand what the "fix" was.  Electric sheep works if i just run it from the terminal, but if i let the screensaver start by leaving my pc for a few minutes, its just a black screen.  No white box, no nothing, just a black screen like i have no screensaver loaded but have the desktop set to go black after a few minutes.  I now have 2 full days into this other than eating, and have no luck.

 

funny thing is, windows works perfectly, and older versions of linux work perfectly.  just install form package manager, and it works.  whats up with that?

 

Yes, it seems you are quite

Yes, it seems you are quite correct. Thankyou for your detective work ! I dont understand why that directory was not being created - I had it in installdirs in Makefile.am. Anyway I have copied the directory creation to another section of Makefile.am, and voila....it should all work now !

 

Apologies to anyone who experienced problems because of this.

 


User login