.Xdefaults
author Oleksandr Gavenko <gavenkoa@gmail.com>
Mon, 01 Jan 2024 20:53:49 +0200
changeset 1039 78cdb4a057e3
parent 881 3dce63382154
permissions -rw-r--r--
Create symlink from ~/.bash_profile for login shell to activate my ~/.bashrc.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3
a1e69064ee0b Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     1
! To update db after edit run:
191
a8ab35d70f68 improve comment.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 190
diff changeset
     2
!   $ xrdb -merge .Xdefaults
189
67549fd0afd2 xrdb -query
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 163
diff changeset
     3
! To get list of loaded resources:
67549fd0afd2 xrdb -query
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 163
diff changeset
     4
!   $ xrdb -query
190
d8941bf0a294 appres(1), listres(1)
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 189
diff changeset
     5
! Also see:
d8941bf0a294 appres(1), listres(1)
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 189
diff changeset
     6
!   appres(1), listres(1)
3
a1e69064ee0b Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     7
810
a218876105c7 Enable hinting and subpixel rendering in Emacs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 809
diff changeset
     8
Xft.antialias:  1
a218876105c7 Enable hinting and subpixel rendering in Emacs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 809
diff changeset
     9
Xft.hinting:    1
a218876105c7 Enable hinting and subpixel rendering in Emacs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 809
diff changeset
    10
! hintfull, hintmedium, hintslight, hintnone
a218876105c7 Enable hinting and subpixel rendering in Emacs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 809
diff changeset
    11
Xft.hintstyle:  hintfull
a218876105c7 Enable hinting and subpixel rendering in Emacs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 809
diff changeset
    12
! rgb, none
a218876105c7 Enable hinting and subpixel rendering in Emacs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 809
diff changeset
    13
Xft.rgba:       rgb
a218876105c7 Enable hinting and subpixel rendering in Emacs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 809
diff changeset
    14
! lcdlegacy, lcdlight, lcddefault, lcdnone
a218876105c7 Enable hinting and subpixel rendering in Emacs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 809
diff changeset
    15
Xft.lcdfilter:  lcdlegacy
a218876105c7 Enable hinting and subpixel rendering in Emacs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 809
diff changeset
    16
189
67549fd0afd2 xrdb -query
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 163
diff changeset
    17
! Useful font names:
65
9f92e3aed442 Use '_' instead ':' symbol as colon not allowd on Windows fs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 64
diff changeset
    18
!   4x6, 5x7, 5x8, 6x9, 8x9, 6x10, 5x12, 6x12, 7x12, 8x12, 16x12, 6x13, 7x13, 8x13, 7x14, 9x15, 8x16, 12x16, 9x18, 10x18, 10x20, 12x24
63
5b264d3f1147 Set bolt font as normal font for rxvt to better look for running mc in rxvt.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 35
diff changeset
    19
809
83d73c5fc0ed I set Emacs font in .emacs by now.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 762
diff changeset
    20
! emacs.font: -misc-fixed-medium-r-normal-*-14-*-*-*-c-*-iso10646-1
83d73c5fc0ed I set Emacs font in .emacs by now.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 762
diff changeset
    21
! emacs-main.font: -misc-fixed-medium-r-normal-*-14-*-*-*-c-*-iso10646-1
464
e11d9bbd1262 Fix font selection for Emacs (it use non monospaced font for Russian text).
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 461
diff changeset
    22
! emacs.font: -misc-fixed-medium-r-normal-*-13-*-75-75-c-80-iso10646-1
461
39b14a1ba5c2 Fix font selection for Emacs (it use non monospaced font for Russian text).
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 202
diff changeset
    23
! emacs.font: -misc-fixed-medium-r-semicondensed--13-*-iso10646-1
39b14a1ba5c2 Fix font selection for Emacs (it use non monospaced font for Russian text).
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 202
diff changeset
    24
! emacs.font: -misc-fixed-medium-r-normal--13-*-iso10646-1
39b14a1ba5c2 Fix font selection for Emacs (it use non monospaced font for Russian text).
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 202
diff changeset
    25
! emacs.font: -rfx-courier-medium-r-normal--12-*-iso10646-1
39b14a1ba5c2 Fix font selection for Emacs (it use non monospaced font for Russian text).
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 202
diff changeset
    26
! emacs.font: -rfx-courier-medium-r-normal--14-*-iso10646-1
5
bd38a3b4e196 Set emacs name.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 3
diff changeset
    27
! Same as 7x13
3
a1e69064ee0b Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    28
! emacs.font: -misc-fixed-medium-r-*-*-13-*-*-*-*-*-iso8859-*
a1e69064ee0b Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    29
! emacs.font: -misc-fixed-medium-r-*-*-14-*-*-*-*-*-iso8859-*
a1e69064ee0b Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    30
a1e69064ee0b Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    31
! emacs.geometry: 20x20+0+0
a1e69064ee0b Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    32
! emacs.FontBackend: xft
a1e69064ee0b Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    33
125
56812afaac27 By default 'xterm' start shell with '-i', so it interactive. But if it also
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 124
diff changeset
    34
XTerm*background: white
56812afaac27 By default 'xterm' start shell with '-i', so it interactive. But if it also
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 124
diff changeset
    35
XTerm*foreground: black
56812afaac27 By default 'xterm' start shell with '-i', so it interactive. But if it also
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 124
diff changeset
    36
XTerm*cursorColor: brown
880
77d40b6bde28 Built own terminal color schema.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 846
diff changeset
    37
XTerm*color0: black
77d40b6bde28 Built own terminal color schema.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 846
diff changeset
    38
XTerm*color1: red
881
3dce63382154 Make green darker for better diff readability. Same for cyan.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 880
diff changeset
    39
XTerm*color2: DarkGreen
880
77d40b6bde28 Built own terminal color schema.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 846
diff changeset
    40
XTerm*color3: orange
77d40b6bde28 Built own terminal color schema.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 846
diff changeset
    41
XTerm*color4: navy
77d40b6bde28 Built own terminal color schema.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 846
diff changeset
    42
XTerm*color5: maroon
77d40b6bde28 Built own terminal color schema.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 846
diff changeset
    43
XTerm*color6: DarkCyan
77d40b6bde28 Built own terminal color schema.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 846
diff changeset
    44
XTerm*color7: white
77d40b6bde28 Built own terminal color schema.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 846
diff changeset
    45
XTerm*color8: DimGrey
77d40b6bde28 Built own terminal color schema.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 846
diff changeset
    46
XTerm*color9: DeepPink
762
c88176af8c37 Fix other colors.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 761
diff changeset
    47
XTerm*color10: MediumSeaGreen
880
77d40b6bde28 Built own terminal color schema.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 846
diff changeset
    48
XTerm*color11: gold
77d40b6bde28 Built own terminal color schema.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 846
diff changeset
    49
XTerm*color12: blue
77d40b6bde28 Built own terminal color schema.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 846
diff changeset
    50
XTerm*color13: magenta
881
3dce63382154 Make green darker for better diff readability. Same for cyan.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 880
diff changeset
    51
XTerm*color14: DarkTurquoise
880
77d40b6bde28 Built own terminal color schema.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 846
diff changeset
    52
XTerm*color15: WhiteSmoke
124
755c1ce813ab Allow Alt as Meta in Emacs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 79
diff changeset
    53
! Allow Alt as Meta in Emacs:
755c1ce813ab Allow Alt as Meta in Emacs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 79
diff changeset
    54
XTerm*eightBitInput: false
755c1ce813ab Allow Alt as Meta in Emacs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 79
diff changeset
    55
XTerm*metaSendsEscape: true
202
12f86cf3d64f XTerm*saveLines
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 191
diff changeset
    56
XTerm*saveLines: 10000
125
56812afaac27 By default 'xterm' start shell with '-i', so it interactive. But if it also
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 124
diff changeset
    57
! When an interactive shell that is not a login shell is started, bash reads
56812afaac27 By default 'xterm' start shell with '-i', so it interactive. But if it also
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 124
diff changeset
    58
! and executes commands from /etc/bash.bashrc and ~/.bashrc, if these files
56812afaac27 By default 'xterm' start shell with '-i', so it interactive. But if it also
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 124
diff changeset
    59
! exist.
56812afaac27 By default 'xterm' start shell with '-i', so it interactive. But if it also
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 124
diff changeset
    60
! By default 'xterm' start shell with '-i', so it interactive. But if it also
56812afaac27 By default 'xterm' start shell with '-i', so it interactive. But if it also
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 124
diff changeset
    61
! login shell then ~/.bashrc will not be read. Awful!
56812afaac27 By default 'xterm' start shell with '-i', so it interactive. But if it also
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 124
diff changeset
    62
XTerm*loginShell: false
124
755c1ce813ab Allow Alt as Meta in Emacs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 79
diff changeset
    63
755c1ce813ab Allow Alt as Meta in Emacs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 79
diff changeset
    64
31
4f492a0583cc Capitalise prog name of rxvt to get in work on MSYS.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 24
diff changeset
    65
Rxvt*background: white
4f492a0583cc Capitalise prog name of rxvt to get in work on MSYS.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 24
diff changeset
    66
Rxvt*foreground: black
79
a7d0fff4bef0 Set cursor color to brown in rxvt to distinguish cursor position from
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 65
diff changeset
    67
Rxvt*cursorColor: brown
31
4f492a0583cc Capitalise prog name of rxvt to get in work on MSYS.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 24
diff changeset
    68
Rxvt*geometry: 120x40
163
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 125
diff changeset
    69
! 5x7, 5x8, 6x9, 6x10, 6x12, 7x13, 7x14, 9x15, 8x16, 10x20, 12x24
31
4f492a0583cc Capitalise prog name of rxvt to get in work on MSYS.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 24
diff changeset
    70
Rxvt*font: 7x14
64
8857ff1fb4f3 Use standard bold font.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 63
diff changeset
    71
! Rxvt*boldFont: 7x14
31
4f492a0583cc Capitalise prog name of rxvt to get in work on MSYS.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 24
diff changeset
    72
Rxvt*scrollBar: on
4f492a0583cc Capitalise prog name of rxvt to get in work on MSYS.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 24
diff changeset
    73
Rxvt*saveLines: 5000
125
56812afaac27 By default 'xterm' start shell with '-i', so it interactive. But if it also
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 124
diff changeset
    74
! When an interactive shell that is not a login shell is started, bash reads
56812afaac27 By default 'xterm' start shell with '-i', so it interactive. But if it also
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 124
diff changeset
    75
! and executes commands from /etc/bash.bashrc and ~/.bashrc, if these files
56812afaac27 By default 'xterm' start shell with '-i', so it interactive. But if it also
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 124
diff changeset
    76
! exist.
56812afaac27 By default 'xterm' start shell with '-i', so it interactive. But if it also
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 124
diff changeset
    77
! By default rxvt start shell without args, so it interactive. But if it also
56812afaac27 By default 'xterm' start shell with '-i', so it interactive. But if it also
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 124
diff changeset
    78
! login shell then ~/.bashrc will not be read. Awful!
35
20fbd437b2fa By default rxvt start shell without args, so it interactive. But if it also login shell
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 31
diff changeset
    79
Rxvt*loginShell: false
24
ea3b81781e6e Useful setting for rxvt.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 18
diff changeset
    80
846
1552b761f65f WIP for URXVT.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 810
diff changeset
    81
! Urxvt.perl-ext-common: default,url-select,tabbedex,matcher,keyboard-select,font-size
1552b761f65f WIP for URXVT.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 810
diff changeset
    82
! Urxvt*perl-ext-common: default,urxvt-confirm-paste
1552b761f65f WIP for URXVT.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 810
diff changeset
    83
! urxvt*perl-ext-common: default,confirm-paste,clipboard,clipboard-osc,matcher,url-select,keyboard-select,url-select,tabbedex,matcher,keyboard-select,font-size
1552b761f65f WIP for URXVT.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 810
diff changeset
    84
1552b761f65f WIP for URXVT.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 810
diff changeset
    85
! urxvt*perl-ext-common: default,confirm-paste,clipboard-osc,digital-clock
1552b761f65f WIP for URXVT.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 810
diff changeset
    86
1552b761f65f WIP for URXVT.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 810
diff changeset
    87
! URxvt.keysym.Alt-Insert: urxvt-confirm-paste
1552b761f65f WIP for URXVT.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 810
diff changeset
    88
! URxvt.keysym.M-Insert: confirm-paste
1552b761f65f WIP for URXVT.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 810
diff changeset
    89
1552b761f65f WIP for URXVT.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 810
diff changeset
    90
! URxvt.matcher.button: 1
1552b761f65f WIP for URXVT.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 810
diff changeset
    91
! URxvt.urlLauncher: chromium
1552b761f65f WIP for URXVT.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 810
diff changeset
    92
! URxvt.underlineURLs: true
1552b761f65f WIP for URXVT.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 810
diff changeset
    93
! URxvt.colorUL: #86a2be
1552b761f65f WIP for URXVT.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 810
diff changeset
    94
510
c0ea32e55677 Make as in xpdf(1).
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 485
diff changeset
    95
Xpdf.initialZoom: width
3
a1e69064ee0b Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    96
a1e69064ee0b Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    97
! Xft.hinting: none
a1e69064ee0b Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    98
! Xft.dpi: 96
191
a8ab35d70f68 improve comment.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 190
diff changeset
    99