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