Index of /~fujiik/mklinux/Packages/dr2.1/shared/xaw3d
Descriptions of the Current Directory
[0] Files
This directory contains the 3D version of the Athena Widget
Library (Xaw3d):
- Xaw3d-1.3.tar.gz: source codes
- Xaw3d-1.3-bin.tar.gz: precompiled binary package
[1] Installation Instructions
To use precompiled binaries, you have to first set up shared
libraries. To do this look at this and follow the instruction
given there.
What you have to do then is
- $ su
- # cd /
- # tar -zxpvf [somewhere]/Xaw3d-1.3-bin.tar.gz
Now replace the default 2D Xaw by the 3D Xaw3d
- # cd /usr/X11R6.3/lib
- # rm libXaw3d.a libXaw.so libXaw.so.6
- # ln -s libXaw3d.so.6.1 libXaw.so
- # ln -s libXaw3d.so.6.1 libXaw.so.6
so that X applications linked with shared libraries could use
the 3D Athena Widget set.
Try
- $ xterm -sb
- $ kterm -sb
- $ ghostview
to see if you get now 3D scrollbars and 3D buttons.
They look nicer, right?
- Note:
- The binary package was built with
- EXTRA_DEFINES = -DARROW_SCROLLBAR -DUSEGRAY
- so as to put arrows to both ends of any scrollbar and
to avoid ugly shading in case color allocation fails
due to other color-heavy applications (a must for 256
colors).