1XTEDDY(6) Games Manual XTEDDY(6)
2
3
4
6 xteddy - cuddly teddy bear for your X Windows desktop.
7
9 xteddy [ -wm -float -noquit -nocursor -F<file> ]
10 [ -geometry WIDTHxHEIGHT+X+Y -display SERVER ]
11 [ -h --help -v ]
12
14 Xteddy is a cuddly teddy bear for your X Windows desktop.
15
16 Normally, xteddy just sits around doing nothing. After all, that's what
17 teddy bears are for. Look at him, talk to him, place heavy windows on
18 top of him, zap him around until he becomes dizzy, do what you like; he
19 will always be your true (albeit virtual) friend.
20
21 You can move xteddy with the mouse by pointing at him and dragging him
22 around. When clicked upon, he will pop up on top of all other windows.
23 If you type "q" or "Esc" on him, he will exit (or, as I like to think
24 of it, be tucked away in the file system until you need him next time).
25
26 That's it. But he's cute.
27
29 -wm Use the window manager. Normally, xteddy sets the override_redi‐
30 rect flag for his window, which will cause most window managers
31 to ignore him. However, some window managers might have problems
32 coping with a window that is nailed directly to the root. In
33 that case, use this option. If possible, instruct your window
34 manager not to put any title bar or window frame on the window,
35 or xteddy will lose some of his charm.
36
37 -float Float up on top of overlapping windows. This will make xteddy
38 stay in sight at all times, so you won't lose him. However, this
39 is a bit intrusive and quite unlike a real teddy bear, so it is
40 not the default action.
41
42 -noquit
43 Disable the "quit" command (do not quit when typing "q" in the
44 window, but of course still on explicit window kills or process
45 kills). This might seem an unnecessary option, but if you use
46 the -wm option Xteddy might keep receiving keyboard events even
47 after the mouse has left his window. I you use the -wm option in
48 conjunction with a click-to-type window manager, you would prob‐
49 ably want to include this option.
50
51 -nocursor
52 Disable the X11 cursor over the xteddy window.
53
54 -F,-f < file > Display another image instead of xteddy. file can be
55 the full name of an image file which reasonably should contain a
56 transparent background. If there is no such file in the current
57 working directory xteddy searches in $(installation_pre‐
58 fix)/share/xteddy, where $(installation_prefix) is determined at
59 compile time (for instance /usr/X11R6). If this fails by
60 default /usr/share/xteddy is searched. Failing this,
61 /usr/local/share/xteddy is searched. If there is no such file
62 in these directories the following appendixes where appended to
63 the given name: xpm, png, tif, jpg, jpeg, gif and pnm. These
64 files will be searched in the three directories. If all files
65 the last try is to append the extensions in upper cases. '-F'
66 and '-f' are equivalent, and the space in '-f <file>' is
67 optional.
68
69 If no `-F` parameter is given file equals to xteddy or more precisely
70 to the name of the calling program. For instance if there is a symlink
71
72 ln -s xteddy xpenguin
73
74 then file equals to xpenguin and the appropriate pixmaps with the name
75 xpenguin are searched for.
76
77 -geometry
78 The standard X geometry specification. Only X and Y position
79 requests are honored. Any height and width specifications will
80 be ignored.
81
82 -display
83 Specify an X server other than the local display.
84
85 -h, --help
86 Print a help message and exit.
87
88 -v Print the version number and exit.
89
91 The cast of characters is currently: teddy xalex xbobo xbrummi
92 xcherubino xduck xhedgehog xklitze xnamu xorca xpenguin xpuppy
93 xruessel xteddy xtrouble.png xtrouble_large xtuxxy.
94
96 Stefan Gustavson, ISY-LiTH (stegu@itn.liu.se). Xteddy is distributed
97 under the GNU General Public License.
98
100 The Desktop Manager in Sun CDE (Common Desktop Environment) does not
101 like xteddy. Xteddy by default does not use the window manager, and so
102 he shows up as a sticky window on all desktops. If you don't like this,
103 and try to circumvent it by running him with the -wm option, move him
104 by grabbing him by the tummy instead of by the title bar, and then move
105 him partly off the screen, the image is lost and never redrawn again,
106 so all you see is a silhouette of a teddy bear. I have no idea why
107 this happens. If you know, please tell me, and if you can fix it,
108 please do. If you run CDE on other platforms than Sun, please tell me
109 if it works for you. CDE does something which xteddy does not handle
110 properly, and since I have a Sun with CDE myself I would like to know
111 what the problem is.
112
113 For most X servers, the -float option does not work properly if xteddy
114 is moved partially off the screen. This is the X server's fault, not
115 mine.
116
117 If two copies of xteddy are placed so they overlap, and both were run
118 with the -float option, the X server will try to put each on top of the
119 other in an endless loop, which looks very bad and takes a lot of CPU
120 power.
121
122 Xteddy does not make use of the X resource database. I just didn't get
123 around to that.
124
125 Please send bug reports, fixes, suggestions, fan mail or or hacks to:
126 stegu@itn.liu.se.
127
128
129
130X Version 11 25 May 2005 XTEDDY(6)