The Electric Sheep Screensaver

•April 26, 2007 • 3 Comments

I don’t know how many people look at this blog, but I thought I’d put out a word on the electricsheep screensaver.

Electricsheep is a screensaver available for Windows, Mac and Linux.   In my opinion, is simply the most beautiful screensaver available today.  I do not know how many people use it, but I know I’m doing my part to promote it.

The screensaver uses distributed processing to develop frames of various fractal animations (called ‘sheep’) The beauty of this is that the fractals are generated while the screensaver is running.  The name ‘electricsheep’ comes from a Phillip K. Dick story, and is appropriate, as the frames are generated while your computer is ‘sleeping’   These frames are shared with others and  compiled into animated fractals.  The various animations change over time as new sheep are generated.  In an evolutionary process some sheep are merged, others die out.  I call electric sheep the collective dream of the internet.

Promoting electricsheep is actually pretty easy.  Install it on someone’s machine and show them where they can download it.  I’ve installed it on my father’s laptop, and he has already had several of his co-workers ask him for it. 

Check out the electrisheep.org website for static images and more information.

Powered by ScribeFire.

One Quarter of Ubuntu

•April 5, 2007 • Leave a Comment

I’ve been using Ubuntu now for about 4 months.  I haven’t posted much because quite frankly, I haven’t run into many issues that haven’t been resolved somewhere else.

Its a great environment for working.  I do have to boot into windows now and again, and I groan a little each time.  It just doesn’t seem as polished as my linux does.  There are some things I miss, though.  I wish there were more graphical configuration tools available, but I’ve gotten used to the command line, and even wrote a script (see below) to do some cool stuff with the shell.

Other than that, there isn’t much to report.  I have been doing some gaming lately, and have found that the 15 bucks for Cedega is a bargain.  I have run into very few of my legacy games that weren’t playable on Cedega.  I’ve also found a few linux ports of windows games that are great as well.  Neverwinter Nights and SMAC (Sid Meier’s Alpha Centauri) have linux versions available, and they both play great.

Powered by ScribeFire.

Toggling xwinwrap on and off in GNOME

•March 25, 2007 • 6 Comments

xwinwrap is a cool utility that will allow you to run a screensaver or mpeg video on your desktop (root window). There are some issues with xwinwrap though. First, the command line to run it is impossibly long, and a PITA to type. Second, my screensaver of choice, electricsheep looks like hell with most wallpapers, so I like to run it without one.

There are other issues with xwinwrap, but the other issues are due to some incompatabilities between nautilus and xwinwrap. In metacity, this means that you cannot see your desktop icons.

In Beryl, this means that you will want to run the hack with a relatively high level of transparency (-o 0.11 is the parm that I use) , so desktop icons can be seen and used. This still leads to an issue with drag and drop onto the desktop, which doesn’t work, but otherwise xwinwrap works well and is stable.

Contrary to common wisdom, running xwinwrap does not suck up a significant amount of system resources. Like I said, I use electricsheep, which doesn’t create much of a cpu load, so your mileage can vary. On my system though, the combination of xwinwrap/electricsheep only takes about 6% of my cpu, and with “nice” it scales down easily. Since my cpu rarely runs over 60% (on a 3 year old AMD 3.8), the 4-5% isn’t significant.

I’ve written a script that will:

- Remove the current background and start xwinwrap, if xwinwrap is not running
- Restore the current background and kill xwinwrap, if xwinwrap is running

I use this script as a launcher on my gnome panel, so I can toggle my background between a wallpaper and xwinwrap. The script is currently hard coded to run the electricsheep screensaver hack. If you use xwinwrap, You can modify the script for whatever your preferred hack is by editing the xwinwrap_string.

#!/bin/bash
#
# xwinset.sh version 1.0
# Created: 3/23/07 by mugwump67
#
# This script will:
# turn on xwinwrap if it is off and set background option to 'none'
# turn off xwinwrap if it is on and set background option to stretched
#
# future enhancements
# Currently only switches between none and stretched
# - better to save all current background settings to config file and restore from there
# Add right-click integration with nautilus (i.e. click mpeg/hack to set)
#
#---------------------------
# outline:
#---------------------------

# If xwinwrap is running,
# shut off xwinwrap
# set background option to stretched
# If xwinwrap is off
# If current background is not "none"
# set current background to "none"
# start xwinwrap
# --------------------------

xwinwrap_string="nice -n 15 xwinwrap -ni -o 0.11 -fs -s -sp -st -b -nf -- /usr/bin/electricsheep --root 1 --nick mugwump67 --zoom 1 --max-megabytes 5000 -window-id WID"

# if xwinwrap is running,
if [ -n "$(ps | grep xwinwrap)" ]
then
# shut off xwinwrap, set backgound option to 'stretched'
killall xwinwrap
gconftool-2 --type string -s /desktop/gnome/background/picture_options stretched

else
# xwinwrap is off
# save current background option to 'none'
# set to 'none'
# start xwinwrap
gconftool-2 --type string -s /desktop/gnome/background/picture_options none
$xwinwrap_string &
fi

This is the first significant shell script that I’ve ever written, and its missing a few things because I couldn’t figure out how to do them yet (these are listed in future enhancements). Nonetheless, I hope others find it useful.

IBM Thinkpad 600E

•February 23, 2007 • 2 Comments

I recently recieved a DOA IBM thinkpad 600E from a relative. This particular PC has a 300mhz processor and 128MB of memory. Not bad for its time (1999). If I remember correctly, this particular model was sold for around $3000 originally. Today it Ebay’s for about $250. I knew there was a reason I don’t buy cutting edge hardware.

So its ‘DOA’, but I’m not going to give up on it yet. After booting the thing and checking the error code given, I was pleased to see that the problem was a dead CMOS battery.

After a bit of googling, I was able to find a replacement battery for $10 and it was delivered today. Replacing the battery is really quite easy:

  1. Remove the CD drive from the bay
  2. Unscrew the plate covering the memory
  3. Pop out top memory chip (optional, but gives you a little bit of room to work)
  4. Unplug existing CMOS and remove it
  5. Plug in new one
  6. Damn your hands for being too big while sticking the head of the battery under the clip
  7. Screw it all back together
  8. Replace the CD drive.

It took me about 10 minutes, and I’m not very mechanically inclined.

After rebooting you will see another error code, do not panic. It simply wants you to reset the date on the laptop.

And hooray! You now have a working Thinkpad! I’ll try to put some pictures up later to help with the instructions.

Next, I intend to wipe the harddrive and install xubuntu on it.

To be continued….

While I’m building an amarok collection

•February 11, 2007 • Leave a Comment

Ok, so I’m currently dumping my collection into amarok, there aren’t many tasks that bring my pc to its knees, but this is one of them Even if I lower the priority of the process, it still bogs the machine down pretty hard. It might be the sqlLite engine, its probably choking on the size of my collection, it could also be the ntfs-3g drivers. No biggie though. (note to self: try running amarok with different sql server.) It will take some time, and now I’m kinda bored.

I’ve been using Ubuntu since December. I’ve been messing with it a lot, and thus reinstalling it a few times, but am finding that I prefer to use linux more with each passing day. I use a dual boot now, but linux is the default desktop. I use windows for games, and to archive my email (I still haven’t figured out a good way to get my outlook mailbox into evolution)

As far as gaming is concerned, I’m finding that I don’t miss my windows games as much as I thought I would. Right now there are two reasons for this, Mame and DosBox. Mame is an emulator for classic arcade games (Karate Champ, Raiden and Flying Shark being my favorites.) And DosBox is a DOS emulator for linux. It supports most of my classic DOS games. including Fallout and X-com: UFO Defense. I’ve tried to set these games up in Windows, even with DOSBox, and could never get them working right. Now I can enjoy them again. If I start now, I might even be able to finish all of the 20 years worth of computer games I have stashed in boxes around the house. I wonder if I’ll be able to play Planescape: Torment in linux, that game was freakin’ brilliant.

Next tests are getting Fallout 2, and Baldur’s gate under wine.

‘the pump don’t work cuz the vandals took the handles’

My Ubuntu setup todo list…

•February 11, 2007 • 3 Comments

So I’m converting over to Ubuntu too.

I still tweak my Ubuntu…probably a bit too much. Because I’m not a linux guru, I usually end up reinstalling after I’ve gone too far and broke something too deep for me to fix it.

So, here is my ‘todo’ list when installing ubuntu.

  1. Get all the damn updates
  2. Check the kernel, make sure its the right version (generic in 6.10)
  3. Install nvidia drivers
  4. Install ntfs-3gl drivers

With that, I should have a plain vanilla ubuntu system.

Basic configuration

  1. Firefox – change prefs, setup adblock
  2. Evolution
  3. TomBoy Notes
  4. Configure F12 to open a terminal
  5. Configure Ctl-alt-del to open up the gnome-system-monitor

After that, its time to install some software

  1. automatix2
  2. Use automatix2 to get all the codecs (yes, its lazy)
    • AUD-DVD
    • Flash
    • Mplayer and FF
    • Multimedia codecs
    • nautilus scripts
    • Java JRE
    • Gaim
    • Google Earth (because its there and its cool)
  3. Configure Gaim
  4. DosBox
  5. Amarok
  6. Azureus
  7. Foldingathome
  8. Electric Sheep & xscreensaver
  9. DHCP Server for Net Boot Ubuntu Install

And I’m sure I’ll come up with things to add to this list like…
XGL/Beryl
Enlightenment
Neverwinter Nights
Doom 3

 
Follow

Get every new post delivered to your Inbox.