"pwa" == Paul W Abrahams <abrahams@valinet.com> writes:
Oh, the joy of the world of X resources... You want to play with the command 'editres'. It's part of the X distribution, so you should have it. X resources are hierarchical. Capitalization matters. The below sets the foreground of _every_ widget that does not have a more specific resorce to black. This is the elephant gun approach. It also works, and is very easy. Try running editres, and using the "Commands => Get Tree" menu option. Then click in some Xt application. Netscape is a good candidate. You'll see the widget tree. Select a node in the tree, and "Commands => Show Resource Box". Start playing. The 'editres' man page is good. There's a section on X resources in the X11 man page. Search for "RESOURCES". Also, the 'xrdb' man page is worth reading. This is one of the most flexible, functional, configurable, and confusing parts of X. ericb pwa> Stefan Troeger wrote:
Hi,
On Thu, Mar 30 2000 at 10:41 -0500, Paul W. Abrahams wrote:
I'd like to change the colors used in Acrobat Reader's menus from that hard-to-read black on gray to something else. I assume I can do that by putting the appropriate incantations in .Xresources. Does anyone know what the correct name of the resource is?
Try
acroread*background: grey75 acroread*foreground: black
pwa> That worked perfectly - thanks. But how did you know what pwa> the resource name was? Is it necessarily the same as that pwa> of the program? I didn't think so - and I looked through pwa> all the Acrobat documentation I could lay my hands on for pwa> the answer. pwa> Paul Abrahams pwa> -- pwa> To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com pwa> For additional commands send e-mail to suse-linux-e-help@suse.com pwa> Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/