Friday, August 28, 2009

Thunderbird 3 Beta 3 Icons

I've been using Thunderbird 3 Beta 3 in Fedora 11 today. The icon set has been changed to be more "linuxy" or "gnomey". I've gotten so used to the appearance and location of the previously used icon theme that I'm having trouble using it at times.

Example: I'd like to delete this email.
Find big red X.
There is no big red X....
Oh it's a trash can now.

I'm trying not to have a gut "Hey! This is different!" reaction. I'm not sure that the new icons do as good of a job portraying to me what they are supposed to be used for. I'll see how another few days makes me feel about it.

Tuesday, August 25, 2009

New Direction (and url!)

It's been suggested by several of my friends that I turn this space into random snippets of linux/programming knowledge. I make no commitments as to the frequency of said posts. I'll try to throw things up here as I'm inspired. Also, you get bonus points if you find this at the new url.

So, without further ado:

If you're in a situation where ssh-agent isn't running farther up in your process tree automatically, here's how to get the same functionality out of .bashrc.

export EDITOR=/usr/bin/vim

SSH_ENV="$HOME/.ssh/environment"

function start_agent {
echo "Initialising new SSH agent..."
/usr/bin/ssh-agent | sed 's/^echo/#echo/' > "${SSH_ENV}"
echo succeeded
chmod 600 "${SSH_ENV}"
. "${SSH_ENV}" > /dev/null
/usr/bin/ssh-add;
}

# Source SSH settings, if applicable

if [ -f "${SSH_ENV}" ]; then
. "${SSH_ENV}" > /dev/null
#ps ${SSH_AGENT_PID} doesn't work under cywgin
ps -ef | grep ${SSH_AGENT_PID} | grep ssh-agent$ > /dev/null || {
start_agent;
}
else
start_agent;
fi