# Align origin rotation to object

How can I align the origin's rotation to the "obvious" rotation of an object?

For example, you can see here that the origin rotation isn't the same as the rotation of the empty:

Set Transformation orientation to local to align the origin with the object. This didn't solve what I really wanted to do which was to rotate the empty on the local x-axis. It ended up rotating crooked.
What I had to do was press r x then x again to rotate on local x-axis.