Re: Customizing the look on Linux
"Aaron W. Hsu" <[email protected]> Wed, 13 Apr 2011 17:31:01 -0400
| Newsgroups | gmane.editors.nedit.user |
|---|---|
| Organization | Indiana University |
| Message-ID | <op.vtwbdzxs0p3ku8@localhost> |
On Wed, 13 Apr 2011 14:28:10 -0400, Wendell P <[email protected]> wrote: > How to take 15 years off NEdit's looks > http://www.nedit.org/technotes/looks-1.php > > This technote makes some helpful suggestions for .Xresource settings to > improve the look of the interface, but there should be a warning that > things work differently on Linux. Not so much differently on Linux, as differently on newer versions of NEdit and different versions of Motif. Actually, I find that using LessTif is nothing but a problem. Most Linux distributions ship an okay version of OpenMotif -- either 2.1.3x or 2.3.x are okay. It's a much nicer experience than trying to work with LessTif. > I now have only one remaining configuration problem. I have not found a > combination of settings that would make the font in text-input boxes > match the text frame rather than the lists/menus. You can set the fontLists on text boxes to be different than what is used for Labels, which are what the menus and lists are based on. You can try setting *XmText.fontList and *XmTestField.fontList resources, and then using the *XmLabel.fontList for the lists and menus. I use something along these lines: *enableThinThickness: true *enableToggleVisual: true *enableToggleColor: true *XmToggleButton.indicatorSize: 11 *enableEtchedMenu: true *XmMenuShell*XmTearOffButton*ShadowThickness: 2 *background: grey90 *XmText.background: GhostWhite *XmTextField.background: GhostWhite *XmList.background: GhostWhite *XmFileSelectionBox.pathMode: path_mode_relative nedit*fontList: -misc-dejavu sans-medium-r-normal--17-120-100-100-p-0-iso10646-1 nedit.helpFont: -b&h-luxi serif-medium-r-normal--17-120-100-100-p-0-iso8859-1 nedit.boldHelpFont: -b&h-luxi serif-bold-r-normal--17-120-100-100-p-0-iso8859-1 nedit.italicHelpFont: -b&h-luxi serif-medium-o-normal--17-120-100-100-p-0-iso88$ nedit.fixedHelpFont: -b&h-luxi mono-medium-r-normal--17-120-100-100-m-0-iso8859$ nedit.boldFixedHelpFont: -b&h-luxi mono-bold-r-normal--17-120-100-100-m-0-iso88$ nedit.italicFixedHelpFont: -b&h-luxi mono-medium-o-normal--17-120-100-100-m-0-i$ nedit.h1HelpFont: luxi serif bold 16 points nedit.h2HelpFont: luxi serif bold 14 points nedit.h3HelpFont: luxi serif bold 12 points nedit.helpLinkFont: -b&h-luxi serif-medium-r-normal--17-120-100-100-p-0-iso8859$ nedit.stdOpenDialog: true nedit*FileSelect.pathMode: path_mode_relative Aaron W. Hsu -- Programming is just another word for the lost art of thinking. -- NEdit Discuss mailing list - [email protected] http://www.nedit.org/mailman/listinfo/discuss