X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fskel%2F.Xresources;h=73134b74ee0972753bb8a26e2055d9d80fa02da5;hb=HEAD;hp=4b8e1ddb937547a2492abb116a666bc7911bea7e;hpb=bfb272ca063faa74c9b2c51024ab5d6177461094;p=grml-desktop.git diff --git a/etc/skel/.Xresources b/etc/skel/.Xresources index 4b8e1dd..73134b7 100644 --- a/etc/skel/.Xresources +++ b/etc/skel/.Xresources @@ -6,8 +6,48 @@ !############################################################################### ! Notice: apply changes via running 'xrdb -merge ~/.Xresources' ! run "xprop WM_CLASS" to find out title of windows +! +! Documentation: +! +! * xterm(1) +! * http://tqd1.physik.uni-freiburg.de/library/SGI_bookshelves/SGI_Developer/books/XLib_WinSys/sgi_html/ch08.html +! * https://wiki.archlinux.org/title/X_resources +! !############################################################################### +! Grml Custom Key Bindings +! +! See: *Default Key Bindings* + *Custom Key Bindings* in xterm(1) +! +! The default bindings to paste a selection are Shift-Insert + second (usually +! middle) mouse button: +! +! Shift Insert: insert-selection(SELECT, CUT_BUFFER0) +! ~Ctrl ~Meta :insert-selection(SELECT, CUT_BUFFER0) +! +! We have added Ctrl-Shift-c + Ctrl-Shift-v to be able to copy/paste using the +! CLIPBOARD selection type. This is also useful if there is no middle mouse +! button and you are not used to the Shift-Insert shortcut. +! +! The default bindings to change the font size are Shift-Keypad+ and +! Shift-Keypad- / Shift-Ctrl-Keypad+: +! +! Shift~Ctrl KP_Add:larger-vt-font() \n\ +! Shift Ctrl KP_Add:smaller-vt-font() \n\ +! Shift KP_Subtract:smaller-vt-font() \n\ +! +! Modern notebooks lack a numeric keypad, making it hard to use the shifted +! keypad plus and minus bindings for switching between font sizes. +! +! Ctrl-+ + Ctrl-- allows us to switch between fonts on keyboards without a +! numeric keypad. + +*VT100.translations: #override \n\ + Ctrl Shift V: insert-selection(SELECT, CLIPBOARD) \n\ + Ctrl Shift C: copy-selection(CLIPBOARD) \n\ + Ctrl +: larger-vt-font() \n\ + Ctrl -: smaller-vt-font() \n + ! If you do not have any iso8859-15 fonts, use iso8859-1 !*font: -misc-fixed-medium-r-normal-*-*-140-*-*-c-*-iso8859-15 @@ -116,10 +156,10 @@ URxvt*scrollTtyKeypress: true *.background: #1d1f21 *.cursorColor: orange *.color0: #000000 -*.color1: #af7575 -*.color2: #8baf83 +*.color1: #912226 +*.color2: #778900 *.color3: #ae7b00 -*.color4: #8991b7 +*.color4: #1d2594 *.color5: #682a9b *.color6: #2b6651 *.color7: #929593 @@ -197,4 +237,6 @@ nedit*XmText.background: white nedit*XmTextField.background: white nedit*XmList.background: white +#include ".Xresources.local" + !# END OF FILE #################################################################