A while ago we where discussing X and .Xdefaults and I discovered that some people might want some of my settings for X If you type use KDE it can be anoying the way you X applications look and feel is modified by apply changes to all X windows deleting some of your changes to the ~/.Xdefaults file. (I now use ice which is well customised now maybe I should post my theme some time to themes.org or even here) at the end of the ~/.Xdefaults file on my account you will see the line <Quote> #include "etc/X/Xresorces/Main" </Quote> This prevents programs overwriting my Xdefault which I set So fav I have only set up a couple of programs The links to a file called Main which further links to setups for 4 applications and looks like <Quote> #include "XTerm" #include "Nedit" #include "Netscape" #include "Ddd" </Quote> The files XTerm Nedit Netscape and Ddd have appended I hope this will improve the look of your X enviroment, The support for wheel mouse in Xterms and Nedit is now an essential for me. Enjoy Owen ------------------filedelimiter----------------------- Ddd ------------------filedelimiter----------------------- Ddd*XmText.background: black Ddd*XmText.foreground: white ------------------filedelimiter----------------------- Nedit ------------------filedelimiter----------------------- !========================================================================== ! NeDiT Settings from OMS !========================================================================== ! NEdit*fontList: -*-lucidatypewriter-bold-r-*-*-17-*-*-*-*-*-*-* NEdit*text.selectForeground: red nedit*text.selectBackground: gray80 nedit*text.highlightBackground: red nedit*text.highlightForeground: white nedit.remapDeleteKey: False # NEdit NEdit*text.Translations: #override\n\ Shift<Btn4Down>,<Btn4Up>: scroll_up(1)\n\ Shift<Btn5Down>,<Btn5Up>: scroll_down(1)\n\ Ctrl<Btn4Down>,<Btn4Up>: previous_page()\n\ Ctrl<Btn5Down>,<Btn5Up>: next_page(1)\n\ <Btn4Down>,<Btn4Up>: scroll_up(3)\n\ <Btn5Down>,<Btn5Up>: scroll_down(3)\n nedit.stdOpenDialog: True ------------------filedelimiter----------------------- Netscape ------------------filedelimiter----------------------- !## NETSCAPE Netscape*drawingArea.translations: #replace \ <Btn1Down>: ArmLink() \n\ <Btn2Down>: ArmLink() \n\ ~Shift<Btn1Up>: ActivateLink() \n\ ~Shift<Btn2Up>: ActivateLink(new-window) \ DisarmLink() \n\ Shift<Btn1Up>: ActivateLink(save-only) \ DisarmLink() \n\ Shift<Btn2Up>: ActivateLink(save-only) \ DisarmLink() \n\ <Btn1Motion>: DisarmLinkIfMoved() \n\ <Btn2Motion>: DisarmLinkIfMoved() \n\ <Btn3Motion>: DisarmLinkIfMoved() \n\ <Motion>: DescribeLink() \n\ <Btn3Down>: xfeDoPopup() \n\ <Btn3Up>: ActivatePopup() \n\ Ctrl<Btn4Down>: PageUp()\n\ Ctrl<Btn5Down>: PageDown()\n\ Shift<Btn4Down>: LineUp()\n\ Shift<Btn5Down>: LineDown()\n\ None<Btn4Down>: LineUp()LineUp()LineUp()LineUp()LineUp()LineUp()\n\ None<Btn5Down>: LineDown()LineDown()LineDown()LineDown()LineDown()LineDown()\n\ Alt<Btn4Down>: xfeDoCommand(forward)\n\ Alt<Btn5Down>: xfeDoCommand(back)\n Netscape*globalNonTextTranslations: #override\n\ Shift<Btn4Down>: LineUp()\n\ Shift<Btn5Down>: LineDown()\n\ None<Btn4Down>:LineUp()LineUp()LineUp()LineUp()LineUp()LineUp()\n\ None<Btn5Down>:LineDown()LineDown()LineDown()LineDown()LineDown()LineDown()\n\ Alt<Btn4Down>: xfeDoCommand(forward)\n\ Alt<Btn5Down>: xfeDoCommand(back)\n ------------------filedelimiter----------------------- XFMail ------------------filedelimiter----------------------- !========================================================================== ! XFMail Settings from OMS !========================================================================== ! xfmail*text.Translations: #override\n\ <Btn4Down>,<Btn4Up>:a\n\ <Btn5Down>,<Btn5Up>:a\n\ ------------------filedelimiter----------------------- XTerm ------------------filedelimiter----------------------- ! =========================================================================== ! Basic !=========================================================================== !Changed as to big a window on display !.xterm.geometry: 80x45 .xterm.geometry: 78x18 .xterm.vt100.background: black .xterm.vt100.foreground: grey .xterm.vt100.color0: #000000 .xterm.vt100.color1: #d36265 .xterm.vt100.color2: #aece91 .xterm.vt100.color3: #e7e18c .xterm.vt100.color4: #7a7ab0 .xterm.vt100.color5: #963c59 .xterm.vt100.color6: #418179 .xterm.vt100.color7: gray .xterm.vt100.color8: gray40 .xterm.vt100.color9: #ef8171 .xterm.vt100.color10: #e5f779 .xterm.vt100.color11: #fff796 .xterm.vt100.color12: #4186be .xterm.vt100.color13: #ef9ebe .xterm.vt100.color14: #71bebe .xterm.vt100.color15: white .xterm*fontMenu*background: green ! =========================================================================== ! Motif ! =========================================================================== !*XmText.translations: #override\n\ ! <Key>osfDelete: delete-previous-character()\n\ ! <Key>osfBackSpace: delete-next-character()\n ! !*XmTextField.translations: #override\n\ ! <Key>osfDelete: delete-next-character()\n\ ! <Key>osfBackSpace: delete-previous-character()\n ! =========================================================================== ! XTerm ! =========================================================================== !*vt100.translations: #override \ ! <Key>Home: string("[1~") \n\ ! <Key>Insert: string("[2~") \n\ ! <Key>BackSpace: string("[3~") \n\ ! <Key>End: string("[4~") !============================================================================= ! xterm defaults from OMS !============================================================================= ! ! !# In the scrollbar we map buttons 5 & 4 to 1 and 2 otherwise, core dump !# This will move proportionnaly to cursor position but we dont know how to !# program the same exact behavior as in the text widget. XTerm.vt100.Scrollbar.translations: #override\n\ <Btn5Down>: StartScroll(Forward)\n\ <Btn4Down>: StartScroll(Backward)\n\ XTerm.vt100.translations: #override\n\ Shift<Btn4Down>,<Btn4Up>:scroll-back(1,line)\n\ Shift<Btn5Down>,<Btn5Up>:scroll-forw(1,line)\n\ Ctrl<Btn4Down>,<Btn4Up>:scroll-back(1,page)\n\ Ctrl<Btn5Down>,<Btn5Up>:scroll-forw(1,page)\n\ <Btn4Down>,<Btn4Up>:scroll-back(1,halfpage)\n\ <Btn5Down>,<Btn5Up>:scroll-forw(1,halfpage)\n\ ! xterm (and friends) XTerm*highlightSelection: true ! Uncomment this to use color for the bold attribute XTerm*VT100*colorBDMode: on XTerm*VT100*colorBD: blue ! Uncomment this to use color for underline attribute XTerm.VT100*colorULMode: on XTerm.VT100*underLine: off XTerm*VT100*colorUL: magenta ! Uncomment this to display the scrollbar XTerm*scrollBar: true ! This resource specifies whether or not to ignore the 'alternate screen' ! of applications such as vi. When it is on, these applications will restore ! the contents of the screen when they are exited to what they were before ! they were started. When it is off, the contents of vi will remain on the ! screen after the program is quit. XTerm.VT100.titeInhibit: true ! Uncomment this to turn off color mode in your xterms !XTerm.VT100*colorMode: off XTerm.VT100*dynamicColors: on ! Number of lines of scrollback to save XTerm*saveLines: 1500 xterm*reverseWrap: true !*visualBell: true *visualBell: False *scrollTtyOutput: False *scrollKey: True !XTerm.vt100.Scrollbar.translations: #override\n\ ! <Btn5Down>: StartScroll(Forward)\n\ ! <Btn4Down>: StartScroll(Backward)\n\ xterm*background: LightYellow2 xterm.eightBitInput: true xterm*multiScroll: on xterm*jumpScroll: on xterm*ScrollBar: on xterm*SaveLines: 2000 ! xterm*VisualBell: true xterm.eightBitOutput: true !xterm*font: -adobe-courier-bold-r-normal--14-140-75-75-m-90-iso8859-1 !xterm*font: -bitstream-terminal-bold-r-normal--14-140-75-75-m-90-iso8859-1 xterm*font: 10x20 !This Stuff was cut from the top XTerm*Scrollbar*width: 16 XTerm*Scrollbar*height: 16 XTerm*Scrollbar*shadowWidth: 2 XTerm*Scrollbar*borderWidth: 3 XTerm*RightScrollBar: True *Scrollbar*width: 15 *Scrollbar*height: 15 *Scrollbar*shadowWidth: 2 *Scrollbar*borderWidth: 2 *Scrollbar*cursorName: top_left_arrow *Scrollbar*pushThumb: false *Label*shadowWidth: 2 *Label*borderWidth: 2 *shapeStyle: Rectangle *shadowWidth: 2 *SmeBSB*shadowWidth: 2 *Toggle*highlightThickness: 2 *MenuButton*highlightThickness: 2 *Command*highlightThickness: 2 *Panner*shadowThickness: 2 *SimpleMenu*shadowThickness: 2 *topShadowContrast: 20 *bottomShadowContrast: 45 *PushThumb: False ------------------filedelimiter----------------------- please note that I have included the Files in the body of the text to avoid hastle, if the delimiter confuses you you can always mail me for the raw files Owen Date: 07-Jul-01 Time: 14:03:59