1gltext(6x) XScreenSaver manual gltext(6x)
2
3
4
6 gltext - draws text spinning around in 3D
7
9 gltext [-display host:display.screen] [-window] [-root] [-visual vis‐
10 ual] [-delay microseconds] [-text string] [-program command] [-wander]
11 [-no-wander] [-spin axes] [-no-spin] [-front] [-no-front] [-wireframe]
12 [-fps]
13
15 The gltext program draws some text spinning around in 3D, using a font
16 that appears to be made of solid tubes.
17
19 gltext accepts the following options:
20
21 -window Draw on a newly-created window. This is the default.
22
23 -root Draw on the root window.
24
25 -install
26 Install a private colormap for the window.
27
28 -visual visual
29 Specify which visual to use. Legal values are the name of a
30 visual class, or the id number (decimal or hex) of a specific
31 visual.
32
33 -text string
34 The text to display. This may contain newlines, but it
35 shouldn't be very long. The default is to display the machine
36 name and OS version.
37
38 This may also be a format string acceptable to date(1) and
39 strftime(3), in which case, it will be updated once a second.
40 So to make this program display a spinning digital clock, you
41 could do this:
42 gltext -text "%A%n%d %b %Y%n%l:%M:%S %p"
43 To include a literal `%', you must double it: `%%'.
44
45 See the man page for strftime(3) for more details.
46
47 -program command
48 The given program is run, and its output is displayed. If
49 specified, this overrides -text. The program will be re-run
50 every 5 seconds to re-generate the text. It should run
51 quickly, and shouldn't generate too much text.
52
53 -wander Move the text around the screen. This is the default.
54
55 -no-wander
56 Keep the text centered on the screen.
57
58 -spin Which axes around which the text should spin. The default is
59 "XYZ", meaning rotate it freely in space. "-spin Z" would
60 rotate the text in the plane of the screen while not rotating
61 it into or out of the screen; etc.
62
63 -no-spin
64 Don't spin the text at all: the same as -spin "".
65
66 -front When spinning, never spin all the way around or upside down:
67 always face mostly forward so that the text is easily readable.
68
69 -no-front
70 Allow spins to go all the way around or upside down. This is
71 the default.
72
73 -wireframe
74 Render in wireframe instead of solid.
75
76 -fps Display a running tally of how many frames per second are being
77 rendered. In conjunction with -delay 0, this can be a useful
78 benchmark of your GL performance.
79
81 DISPLAY to get the default host and display number.
82
83 XENVIRONMENT
84 to get the name of a resource file that overrides the global
85 resources stored in the RESOURCE_MANAGER property.
86
88 X(1), xscreensaver(1)
89
91 Copyright © 2001-2005 by Jamie Zawinski. Permission to use, copy, mod‐
92 ify, distribute, and sell this software and its documentation for any
93 purpose is hereby granted without fee, provided that the above copy‐
94 right notice appear in all copies and that both that copyright notice
95 and this permission notice appear in supporting documentation. No rep‐
96 resentations are made about the suitability of this software for any
97 purpose. It is provided "as is" without express or implied warranty.
98
100 Jamie Zawinski <jwz@jwz.org>
101
102
103
104X Version 11 5.05-3 (06-Apr-2008) gltext(6x)