Skip to content

Category Archives: Linux

Subversion, JavaHL, and Eclipse on Linux

I normally use emacs and command line svn when working at home on Linux. Eclipse to me, in principle, is a necessary evil of programming with larger groups. But a recent volunteer project I’ve been working on for the Philippine Scholars of Minnesota is forcing me out of this habit. And with this change, I’ve [...]

Syncing IPod in Linux

A colleague recently pointed me to an article about syncing my ipod with a Linux box. The article is good but my experience getting this to work was sufficiently different enough to warrant another post. My first issue came with Step 1: sudo add-apt-repository ppa:pmcenery/ppa This issue I had was that the keyserver was down. [...]

Installing Sup on Ubuntu Server 8.04 LTS

This is not a complete step-by-step set of instructions, but it should be pretty close. sudo apt-get install ruby-full build-essential wget http://rubyforge.org/frs/download.php/69365/rubygems-1.3.6.tgz tar -zxvf rubygems-1.3.6.tgz cd rubygems-1.3.6/ sudo ruby setup.rb sudo ln -s /usr/bin/gem1.8 /usr/bin/gem sudo gem update –system sudo gem install rake sudo apt-get install zlib1g-dev uuid-dev sudo gem install ncursesw # We need [...]

Simple Processes: Bash vs. Python – “A No-Brainer”

I haven’t posted in about 5 billion years. Well, it seems like that anyway. As I sit here partying with my laptop on a Friday night, I’ve been wondering how to display the track length of the current track that xmms2 is playing, without having to use the “xmms2 status” command. Yes, I listen to [...]

Linux Banging

This is a great list of bang command usage.

Mcabber Install on Dreamhost

I’m reposting this, it’s what I used to install mcabber on dreamhost: From your home directory: mkdir bin lib tmp chmod 777 tmp chmod 755 bin lib echo "export PATH=$PATH:$HOME/bin" >> ~/.bash_profile echo "export PKG_CONFIG_PATH=$HOME/lib/pkgconfig" >> ~/.bash_profile echo "export LD_LIBRARY_PATH=$HOME/lib:/usr/local/lib:$LD_LIBRARY_PATH" >> ~/.bash_profile source ~/.bash_profile cd ~/tmp wget ftp://ftp.gtk.org/pub/glib/2.19/glib-2.19.8.tar.gz tar -xvzf glib-2.19.8.tar.gz cd glib-2.19.8 ./configure –prefix=$HOME [...]

Quick command line spell check of a single word or sentence

Here’s a short bash script, using aspell, to spell check a word or several words from the command line. It’s simple but effective. If anyone else knows a cleaner or even simpler way, please let us know. #!/bin/bash WORD=$1 TEMPFILE=temp.spell echo $WORD > $TEMPFILE aspell -c $TEMPFILE cat $TEMPFILE rm -f $TEMPFILE rm -f $TEMPFILE.bak [...]

Revert to Console for IM – Gtalk Example using Mcabber

I can finally sleep at night now that I have a command-line solution for Google Talk. What’s needed (for a poor windows user): Mcabber, a jabber client from http://mcabber.com Cygwin, http://cygwin.com Ssh package for cygwin, if you need to install mcabber elsewhere and then connect to it remotely. If cygwin and ssh are new to [...]

“Revert to Console” for Language Translation

So you might be sitting around asking yourself, “Do I really need a web browser or collection of clunky travel dictionaries to translate to and from different languages of the world? Isn’t there a command line tool that can do the same thing and make my life easier, while making me even more awesome at [...]

OpenSuse

I have officially started working with OpenSuse. Bluetooth, wireless, and sound all worked after the install, which was great. The flash plugin was easy to install. I’ve added a repository to Yast for software management, although I wasn’t able to find emacs via Yast and resorted to an unmanaged rpm. I added jdk1.6 and eclipse [...]