How to change window background color, font size, menubar style etc on all Motif apps without CDE?

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

2 posts / 0 new
Last post
How to change window background color, font size, menubar style etc on all Motif apps without CDE?

Submitted by Anonymous on Sun, 12/05/2010 - 20:48. General Questions
These screenshots show different Motif/OpenMotif windows with and without CDE. The font size, window background colour, button color, menubar bevel edges etc. look different:

http://www.cs.trinity.edu/~knickels/howto/solaris_linux_oct04/cde_termin...
http://mobile.osnews.com/img/18941/cde.gif
http://www.shakthimaan.com/installs/freerunner-debug-images/ddd-openocd-...

Is those values set by MWM, CDE or some "general" Motif configuration file? I guess CDE can be used to change colors, font and so on for all Motif apps, but how can this be changed on platforms without CDE or when using other window managers?

In GTK/Gnome it is quite easy to choose a theme and then it changes for all GTK apps - there must be a similar way with Motif applications?

I have been wondering about this for quite some time, searching the internet for several hours with no answers :(

dpeterc

You can change these widget resources (background color, font, ...) by command line options or by setting up a resource file. You con do this globally for all motif applications which share this resource, or separately for each application.
http://www.cs.cf.ac.uk/Dave/X_lecture/node7.html
http://www.faqs.org/faqs/x-faq/part2/section-22.html
and try some more googling, there are many pages which explain this.