.Xresources: Add Copy/Paste Key Binding
[grml-desktop.git] / etc / skel / .Xresources
1 ! Filename:      .Xresources
2 ! Purpose:       config file for X
3 ! Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
4 ! Bug-Reports:   see http://grml.org/bugs/
5 ! License:       This file is licensed under the GPL v2.
6 !###############################################################################
7 ! Notice:   apply changes via running 'xrdb -merge ~/.Xresources'
8 !           run "xprop WM_CLASS" to find out title of windows
9 !
10 ! Documentation:
11 !
12 ! * xterm(1)
13 ! * http://tqd1.physik.uni-freiburg.de/library/SGI_bookshelves/SGI_Developer/books/XLib_WinSys/sgi_html/ch08.html
14 ! * https://wiki.archlinux.org/title/X_resources
15 !
16 !###############################################################################
17
18 ! Grml Custom Key Bindings
19 !
20 ! See: *Default Key Bindings* + *Custom Key Bindings* in xterm(1)
21 !
22 ! The default bindings to paste a selection are Shift-Insert + second (usually
23 ! middle) mouse button:
24 !
25 !   Shift <KeyPress> Insert: insert-selection(SELECT, CUT_BUFFER0)
26 !   ~Ctrl ~Meta <Btn2Up>:insert-selection(SELECT, CUT_BUFFER0)
27 !
28 ! We have added Ctrl-Shift-c + Ctrl-Shift-v to be able to copy/paste using the
29 ! CLIPBOARD selection type. This is also useful if there is no middle mouse
30 ! button and you are not used to the Shift-Insert shortcut:
31
32 *VT100.translations: #override \n\
33     Ctrl Shift <Key>V:    insert-selection(SELECT, CLIPBOARD) \n\
34     Ctrl Shift <Key>C:    copy-selection(CLIPBOARD) \n\
35
36 ! If you do not have any iso8859-15 fonts, use iso8859-1
37 !*font:                 -misc-fixed-medium-r-normal-*-*-140-*-*-c-*-iso8859-15
38
39 XTerm*faceName:     Terminus
40 XTerm*faceSize:     11
41 XTerm*font2:            -misc-fixed-medium-r-normal-*-*-70-*-*-c-*-iso8859-15
42 XTerm*font3:            -misc-fixed-medium-r-normal-*-*-100-*-*-c-*-iso8859-15
43 XTerm*font4:            -misc-fixed-medium-r-normal-*-*-120-*-*-c-*-iso8859-15
44 XTerm*font5:            -misc-fixed-medium-r-normal-*-*-140-*-*-c-*-iso8859-15
45
46 XTerm*utf8: 1
47
48 UXTerm*faceName:     Terminus
49 UXTerm*faceSize:     11
50 UXTerm*font1:           -misc-fixed-*-*-*-*-6-*-*-*-*-*-iso10646-*
51 UXTerm*font2:           -misc-fixed-medium-r-normal--8-80-75-75-c-50-iso10646-1
52 UXTerm*font3:           -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1
53 UXTerm*font4:           -misc-fixed-medium-r-normal--13-120-75-75-c-80-iso10646-1
54 UXTerm*font5:           -misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1
55 UXTerm*font6:           -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1
56 UXTerm*utf8Fonts.font:          -misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1
57 UXTerm*utf8Fonts.wideFont:      -misc-fixed-medium-r-normal-ko-18-120-100-100-c-180-iso10646-1
58
59 UXTerm*allowFontOps: true
60
61 ! enable UTF8
62 ! XTerm*utf8: 0
63 ! start via xterm -class UXTerm or 'uxterm'
64 UXTerm*utf8: 1
65 UXTerm*eightBitInput: false
66 UXTerm*metaSendsEscape: true
67
68 XTerm*cursorColor: orange
69 XTerm*borderColor: white
70 XTerm*scrollColor: black
71 XTerm*loginShell: true
72 XTerm*visualBell: true
73 XTerm*saveLines:  8192
74 XTerm*shading: 80
75
76 XTerm*allowFontOps:    true
77 XTerm*allowSendEvents: true
78 XTerm*internalBorder:  0
79 XTerm*borderWidth:     0
80 XTerm*multiScroll:     true
81 XTerm*utmpInhibit:     false
82 XTerm*jumpScroll:      true
83 XTerm*waitForMap:      true
84 XTerm*scrollBar:       false
85 !XTerm*title:           h
86
87 !! Fix the Alt-p is wacko char problem.
88 XTerm*eightBitInput:  false
89 XTerm*metaSendsEscape: true
90
91 ! The following two sections take advantage of new features in version 7
92 ! of the Athena widget library.  Comment them out if you have a shallow
93 ! color depth.
94 XTerm*mainMenu*backgroundPixmap:     gradient:vertical?dimension=400&start=gray10&end=gray40
95 XTerm*mainMenu*foreground:           white
96 XTerm*vtMenu*backgroundPixmap:       gradient:vertical?dimension=550&start=gray10&end=gray40
97 XTerm*vtMenu*foreground:             white
98 XTerm*fontMenu*backgroundPixmap:     gradient:vertical?dimension=300&start=gray10&end=gray40
99 XTerm*fontMenu*foreground:           white
100 XTerm*tekMenu*backgroundPixmap:      gradient:vertical?dimension=300&start=gray10&end=gray40
101 XTerm*tekMenu*foreground:            white
102
103 ! other terminals:
104 rxvt*.cursorColor: orange
105 rxvt*.borderColor: white
106 rxvt*.scrollColor: black
107 rxvt*font: xft:Terminus:size=11
108
109
110 ! urxvt
111 URxvt*font: xft:terminus:size=10
112 URxvt.italicFont:        xft:Bitstream Vera Sans Mono:italic:autohint=true
113 URxvt.boldItalicFont:    xft:Bitstream Vera Sans Mono:bold:italic:autohint=true
114 !URxvt.background: black
115 URxvt.background: rgba:0000/0000/0000/ccdd
116 URxvt.underlineColor: white
117 URxvt.colorBD: white
118 URxvt.colorIT: green
119 URxvt.fading: 30
120
121 URxvt.scrollBar: off
122 URxvt*scrollstyle: xterm
123
124 ! extensions:
125 URxvt.perl-ext: default,matcher,tabbed
126 URxvt.perl-ext-common: default,matcher,tabbed
127 URxvt.urlLauncher: firefox
128 URxvt.matcher.button: 1
129 URxvt*matcher.pattern.1: \\b(mailto|http|https|ftp|file):[/]*[\\w-]\\.[\\w./?&@#-]*[\\w/-]
130 URxvt*matcher.pattern.2: \\bwww\\.[\\w-]\\.[\\w./?&@#-]*[\\w/-]
131 URxvt.matcher.rend.0: fg8
132
133 ! support stop scrolling on tty output
134 URxvt.saveLines:         100000
135 URxvt*scrollTtyOutput:   false
136 URxvt*scrollWithBuffer:  true
137 URxvt*scrollTtyKeypress: true
138
139 ! Based on Tomorrow Theme
140 *.foreground:   #c5c8c6
141 *.background:   #1d1f21
142 *.cursorColor:  orange
143 *.color0:       #000000
144 *.color1:       #912226
145 *.color2:       #778900
146 *.color3:       #ae7b00
147 *.color4:       #1d2594
148 *.color5:       #682a9b
149 *.color6:       #2b6651
150 *.color7:       #929593
151 *.color8:       #666666
152 *.color9:       #cc6666
153 *.color10:      #b5bd68
154 *.color11:      #f0c674
155 *.color12:      #81a2be
156 *.color13:      #b294bb
157 *.color14:      #8abeb7
158 *.color15:      #ecebec
159
160 ! XTerm Profiles - use via 'xterm -name profilename'
161 light*foreground: black
162 light*background: gray90
163 light*cursorColor: blue
164 light*font: -misc-fixed-medium-r-normal--14-140-75-75-c-90-iso8859-15
165
166 local*foreground: rgb:f0/f0/ff
167 local*background: rgb:00/00/25
168 local*cursorColor: rgb:c0/c0/ff
169 local*font: -misc-fixed-medium-r-normal--14-140-75-75-c-90-iso8859-15
170
171 remote*foreground: rgb:f0/ff/f0
172 remote*background: rgb:00/25/00
173 remote*cursorColor: rgb:white
174 remote*font: -misc-fixed-medium-r-normal--14-140-75-75-c-90-iso8859-15
175
176 root*foreground: rgb:ff/f0/c0
177 root*background: rgb:25/00/00
178 root*cursorColor: rgb:ff/c0/c0
179 root*font: -misc-fixed-medium-r-normal--14-140-75-75-c-90-iso8859-15
180
181 small*foreground: white
182 small*background: black
183 small*cursorColor: red
184 small*font: -misc-fixed-medium-r-normal-*-*-80-*-*-c-*-iso8859-15
185
186 blind*foreground: white
187 blind*background: black
188 blind*cursorColor: red
189 blind*font: -misc-fixed-medium-r-normal-*-*-150-*-*-c-*-iso8859-15
190
191 huge*foreground: white
192 huge*background: black
193 huge*cursorColor: red
194 huge*font: -misc-fixed-medium-r-normal-*-*-210-*-*-c-*-iso8859-15
195
196 presentation*foreground: white
197 presentation*background: black
198 presentation*cursorColor: red
199 presentation*color12: lightblue
200 presentation*color4: lightblue
201 presentation*font: -misc-fixed-medium-r-normal-*-*-210-*-*-c-*-iso8859-15
202
203 !Emacs*font: -misc-fixed-medium-r-normal-*-13-*-*-*-*-*-*-*
204 !Emacs*menubar*Font: -misc-fixed-medium-r-normal-*-13-*-*-*-*-*-*-*
205 !Emacs*EmacsFrame*buffers-tab.attributeFont: -misc-fixed-medium-r-normal-*-13-*-*-*-*-*-*-*
206 !Emacs.modeline*attributeFont: -misc-fixed-medium-r-normal-*-13-*-*-*-*-*-*-*
207 !Emacs*popup*Font: -*-graphite light att-*-*-*-*-*-120-*-*-*-*-*
208
209 ! http://www.nedit.org/technotes/looks-1.php
210 nedit*enableThinThickness:          True
211 nedit*enableToggleVisual:           True
212 nedit*enableToggleColor:            True
213 nedit*XmToggleButton.indicatorSize: 11
214 nedit*enableEtchedInMenu:           True
215 nedit*text.background:              white
216 nedit*text.selectBackground:        #D0D0FF
217 nedit*statsForm.background:         gray85
218 nedit*statsLine.background:         gray85
219 nedit*bottomShadowColor:            gray65
220 nedit*topShadowColor:               #fefefe
221 nedit*XmText.background:            white
222 nedit*XmTextField.background:       white
223 nedit*XmList.background:            white
224
225 #include ".Xresources.local"
226
227 !# END OF FILE #################################################################