Linux / Unix x command

Quick links

About x
Syntax
Examples
Related commands
Linux / Unix main page

About x

X Window System is a trademark of X Consortium, Inc. X is a portable, network-transparent window system. X may also be known or referred to as X Window System, X Version 11, X Window System, Version 11 and X11.

Syntax

X [options]

-display displayThis option specifies the name of the X server to use.
-geometry geometryThis option specifies the initial size and location of the window.
-bg color, -bordercolor colorEither option specifies the color to use for the window background.
-bd color, -bordercolor colorEither option specifies the color to use for the window border.
-bw number, -borderwidth numberEither option specifies the width in pixels of the window border.
-fg color, -foreground colorEither option specifies the color to use for text or graphics.
-fn font, -font fontEither option specifies the font to use for displaying text.
-iconicThis option indicates that the user would prefer that the application's windows initially not be visible as if the windows had be immediately iconified by the user. Window managers may choose not to honor the application's request.
-nameThis option specifies the name under which resources for the application should be found. This option is useful in shell aliases to distinguish between invocations of an application, without resorting to creating links to alter the executable file name.
-rv, -reverseEither option indicates that the program should simulate reverse video if possible, often by swapping the foreground and background colors. Not all programs honor this or implement it correctly. It is usually only used on monochrome displays.
+rvThis option indicates that the program should not simulate reverse video. This is used to override any defaults since reverse video doesn't always work properly.
-selectionTimeoutThis option specifies the timeout in milliseconds within which two communicating applications must respond to one another for a selection request.
-synchronousThis option indicates that requests to the X server should be sent synchronously, instead of asynchronously. Since Xlib normally buffers requests to the server, errors do not necessarily get reported immediately after they occur. This option turns off the buffering so that the application can be debugged. It should never be used with a working program.
-title stringThis option specifies the title to be used for this window. This information is sometimes used by a window manager to provide some sort of header identifying the window.
-xnllanguageThis option specifies the language, territory, and codeset for use in resolving resource and other filenames.
-xrm resourcestringThis option specifies a resource name and value to override any defaults. It is also very useful for setting resources that don't have explicit command line arguments.

Examples

X - Would start X if supported and user has proper permissions.

Related commands

xfd
xlsfonts
xset
xterm
xrdb