!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! ! The Basics: ! ! ! ! Each entry in the .Xdefaults file is called a "resource". Each x-client ! ! has a number of "application resources" associated with it which control ! ! how its default behavior. The system application defaults for most oft- ! ! used x-clients are traditionally kept in the system directory ! ! ! ! /usr/lib/X11/app-defaults ! ! ! ! You can cd to this directory and look around if you like. You will see ! ! things like Xgopher, Mosaic, XTerm, etc. These contain the default ! ! application resources for the associated programs. X-window system ! ! is infinitely customizable in that it allows each user to change the way ! ! each x-client has been configured by your system administrator. This is ! ! done via the .Xdefaults file in your home directory. ! ! ! ! The format of resource specification is as follows: ! ! ! ! |*: ! ! ! ! where: ! ! ! ! program name (X or GL) ! ! instance name of program ! ! resource name ! ! value assigned to resource ! ! ! ! REFERENCES ! ! ! ! For a full description of resource settings (there's a LOT more), ! ! see the 4Dwm(1X) and mwm(1X) man pages, as well the two books, ! ! "OSF/Motif Programmer's Guide" (especially Part II, Motif Window ! ! Manager, Chapter 5, Managing Menus, Mouse Buttons, and Keyboard ! ! Bindings), and O'Reilly, Vol. 3, "X Window System User's Guide." ! ! ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! The following defaults change the behavior of clients using the ! X libraries (including xv, everything): !*background: black !*foreground: grey90 ! Xterm, rxvt, etc. ! If you use the following "Foreground" (ie. capitalized) it over-rides ! all other colours! xterm*foreground: light grey rxvt*foreground: light grey aterm*foreground: light grey xterm*background: black !rxvt*background: black aterm*background: black ! For my CTWM work: !rxvt*background: #16164c !rxvt*backgroundPixmap: /home/giles/MyDocuments/Pictures/Propaganda/All-Good-People-4.xpm rxvt*backgroundPixmap: /home/giles/MyDocuments/Pictures/rxvt.bg/rxvt.xpm !xterm*font: 10x20 !rxvt*font: 10x20 xterm*font: 9x15 rxvt*font: 9x15 aterm*font: 9x15 xterm*saveLines: 1500 rxvt*saveLines: 1500 aterm*saveLines: 1500 XTerm*cursorColor: blue rxvt*cursorColor: blue aterm*cursorColor: blue xterm*Border: dark blue xterm*ScrollBar: on xterm*TitleBar: on xterm*TextUnderIcon: on xterm*AutoRaise: on !xterm*termtype: vt100 xterm*ttyModes: intr ^c erase ^h susp ^@ dsusp ^@ kill ^u eof ^d ! Set the rxvt scroll bar colour (almost black): rxvt*scrollColor: #040404 ! No trough for the scroll bar: rxvt*scrollBar_floating: false ! Scroll bar trough colour: rxvt*troughColor: #4444c0 ! The Bold and Underlined text are used in the man pages: I really want ! man pages in rxvt to look as they do in xterm. But this is even better: ! I can choose my own colours. ! Bold Text: rxvt*colorBD: red ! Reverse Video: rxvt*colorRV: #2020ee ! Underlined Text: rxvt*colorUL: yellow !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! Aterm Specific Stuff !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! Bold Text: aterm*colorBD: red ! Reverse Video: aterm*colorRV: #2020ee ! Underlined Text: aterm*colorUL: yellow ! Transparency: aterm*transparent: True ! Shading: aterm*shading: 35 ! Fading of text on loss of focus: aterm*fading: 50 ! Scrollbar: aterm*scrollBar: True ! Make the scrollbar transparent: ! (not in the man page - thank god for "strings" :-) aterm*transpscrollbar: True ! Other fonts (switch with Alt-< and Alt->) ! Not working. Fix it. ! Well, Shift-keypad+ and Shift-keypad- works, but max four fonts? aterm*font1: kates aterm*font2: 8x16 aterm*font3: 10x20 aterm*font4: 12x24 ! I don't think this is the right way to list keysyms ... aterm*smallfont_key: Ctrl-< aterm*bigfont_key: Ctrl-> ! Wow! This finally fixed my backspace problems on this machine! ! For rxvt anyway ... Can't find xterm equiv.: rxvt*backspacekey:  aterm*backspacekey:  ! Xman xman*manualFontNormal: 8x16 ! Emacs (like I ever use it - but the info might be worthwhile if I do) emacs*Background: DarkSlateGray emacs*Foreground: Wheat emacs*pointerColor: Orchid emacs*cursorColor: Orchid emacs*bitmapIcon: on emacs*font: fixed emacs.geometry: 80x25 ! XClock xclock*Foreground: black xclock*Background: light grey xclock*Border: navy blue xclock*Highlight: cornflower blue xclock*Hands: slate blue xclock*Mode: analog ! Netscape Netscape*documentFonts.charset*adobe-fontspecific: iso-8859-1 Netscape*blinkingEnabled: False Netscape*noAboutSplash: True !Netscape.Navigator.geometry: 1024x768+15+150 ! # Clean up the fscking toolbar Netscape*toolBar.search.isEnabled: false Netscape*toolBar.destinations.isEnabled: false Netscape*toolBar.myshopping.isEnabled: false Netscape*toolBar.viewSecurity.isEnabled: false Netscape*toolBar.print.isEnabled: true Netscape*toolBar.home.isEnabled: true ! Netscape Scrolling Mouse: Netscape*drawingArea.translations: #replace \ : ArmLink() \n\ : ArmLink() \n\ ~Shift: ActivateLink() \n\ ~Shift: ActivateLink(new-window) \ DisarmLink() \n\ Shift: ActivateLink(save-only) \ DisarmLink() \n\ Shift: ActivateLink(save-only) \ DisarmLink() \n\ : DisarmLinkIfMoved() \n\ : DisarmLinkIfMoved() \n\ : DisarmLinkIfMoved() \n\ : DescribeLink() \n\ : xfeDoPopup() \n\ : ActivatePopup() \n\ Ctrl: PageUp()\n\ Ctrl: PageDown()\n\ Shift: LineUp()\n\ Shift: LineDown()\n\ None: LineUp()LineUp()LineUp()LineUp()LineUp()LineUp()\n\ None: LineDown()LineDown()LineDown()LineDown()LineDown()LineDown()\n\ Alt: xfeDoCommand(forward)\n\ Alt: xfeDoCommand(back)\n Netscape*globalNonTextTranslations: #override\n\ Shift: LineUp()\n\ Shift: LineDown()\n\ None:LineUp()LineUp()LineUp()LineUp()LineUp()LineUp()\n\ None:LineDown()LineDown()LineDown()LineDown()LineDown()LineDown()\n\ Alt: xfeDoCommand(forward)\n\ Alt: xfeDoCommand(back)\n ! You can reset ANY "xterm" colour here (doesn't seem to apply to rxvt)!: *VT100*color0: black *VT100*color1: red3 *VT100*color2: green3 *VT100*color3: yellow3 *VT100*color4: blue3 *VT100*color5: magenta3 *VT100*color6: cyan3 *VT100*color7: gray90 *VT100*color8: gray30 *VT100*color9: red *VT100*color10: green *VT100*color11: yellow *VT100*color12: blue *VT100*color13: magenta *VT100*color14: cyan *VT100*color15: white *VT100*colorUL: yellow *VT100*colorBD: white ! Try it for rxvt: rxvt*color0: black rxvt*color1: red3 rxvt*color2: green3 rxvt*color3: yellow3 rxvt*color4: blue3 rxvt*color5: magenta3 rxvt*color6: cyan3 rxvt*color7: gray90 rxvt*color8: gray30 rxvt*color9: red rxvt*color10: green rxvt*color11: yellow rxvt*color12: blue rxvt*color13: magenta rxvt*color14: cyan rxvt*color15: white !! MWM! !! Didn't think I'd be messing with this ... !! 20030912: for the "Other Window Managers" report !! Mwm*menu*foreground: yellow Mwm*menu*background: black Mwm*client*background: black !! The window with the focus: Mwm*client*activeBackground: yellow Mwm*client*activeForeground: black