Hello community, here is the log from the commit of package xsetroot for openSUSE:Factory checked in at 2013-02-11 11:17:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xsetroot (Old) and /work/SRC/openSUSE:Factory/.xsetroot.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xsetroot", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/xsetroot/xsetroot.changes 2012-05-08 12:08:23.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.xsetroot.new/xsetroot.changes 2013-02-11 11:17:53.000000000 +0100 @@ -1,0 +2,15 @@ +Sun Feb 10 15:09:20 UTC 2013 - [email protected] + +- Update to version 1.1.1: + + Add -version option. + + Combine usage message strings. + + Config: + - Add missing AC_CONFIG_SRCDIR. + - Move man pages into their own directory. + - Replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS. + + man: + - Replace hard coded man page section with substitution strings + - Remove trailing spaces and tabs. +- Add pkgconfig(xproto) BuildRequires, new dependency. + +------------------------------------------------------------------- Old: ---- xsetroot-1.1.0.tar.bz2 New: ---- xsetroot-1.1.1.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xsetroot.spec ++++++ --- /var/tmp/diff_new_pack.1PwFwg/_old 2013-02-11 11:18:27.000000000 +0100 +++ /var/tmp/diff_new_pack.1PwFwg/_new 2013-02-11 11:18:27.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package xsetroot # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,13 +15,14 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: xsetroot -Version: 1.1.0 +Version: 1.1.1 Release: 0 -License: MIT Summary: Utility to set X root window parameter -Url: http://xorg.freedesktop.org/ +License: MIT Group: System/X11/Utilities +Url: http://xorg.freedesktop.org/ Source0: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2 BuildRequires: pkg-config BuildRequires: pkgconfig(x11) @@ -29,6 +30,7 @@ BuildRequires: pkgconfig(xcursor) BuildRequires: pkgconfig(xmuu) BuildRequires: pkgconfig(xorg-macros) >= 1.8 +BuildRequires: pkgconfig(xproto) >= 7.0.17 # This was part of the xorg-x11 package up to version 7.6 Conflicts: xorg-x11 <= 7.6 BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++ xsetroot-1.1.0.tar.bz2 -> xsetroot-1.1.1.tar.bz2 ++++++ ++++ 10212 lines of diff (skipped) ++++ retrying with extended exclude list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xsetroot-1.1.0/ChangeLog new/xsetroot-1.1.1/ChangeLog --- old/xsetroot-1.1.0/ChangeLog 2010-10-30 20:47:29.000000000 +0200 +++ new/xsetroot-1.1.1/ChangeLog 2013-01-23 08:03:41.000000000 +0100 @@ -1,3 +1,83 @@ +commit a33c612c5ff84ba2d6004d99e96ec6919bb8e859 +Author: Alan Coopersmith <[email protected]> +Date: Tue Jan 22 23:02:52 2013 -0800 + + xsetroot 1.1.1 + + Signed-off-by: Alan Coopersmith <[email protected]> + +commit d8cb397df5ecb94e7b0ea05d2407f4334a36eb87 +Author: Alan Coopersmith <[email protected]> +Date: Sun Jan 13 11:06:39 2013 -0800 + + Add -version option + + Signed-off-by: Alan Coopersmith <[email protected]> + +commit 1636536e4d158e994f045133267ae9b4b278c4f3 +Author: Alan Coopersmith <[email protected]> +Date: Sun Jan 13 10:33:36 2013 -0800 + + Combine usage message strings + + Signed-off-by: Alan Coopersmith <[email protected]> + +commit 84053f70451876dfadef1c718cdbbbb319f7f2d2 +Author: Alan Coopersmith <[email protected]> +Date: Sun Jan 13 10:30:25 2013 -0800 + + Mark usage with _X_NORETURN to quiet -Wmissing-noreturn warning + + Signed-off-by: Alan Coopersmith <[email protected]> + +commit 0e85edbfe016c4a243ced32d0dcb01f7286b60a1 +Author: Alan Coopersmith <[email protected]> +Date: Sun Jan 13 10:23:38 2013 -0800 + + config: Add missing AC_CONFIG_SRCDIR + + Regroup AC statements under the Autoconf initialization section. + Regroup AM statements under the Automake initialization section. + + Signed-off-by: Alan Coopersmith <[email protected]> + +commit ea2109024da4c41d02bec39e131ef7c895ee063c +Author: Gaetan Nadon <[email protected]> +Date: Wed Jan 19 10:06:57 2011 -0500 + + config: move man pages into their own directory + + Use services provided by XORG_MANPAGE_SECTIONS. + Use standard Makefile for man pages. + + Signed-off-by: Gaetan Nadon <[email protected]> + +commit f659a905e38aa5af4e9ec90b89c11201775a6409 +Author: Gaetan Nadon <[email protected]> +Date: Thu Jan 13 17:15:37 2011 -0500 + + man: replace hard coded man page section with substitution strings + + Signed-off-by: Gaetan Nadon <[email protected]> + +commit bffeb4c9e2f789e4631a8b4792df37a6fc76944f +Author: Gaetan Nadon <[email protected]> +Date: Thu Jan 13 11:15:48 2011 -0500 + + man: remove trailing spaces and tabs + + Using s/[ \t]*$// + + Signed-off-by: Gaetan Nadon <[email protected]> + +commit 6f6440af318df83bda8ffd3f31e8c2852e52c879 +Author: Gaetan Nadon <[email protected]> +Date: Wed Jan 12 16:28:02 2011 -0500 + + config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS + + This silences an Autoconf warning + commit 0c55a8f8edabef5ccd9930048df7d3aecd551d54 Author: Alan Coopersmith <[email protected]> Date: Sat Oct 30 11:47:05 2010 -0700 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xsetroot-1.1.0/Makefile.am new/xsetroot-1.1.1/Makefile.am --- old/xsetroot-1.1.0/Makefile.am 2010-10-30 20:36:25.000000000 +0200 +++ new/xsetroot-1.1.1/Makefile.am 2013-01-23 08:03:17.000000000 +0100 @@ -19,6 +19,7 @@ # TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. +SUBDIRS = man bin_PROGRAMS = xsetroot AM_CFLAGS = $(CWARNFLAGS) $(XSETROOT_CFLAGS) @@ -27,18 +28,7 @@ xsetroot_SOURCES = \ xsetroot.c -appman_PRE = \ - xsetroot.man - - -appmandir = $(APP_MAN_DIR) - -appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@) - -EXTRA_DIST = $(appman_PRE) MAINTAINERCLEANFILES = ChangeLog INSTALL -CLEANFILES = $(appman_DATA) - .PHONY: ChangeLog INSTALL @@ -50,12 +40,6 @@ dist-hook: ChangeLog INSTALL -SUFFIXES = .$(APP_MAN_SUFFIX) .man - -# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure -.man.$(APP_MAN_SUFFIX): - $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@ - if LINT ALL_LINT_FLAGS=$(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xsetroot-1.1.0/configure.ac new/xsetroot-1.1.1/configure.ac --- old/xsetroot-1.1.0/configure.ac 2010-10-30 20:46:50.000000000 +0200 +++ new/xsetroot-1.1.1/configure.ac 2013-01-23 08:03:17.000000000 +0100 @@ -21,9 +21,14 @@ dnl dnl Process this file with autoconf to create configure. +# Initialize Autoconf AC_PREREQ([2.60]) -AC_INIT([xsetroot], [1.1.0], +AC_INIT([xsetroot], [1.1.1], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], [xsetroot]) +AC_CONFIG_SRCDIR([Makefile.am]) +AC_CONFIG_HEADERS([config.h]) + +# Initialize Automake AM_INIT_AUTOMAKE([foreign dist-bzip2]) AM_MAINTAINER_MODE @@ -31,14 +36,14 @@ m4_ifndef([XORG_MACROS_VERSION], [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])]) XORG_MACROS_VERSION(1.8) - -AM_CONFIG_HEADER(config.h) - XORG_DEFAULT_OPTIONS # Checks for pkg-config packages -PKG_CHECK_MODULES(XSETROOT, xmuu x11 xbitmaps xcursor) +PKG_CHECK_MODULES(XSETROOT, [xmuu x11 xbitmaps xcursor xproto >= 7.0.17]) XORG_WITH_LINT -AC_OUTPUT([Makefile]) +AC_CONFIG_FILES([ + Makefile + man/Makefile]) +AC_OUTPUT diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xsetroot-1.1.0/man/Makefile.am new/xsetroot-1.1.1/man/Makefile.am --- old/xsetroot-1.1.0/man/Makefile.am 1970-01-01 01:00:00.000000000 +0100 +++ new/xsetroot-1.1.1/man/Makefile.am 2013-01-23 08:03:17.000000000 +0100 @@ -0,0 +1,12 @@ + +appmandir = $(APP_MAN_DIR) +appman_PRE = xsetroot.man +appman_DATA = $(appman_PRE:man=$(APP_MAN_SUFFIX)) + +EXTRA_DIST = $(appman_PRE) +CLEANFILES = $(appman_DATA) +SUFFIXES = .$(APP_MAN_SUFFIX) .man + +# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure +.man.$(APP_MAN_SUFFIX): + $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xsetroot-1.1.0/man/xsetroot.man new/xsetroot-1.1.1/man/xsetroot.man --- old/xsetroot-1.1.0/man/xsetroot.man 1970-01-01 01:00:00.000000000 +0100 +++ new/xsetroot-1.1.1/man/xsetroot.man 2013-01-23 08:03:17.000000000 +0100 @@ -0,0 +1,115 @@ +.\" Copyright 1988, 1998 The Open Group +.\" +.\" 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. +.\" +.\" The above copyright notice and this permission notice shall be included +.\" in all copies or substantial portions of the Software. +.\" +.\" 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. +.\" +.\" 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 +[-help] [-version] [-def] [-display \fIdisplay\fP] +[-cursor \fIcursorfile maskfile\fP] +[-cursor_name \fIcursorname\fP] +[-xcf \fIcursorfile\fP \fIcursorsize\fP] +[-bitmap \fIfilename\fP] +[-mod \fIx y\fP] [-gray] [-grey] [-fg \fIcolor\fP] [-bg \fIcolor\fP] [-rv] +[-solid \fIcolor\fP] [-name \fIstring\fP] +.SH DESCRIPTION +The +.I xsetroot +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 +Only one of the background color/tiling changing options +(-solid, -gray, -grey, -bitmap, and -mod) may be specified at a time. +.SH OPTIONS +.PP +The various options are as follows: +.IP \fB-help\fP +Print a usage message and exit. +.IP \fB-verson\fP +Print a version message and exit. +.IP \fB-def\fP +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 +.I bitmap(__appmansuffix__) +program. You probably want the mask file to be all black until you +get used to the way masks work. +.IP "\fB-cursor_name\fP \fIcursorname\fP +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). +.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. +.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 +.I bitmap(__appmansuffix__) +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. +.IP \fB-gray\fP +Make the entire background gray. (Easier on the eyes.) +.IP \fB-grey\fP +Make the entire background grey. +.IP "\fB-fg\fP \fIcolor\fP" +Use ``color'' as the foreground color. Foreground and background colors +are meaningful only in combination with -cursor, -bitmap, or -mod. +.IP "\fB-bg\fP \fIcolor\fP" +Use ``color'' as the background color. +.IP \fB-rv\fP +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. +.IP "\fB-display\fP \fIdisplay\fP" +Specifies the server to connect to; see \fIX(__miscmansuffix__)\fP. +.SH "SEE ALSO" +X(__miscmansuffix__), xset(__appmansuffix__), xrdb(__appmansuffix__), Xcursor(__libmansuffix__) +.SH AUTHOR +Mark Lillibridge, MIT Project Athena diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xsetroot-1.1.0/xsetroot.c new/xsetroot-1.1.1/xsetroot.c --- old/xsetroot-1.1.0/xsetroot.c 2010-10-22 03:00:40.000000000 +0200 +++ new/xsetroot-1.1.1/xsetroot.c 2013-01-23 08:03:17.000000000 +0100 @@ -32,6 +32,10 @@ * 11-Jun-87 */ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include <X11/Xlib.h> #include <X11/Xutil.h> #include <X11/Xatom.h> @@ -55,7 +59,7 @@ static int unsave_past = 0; static Pixmap save_pixmap = (Pixmap)None; -static void usage(void); +static void usage(void) _X_NORETURN; static void FixupState(void); static void SetBackgroundToBitmap(Pixmap bitmap, unsigned int width, unsigned int height); @@ -69,22 +73,24 @@ static void usage(void) { - fprintf(stderr, "usage: %s [options]\n", program_name); - fprintf(stderr, " where options are:\n"); - fprintf(stderr, " -display <display> or -d <display>\n"); - fprintf(stderr, " -fg <color> or -foreground <color>\n"); - fprintf(stderr, " -bg <color> or -background <color>\n"); - fprintf(stderr, " -rv or -reverse\n"); - fprintf(stderr, " -help\n"); - fprintf(stderr, " -def or -default\n"); - fprintf(stderr, " -name <string>\n"); - fprintf(stderr, " -cursor <cursor file> <mask file>\n"); - fprintf(stderr, " -cursor_name <cursor-font name>\n"); - fprintf(stderr, " -xcf <ARGB cursor file> <cursor size>\n"); - fprintf(stderr, " -solid <color>\n"); - fprintf(stderr, " -gray or -grey\n"); - fprintf(stderr, " -bitmap <filename>\n"); - fprintf(stderr, " -mod <x> <y>\n"); + fprintf(stderr, "usage: %s [options]\n%s\n", program_name, + " where options are:\n" + " -display <display> or -d <display>\n" + " -fg <color> or -foreground <color>\n" + " -bg <color> or -background <color>\n" + " -rv or -reverse\n" + " -def or -default\n" + " -name <string>\n" + " -cursor <cursor file> <mask file>\n" + " -cursor_name <cursor-font name>\n" + " -xcf <ARGB cursor file> <cursor size>\n" + " -solid <color>\n" + " -gray or -grey\n" + " -bitmap <filename>\n" + " -mod <x> <y>\n" + " -help\n" + " -version\n" + ); exit(1); /*NOTREACHED*/ } @@ -124,6 +130,10 @@ if (!strcmp("-help", argv[i])) { usage(); } + if (!strcmp("-version", argv[i])) { + printf("%s\n", PACKAGE_STRING); + exit(0); + } if (!strcmp("-def", argv[i]) || !strcmp("-default", argv[i])) { restore_defaults = 1; continue; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xsetroot-1.1.0/xsetroot.man new/xsetroot-1.1.1/xsetroot.man --- old/xsetroot-1.1.0/xsetroot.man 2010-10-30 20:43:36.000000000 +0200 +++ new/xsetroot-1.1.1/xsetroot.man 1970-01-01 01:00:00.000000000 +0100 @@ -1,113 +0,0 @@ -.\" Copyright 1988, 1998 The Open Group -.\" -.\" 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. -.\" -.\" The above copyright notice and this permission notice shall be included -.\" in all copies or substantial portions of the Software. -.\" -.\" 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. -.\" -.\" 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 -[-help] [-def] [-display \fIdisplay\fP] -[-cursor \fIcursorfile maskfile\fP] -[-cursor_name \fIcursorname\fP] -[-xcf \fIcursorfile\fP \fIcursorsize\fP] -[-bitmap \fIfilename\fP] -[-mod \fIx y\fP] [-gray] [-grey] [-fg \fIcolor\fP] [-bg \fIcolor\fP] [-rv] -[-solid \fIcolor\fP] [-name \fIstring\fP] -.SH DESCRIPTION -The -.I xsetroot -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 -Only one of the background color/tiling changing options -(-solid, -gray, -grey, -bitmap, and -mod) may be specified at a time. -.SH OPTIONS -.PP -The various options are as follows: -.IP \fB-help\fP -Print a usage message and exit. -.IP \fB-def\fP -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 -.I bitmap(1) -program. You probably want the mask file to be all black until you -get used to the way masks work. -.IP "\fB-cursor_name\fP \fIcursorname\fP -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). -.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. -.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 -.I bitmap(1) -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. -.IP \fB-gray\fP -Make the entire background gray. (Easier on the eyes.) -.IP \fB-grey\fP -Make the entire background grey. -.IP "\fB-fg\fP \fIcolor\fP" -Use ``color'' as the foreground color. Foreground and background colors -are meaningful only in combination with -cursor, -bitmap, or -mod. -.IP "\fB-bg\fP \fIcolor\fP" -Use ``color'' as the background color. -.IP \fB-rv\fP -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. -.IP "\fB-display\fP \fIdisplay\fP" -Specifies the server to connect to; see \fIX(__miscmansuffix__)\fP. -.SH "SEE ALSO" -X(__miscmansuffix__), xset(1), xrdb(1), Xcursor(__libmansuffix__) -.SH AUTHOR -Mark Lillibridge, MIT Project Athena -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
