pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Icons missing on my pixmap app



jspath55%gmail.com@localhost (Jim Spath) writes:

>I wanted to create a few small icons and built graphics/pixmap from
>pkgsrc. It's ancient code that produces XPM files. But the buttons
>have only text, not the expected images. The package does not seem to
>depend on anything else, like Xaw3d that I vaguely recall handles menu
>images.

The package includes an app-defaults file:

/usr/pkg/lib/X11/app-defaults/Pixmap

But the native X toolkit looks for it at /usr/X11R7/lib/X11/app-defaults/.

You can

- copy the file to the native directory.
- set XAPPLRESDIR to /usr/pkg/lib/X11/app-defaults
- set your own XAPPLRESDIR (e.g. $HOME/.app-defaults) and copy the file there.

You can also play with XFILESEARCHPATH, e.g.:

export XFILESEARCHPATH=\
%D:\
/usr/X11R7/lib/X11/%T/%N%S:\
/usr/pkg/lib/X11/%L/%T/%N%C%S:\
/usr/pkg/lib/X11/%l/%T/%N%C%S:\
/usr/pkg/lib/X11/%T/%N%C%S:\
/usr/pkg/lib/X11/%L/%T/%N%S:\
/usr/pkg/lib/X11/%l/%T/%N%S:\
/usr/pkg/lib/X11/%T/%N%S



Home | Main Index | Thread Index | Old Index