assign M-O only when there is a window system, because terminal... sigh