← 返回命令列表

Linux command

xlogo 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Display X logo

xlogo

Display with anti-aliased rendering

xlogo -render

Display with shaped (non-rectangular) window

xlogo -shape

Display with custom colors

xlogo -fg [blue] -bg [white]

Display with specific geometry

xlogo -geometry [200x200+100+100]

Display on remote display

xlogo -display [hostname:0]

说明

xlogo displays the X Window System logo in a window. It's a minimal X11 application used primarily for testing X server connectivity and verifying that display forwarding is working. The program serves as a "hello world" equivalent for X11, making it useful for quickly testing if X is running and accessible. If xlogo fails to open, it indicates problems with the X server, DISPLAY variable, or network configuration. With -render, the logo uses anti-aliased edges for smoother appearance. The -shape option creates a window that matches the logo outline rather than a rectangular window.

参数

-render
Use RENDER extension for anti-aliased edges.
-sharp
When used with -render, force sharp edges (1-bit alpha channel).
-shape
Use non-rectangular window shape.
-fg _color_
Foreground color (logo color).
-bg _color_
Background color.
-geometry _geom_
Window size and position.
-display _name_
X display to use.

FAQ

What is the xlogo command used for?

xlogo displays the X Window System logo in a window. It's a minimal X11 application used primarily for testing X server connectivity and verifying that display forwarding is working. The program serves as a "hello world" equivalent for X11, making it useful for quickly testing if X is running and accessible. If xlogo fails to open, it indicates problems with the X server, DISPLAY variable, or network configuration. With -render, the logo uses anti-aliased edges for smoother appearance. The -shape option creates a window that matches the logo outline rather than a rectangular window.

How do I run a basic xlogo example?

Run `xlogo` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -render do in xlogo?

Use RENDER extension for anti-aliased edges.