External monitors with xrandr and a Lenovo Thinkpad Pro Dock

Recently, I purchased a nice new Lenovo ThinkPad T460s. Naturally, I'm running Ubuntu on it and maintaining my new venture into using the i3 window manager. One problem that I ran into with this was when docking the ThinkPad at work. I wanted to use an external monitor that was plugged into the dock. Since i3 doesn't manage things like this for you, I had to hook into some events that know when the laptop has been docked and undocked and then use xrandr to hook up the external monitor. This is how I managed to make it work. Albeit, with a few bugs...

First, you need to create a script that will handle your xrandr commands. I called this script manage-monitor.sh and I put it inside of /etc/acpi/.


i3 window manager

Lately, a buddy of mine, joshtronic, has been getting back into the Linux world after a short hiatus using OSX. During this process, he has been trying different distributions as well as desktop environments and window managers. We both had a stint using xmonad for a while and we both really enjoyed using it. This time, he decided to try i3wm. This sort of inspired me to try it out myself as well... I figured I would make some notes on some of the things I did to get it in a usable state for myself.

The desktop


What happens when you sit at a desk for 13 years - and actually exercise.

Update/Note After a bad fall on my mountain bike that jacked up my back and caused a broken rib, I started to exhibit back issues. My doctor and physical therapist recommend I try out a standing desk at work to see if it helped with my back fatigue that was caused by these injuries. As of this update, I have been using a standing desk for 1 week as well as doing my exercises. I will report back in a month (maybe a bit longer if time slips by) and let you know where I stand (get it? tee hee) on this issue and if my opinion has changed at all.

Me doing a handstand in 2008


Modes of communication

This is something my wife and I have learned through counseling as well as just putting it to practice throughout our marriage. I always found it to be very helpful for us, so I figured I'd post it up.

There are, in general, 3 modes of communication.


Back to working out

I've taken a lot of time off from working out lately... I have done the occasional day of weights, but that was few and far between with the most consistent time being once per week. Ever since I had my shoulder surgery, it has just been hard to get back into it after 8 months of not doing it. That was 2 years ago! So, other than kayaking and mountain biking and the occasional day on the heavy bag, I haven't done much. I've gained weight too. I'm not at 182 lbs. I've never weighed this much, however, I have been fatter before. I do have more muscle than I did when I used to weigh around 178 lbs in my mid 20's. Nevertheless, I still feel gross and out of shape.

My diet sucks too. However, I have never had a perfectly clean diet. I enjoy ice cream and french fries! That's my guilty pleasures, as well as various candy. Other than that though, my diet is pretty decent. I don't eat much fast food. I try to eat mostly whole foods (besides french fries... )


page: 1 of 2