Cheap proprietary software still costs too much.

The following is part of an open letter I wrote to an university committee that was surveying students and faculty on the feasibility and desirability of providing discounts to students for popular and expensive software packages. This discount would have been provided by basically sharing the cost among all students by purchasing a large number of licenses and then reselling them at a lower price to interested students. Obviously, I thought there was a better alternative.

To Software License Group members:

I agree that it is a noble cause to provide students with access to software at a cost that is commensurate with the resources of the average university student. However, with full-priced office suites and programs running as much as $300 to $700, even discounted software can be prohibitively expensive for this university’s students who are most in need of the discount. In the interest of accessibility, this program should be expanded beyond simple discounts.

Continue reading. »

One reason I use Linux.

Tux: The Linux PenguinIt continually surprises and impresses me, in a good way. As a little background: I’ve used Linux at a moderate to advanced level for a few years now: I’ve never written a bash script longer than 6 lines and never hacked the kernel, but I’m not afraid of the command line and have no problems editing my xorg.conf, grub.conf or any other system files using nano. The command line is my friend, but I still like a GUI admin panel sometimes. I’ve totally switched to Linux as evidenced by the fact that the last copy of Microsoft office I purchased or used on my own computers was 2000.

Anyway, I recently bought a new laptop and I set it up as a dual-boot system with Vista and Ubuntu (I originally had a triple boot system with Open Suse until I remembered how clunky RPM based Distros are and I have a whole post full of “observations” about Vista, but this is all neither here nor there.) I was testing the battery life, ran it down, plugged it back into the power cord, and, for some unknown reason, I right clicked the battery life indicator.

Continue reading. »

Bash Script to Set Random XScreensaver as background

This short bash script will randomly select a screensaver and display it in your background window, so you can have a random screensaver background instead of having to select a particular. Obviously you will need to have Xscreensaver installed for it to work.

!/bin/bash

    files=(/usr/lib/xscreensaver/*)               # Look for files in the XScreensaver folder
    n=${#files[@]}              # For aesthetics
    "${files[RANDOM % n]}" -root & # Choose a random screensaver and execute it in the root window.

Can’t connect to local MySQL server through socket…error.

I recently moved my /home folder to its own partition, but in doing so, I broke MySQL. The full error I got was:
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

To fix this you need to create the file and make sure that MySQL has access to it. (All commands need to be run as root)

Create the directory (if it doesn’t already exist).

sudo mkdir /var/run/mysqld/

Create the file by “touching” it.

sudo touch /var/run/mysqld/mysqld.sock

Set the ownership of the mysqld.sock file and folder to mysql.

sudo chown -R mysql /var/run/mysqld/

You can then start MySQL and breath easier.