fancy cli/X11 stuff