2006-11-26 07:43:35 -07:00
|
|
|
.\" Copyright 1988, 1998 The Open Group
|
2013-03-09 08:16:14 -07:00
|
|
|
.\"
|
2006-11-26 07:43:35 -07:00
|
|
|
.\" Permission to use, copy, modify, distribute, and sell this software and its
|
|
|
|
.\" documentation for any purpose is hereby granted without fee, provided that
|
|
|
|
.\" the above copyright notice appear in all copies and that both that
|
|
|
|
.\" copyright notice and this permission notice appear in supporting
|
|
|
|
.\" documentation.
|
2013-03-09 08:16:14 -07:00
|
|
|
.\"
|
2006-11-26 07:43:35 -07:00
|
|
|
.\" The above copyright notice and this permission notice shall be included
|
|
|
|
.\" in all copies or substantial portions of the Software.
|
2013-03-09 08:16:14 -07:00
|
|
|
.\"
|
2006-11-26 07:43:35 -07:00
|
|
|
.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
|
|
.\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
|
|
.\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
|
|
.\" IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
|
|
|
.\" OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
|
|
|
.\" ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
|
|
.\" OTHER DEALINGS IN THE SOFTWARE.
|
2013-03-09 08:16:14 -07:00
|
|
|
.\"
|
2006-11-26 07:43:35 -07:00
|
|
|
.\" Except as contained in this notice, the name of The Open Group shall
|
|
|
|
.\" not be used in advertising or otherwise to promote the sale, use or
|
|
|
|
.\" other dealings in this Software without prior written authorization
|
|
|
|
.\" from The Open Group.
|
|
|
|
.\"
|
|
|
|
.TH XSETROOT 1 __xorgversion__
|
|
|
|
.SH NAME
|
|
|
|
xsetroot \- root window parameter setting utility for X
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.B xsetroot
|
2018-05-21 12:29:41 -06:00
|
|
|
[-help]
|
|
|
|
[-version]
|
|
|
|
[-def]
|
|
|
|
[-display \fIdisplay\fP]
|
2006-11-26 07:43:35 -07:00
|
|
|
[-cursor \fIcursorfile maskfile\fP]
|
2018-05-21 12:29:41 -06:00
|
|
|
[-cursor_name \fIcursorfontname\fP]
|
2010-10-31 14:13:46 -06:00
|
|
|
[-xcf \fIcursorfile\fP \fIcursorsize\fP]
|
2018-05-21 12:29:41 -06:00
|
|
|
[-bitmap \fIfilename\fP
|
|
|
|
| -mod \fIx y\fP
|
|
|
|
| -gray
|
|
|
|
| -grey
|
|
|
|
| -solid \fIcolor\fP]
|
|
|
|
[-bg \fIcolor\fP]
|
|
|
|
[-fg \fIcolor\fP]
|
|
|
|
[-rv]
|
|
|
|
[-name \fIstring\fP]
|
|
|
|
[-d \fIdisplay\fP]
|
2006-11-26 07:43:35 -07:00
|
|
|
.SH DESCRIPTION
|
2013-03-09 08:16:14 -07:00
|
|
|
The
|
2007-07-30 06:38:19 -06:00
|
|
|
.I xsetroot
|
2006-11-26 07:43:35 -07:00
|
|
|
program
|
|
|
|
allows you to tailor the appearance of the background ("root")
|
|
|
|
window on a workstation display running X. Normally, you experiment with
|
|
|
|
.I xsetroot
|
|
|
|
until you find a personalized look that you like, then put the
|
|
|
|
.I xsetroot
|
|
|
|
command that produces it into your X startup file.
|
|
|
|
If no options are specified, or if
|
|
|
|
.I -def
|
|
|
|
is specified, the window is reset to its default state. The
|
|
|
|
.I -def
|
|
|
|
option can be specified along with other options and only the non-specified
|
|
|
|
characteristics will be reset to the default state.
|
|
|
|
.PP
|
2013-03-09 08:16:14 -07:00
|
|
|
Only one of the background color/tiling changing options
|
2006-11-26 07:43:35 -07:00
|
|
|
(-solid, -gray, -grey, -bitmap, and -mod) may be specified at a time.
|
|
|
|
.SH OPTIONS
|
|
|
|
.PP
|
|
|
|
The various options are as follows:
|
2018-05-21 12:29:41 -06:00
|
|
|
.IP "\fB-help\fP"
|
2006-11-26 07:43:35 -07:00
|
|
|
Print a usage message and exit.
|
2018-05-21 12:29:41 -06:00
|
|
|
.IP "\fB-version\fP"
|
2013-03-09 08:16:14 -07:00
|
|
|
Print a version message and exit.
|
2018-05-21 12:29:41 -06:00
|
|
|
.IP "\fB-def, -default\fP"
|
2006-11-26 07:43:35 -07:00
|
|
|
Reset unspecified attributes to the default values. (Restores the background
|
|
|
|
to the familiar gray mesh and the cursor to the hollow x shape.)
|
|
|
|
.IP "\fB-cursor\fP \fIcursorfile\fP \fImaskfile\fP"
|
|
|
|
This lets you change the pointer cursor to whatever
|
|
|
|
you want when the pointer cursor is outside of any window.
|
|
|
|
Cursor and mask files are bitmaps (little pictures), and can be made with the
|
2013-03-09 08:16:14 -07:00
|
|
|
.I bitmap(__appmansuffix__)
|
2006-11-26 07:43:35 -07:00
|
|
|
program. You probably want the mask file to be all black until you
|
|
|
|
get used to the way masks work.
|
2018-05-21 12:29:41 -06:00
|
|
|
.IP "\fB-cursor_name\fP \fIcursorfontname\fP"
|
2006-11-26 07:43:35 -07:00
|
|
|
This lets you change the pointer cursor to one of the standard
|
|
|
|
cursors from the cursor font. Refer to appendix B of the X protocol for
|
|
|
|
the names (except that the XC_ prefix is elided for this option).
|
2010-10-31 14:13:46 -06:00
|
|
|
.IP "\fB-xcf\fP \fIcursorfile\fP \fIcursorsize\fP"
|
|
|
|
This lets you change the pointer cursor to one loaded from an Xcursor file
|
|
|
|
as defined by libXcursor, at the specified size.
|
2006-11-26 07:43:35 -07:00
|
|
|
.IP "\fB-bitmap\fP \fIfilename\fP"
|
|
|
|
Use the bitmap specified in the file to set the window pattern. You can
|
|
|
|
make your own bitmap files (little pictures) using the
|
2013-03-09 08:16:14 -07:00
|
|
|
.I bitmap(__appmansuffix__)
|
2006-11-26 07:43:35 -07:00
|
|
|
program. The entire background will be made up of repeated "tiles" of
|
|
|
|
the bitmap.
|
|
|
|
.IP "\fB-mod\fP \fIx\fP \fIy\fP"
|
|
|
|
This is used if you want a plaid-like grid pattern on your screen.
|
|
|
|
x and y are integers ranging from 1 to 16. Try the different combinations.
|
|
|
|
Zero and negative numbers are taken as 1.
|
2018-05-21 12:29:41 -06:00
|
|
|
.IP "\fB-gray, -grey\fP"
|
|
|
|
Make the entire background gray (Easier on the eyes).
|
|
|
|
.IP "\fB-bg, -background\fP \fIcolor\fP"
|
|
|
|
Use ``color'' as the background color.
|
|
|
|
.IP "\fB-fg, -foreground\fP \fIcolor\fP"
|
2006-11-26 07:43:35 -07:00
|
|
|
Use ``color'' as the foreground color. Foreground and background colors
|
|
|
|
are meaningful only in combination with -cursor, -bitmap, or -mod.
|
2018-05-21 12:29:41 -06:00
|
|
|
.IP "\fB-rv, -reverse\fP"
|
2006-11-26 07:43:35 -07:00
|
|
|
This exchanges the foreground and background colors. Normally the foreground
|
|
|
|
color is black and the background color is white.
|
|
|
|
.IP "\fB-solid\fP \fIcolor\fP"
|
|
|
|
This sets the background of the root window to the specified color. This
|
|
|
|
option is only useful on color servers.
|
|
|
|
.IP "\fB-name\fP \fIstring\fP"
|
|
|
|
Set the name of the root window to ``string''. There is no default value.
|
|
|
|
Usually a name is assigned to a window so that the
|
|
|
|
window manager can use a text representation when the window is iconified.
|
|
|
|
This option is unused since you can't iconify the background.
|
2018-05-21 12:29:41 -06:00
|
|
|
.IP "\fB-d, -display\fP \fIdisplay\fP"
|
2006-11-26 07:43:35 -07:00
|
|
|
Specifies the server to connect to; see \fIX(__miscmansuffix__)\fP.
|
|
|
|
.SH "SEE ALSO"
|
2013-03-09 08:16:14 -07:00
|
|
|
X(__miscmansuffix__), xset(__appmansuffix__), xrdb(__appmansuffix__), Xcursor(__libmansuffix__)
|
2006-11-26 07:43:35 -07:00
|
|
|
.SH AUTHOR
|
|
|
|
Mark Lillibridge, MIT Project Athena
|