xcolorize man page on BSDOS

Man page or keyword search:  
man Server   6284 pages
apropos Keyword Search (all sections)
Output format
BSDOS logo
[printable version]



XCOLORIZE(1)					 XCOLORIZE(1)

NAME
       xcolorize - start X client with pleasant background color

SYNOPSIS
       xcolorize [-help] [-dark] [-only] [-rv] [-old|-oldsh|-sun]
       [command [args ...]]

DESCRIPTION
       The xcolorize program is used to give an X client  program
       a   pleasant  randomly  generated  background  color.   It
       inserts the appropriate -fg and -bg options in the  client
       command line.

OPTIONS
       -help   Prints a help message.

       -dark   Generates  a dark color background and white fore-
	       ground instead of the default pastel  color  back-
	       ground and black foreground.

       -only   Generates   only a  random  color  specification
	       instead	of  complete  foreground  and  background
	       color options.

       -rv     Reverses the  generated foreground and background
	       colors.

       -old    Generates the old #RRGGBB syntax instead	 of  the
	       newer  rgb:RR/GG/BB  syntax.  Useful for pre-X11R5
	       clients which don't understand the new syntax.

       -oldsh  Same as -old, but prefixes the # character with	a
	       backslash  to  prevent  it from being treated as a
	       shell comment character. This is sometimes useful
	       when  the  X client being colorized is implemented
	       as a shell script.

       -sun    Generates XView/SunView decimal RGB syntax.   Use-
	       ful when colorizing SunView and some XView clients
	       which don't understand X color syntax.

       command [args ...]
	       The generated color options are	inserted  between
	       the  command  and  the first argument supplied (if
	       any).  If no command is given, the generated color
	       options are written to stdout.

EXAMPLE
       Below  is an example .xinitrc file which uses xcolorize to
       make the screen more attractive:

	  xrdb -load $HOME/.Xresources
	  xcolorize -dark xterm -C -title Console -geometry 80x24+0+0 &
	  xsetroot -solid `xcolorize -dark -only`

X Version 11		Release 6				1

XCOLORIZE(1)					 XCOLORIZE(1)

	  xcolorize xclock -geometry 50x50-0+0 -bw 0 &
	  xcolorize -dark xload -geometry 50x50-50+0 -bw 0 &
	  xcolorize xterm -geometry 80x24+0-0 &
	  twm

SEE ALSO
       X(1)

AUTHOR
       David DiGiacomo, david@slack.com

BUGS
       The random color generation algorithm is not very good.

       There should be a way  to  generate  both  foreground  and
       background colors (non-clashing).

       If  you colorize too many applications you'll fill up your
       colormap.

X Version 11		Release 6				2

[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server BSDOS

List of man pages available for BSDOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net