theme-thumb-tool: detect X11 enviornment