Well, renice does the trick but it's an after the fact solution. Once you obtain the process id of X then you can issue the renice command to that process to change the priority on the fly. It turns out that that didn't solve my sluggish gui situation though.