|
| 1 | +!------------------------------------------------------------------------------ |
| 2 | +! This is a sample ~/.Xresources file, demonstrating some basic X/Motif and |
| 3 | +! EMWM configuration. Refer to EMWM FAQ/Guide and manpages for further info. |
| 4 | +!------------------------------------------------------------------------------ |
| 5 | + |
| 6 | +!------------------------------------------------------------------------------ |
| 7 | +! Global X/Motif setup |
| 8 | +!------------------------------------------------------------------------------ |
| 9 | + |
| 10 | +!! Make sure to adjust this for your screen to have properly sized fonts |
| 11 | +Xft.dpi: 160 |
| 12 | + |
| 13 | +!! Default variable width font for all Motif user interface elements |
| 14 | +*renderTable.variable.fontType: FONT_IS_XFT |
| 15 | +*renderTable.variable.fontName: Liberation Sans |
| 16 | +*renderTable.variable.fontSize: 10 |
| 17 | +*renderTable: variable |
| 18 | + |
| 19 | +!! In case fixed width font is preferred for text input widgets... |
| 20 | +*renderTable.fixed.fontType: FONT_IS_XFT |
| 21 | +*renderTable.fixed.fontName: Liberation Mono |
| 22 | +*renderTable.fixed.fontSize: 10 |
| 23 | +!! ...uncomment lines below to enable |
| 24 | +! *XmText*renderTable: fixed |
| 25 | +! *XmTextField*renderTable: fixed |
| 26 | + |
| 27 | +!! Default background and highlight colors |
| 28 | +*background: #d2d2d2 |
| 29 | +*highlightColor: #5f8ba0 |
| 30 | + |
| 31 | +!! Lighter and somewhat saturated background for lists and text input widgets |
| 32 | +*XmList.background: #b6b6aa |
| 33 | +*XmText.background: #d3b5b5 |
| 34 | +*XmTextField.background: #d3b5b5 |
| 35 | + |
| 36 | +!! Tool tip appearance |
| 37 | +*TipLabel.background: antiquewhite |
| 38 | +*TipShell.borderColor: black |
| 39 | +*TipShell.borderWidth: 1 |
| 40 | + |
| 41 | +!! Some tweaks |
| 42 | +*multiClickTime: 260 |
| 43 | +*XmScrollBar.width: 14 |
| 44 | +*XmScrollBar.height: 14 |
| 45 | + |
| 46 | + |
| 47 | +!------------------------------------------------------------------------------ |
| 48 | +! Window and icon decorations |
| 49 | +!------------------------------------------------------------------------------ |
| 50 | +Emwm*client*background: #8C8C8C |
| 51 | +Emwm*client*activeBackground: #aba68c |
| 52 | +Emwm*icon*activeBackground: #aba68c |
| 53 | + |
| 54 | +!! Dithered frame borders (somewhat reminiscent of Indigo Magic) |
| 55 | +! Emwm*client*topShadowPixmap: 1x1 |
| 56 | +! Emwm*client*activeTopShadowPixmap: 1x1 |
| 57 | + |
| 58 | +!------------------------------------------------------------------------------ |
| 59 | +! Client icon substitution |
| 60 | +!------------------------------------------------------------------------------ |
| 61 | +!! Note that unless full path is given, images must reside in one of |
| 62 | +!! default locations like $APPLRESDIR/bitmaps (see XmGetPixmap(3)) |
| 63 | +Emwm*XTerm*iconImage: terminal.xpm |
| 64 | +Emwm*NEdit*iconImage: textedit.xpm |
| 65 | +Emwm*XFile*iconImage: xfile.xpm |
| 66 | + |
| 67 | +!------------------------------------------------------------------------------ |
| 68 | +! CDE 2.0 Motif look defaults |
| 69 | +!------------------------------------------------------------------------------ |
| 70 | +*enableThinThickness: True |
| 71 | +*enableBtn1Transfer: button2_adjust |
| 72 | +*enableButtonTab: True |
| 73 | +*enableDefaultButton: True |
| 74 | +*enableEtchedInMenu: True |
| 75 | +*enableMenuInCascade: True |
| 76 | +*enableMultiKeyBindings: False |
| 77 | +*enableToggleColor: True |
| 78 | +*enableToggleVisual: False |
| 79 | +*enableDragIcon: False |
| 80 | + |
| 81 | +!------------------------------------------------------------------------------ |
| 82 | +! CDE 2.0 bindings for text input widgets |
| 83 | +!------------------------------------------------------------------------------ |
| 84 | +*XmText*Translations:#override\n\ |
| 85 | + Ctrl<Key>u:delete-to-start-of-line()\n\ |
| 86 | + Ctrl<Key>k:delete-to-end-of-line()\n\ |
| 87 | + Ctrl<Key>a:beginning-of-line()\n\ |
| 88 | + Ctrl<Key>e:end-of-line()\n\ |
| 89 | + Ctrl<Key>p:process-up()\n\ |
| 90 | + Ctrl<Key>b:backward-character()\n\ |
| 91 | + Ctrl<Key>n:process-down()\n\ |
| 92 | + Ctrl<Key>f:forward-character() |
| 93 | + |
| 94 | +*XmTextField*Translations:#override\n\ |
| 95 | + Ctrl<Key>u:delete-to-start-of-line()\n\ |
| 96 | + Ctrl<Key>k:delete-to-end-of-line()\n\ |
| 97 | + Ctrl<Key>a:beginning-of-line()\n\ |
| 98 | + Ctrl<Key>e:end-of-line()\n\ |
| 99 | + Ctrl<Key>b:backward-character()\n\ |
| 100 | + Ctrl<Key>f:forward-character() |
| 101 | + |
| 102 | +!----------------------------------- EOF -------------------------------------- |
| 103 | +! $Id: Xresources-sample,v 1.8 2024/12/25 21:30:19 alx Exp alx $ |
0 commit comments