Text this: Generalized Optimal Control of Linear Systems with Distributed Parameters