From: Simon Ruderich Date: Sat, 28 Nov 2015 16:37:59 +0000 (+0100) Subject: Xresources: explicitly use URxvt X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=88ba0f56e16573a402d6fcbb383dc0f62fc4620d;p=config%2Fdotfiles.git Xresources: explicitly use URxvt I've never used plain rxvt and have no ideas if the settings will work. --- diff --git a/Xresources.in b/Xresources.in index dc2ff09..dd39e10 100644 --- a/Xresources.in +++ b/Xresources.in @@ -32,13 +32,13 @@ Term*cursorColor: #ffff66 ! compositing manager which supports transparency like compton. Thanks to eto ! and adaedra in #herblstuftwm on Freenode (2014-05-04 15:50 ff) for their ! awesome help regarding transparency. -Rxvt*background: [90]#000000 +URxvt*background: [90]#000000 ! Necessary for transparency, see man page. -Rxvt*depth: 32 +URxvt*depth: 32 ! Enable pseudo transparency. Only used if compton is not available. -!NO_COMPTON Rxvt*transparent: true -!NO_COMPTON Rxvt*shading: 10 +!NO_COMPTON URxvt*transparent: true +!NO_COMPTON URxvt*shading: 10 ! Main console colors. Term*color0: #000000 @@ -67,12 +67,12 @@ XTerm.termName: xterm-256color ! Use Inconsolata as default font, SourceCodePro for replacement characters ! (e.g. greek letters). -Rxvt.font: xft:Inconsolata:size=13pt,xft:SourceCodePro-Regular:size=13pt +URxvt.font: xft:Inconsolata:size=13pt,xft:SourceCodePro-Regular:size=13pt ! Disable the scrollback buffer. I use screen/tmux so it is not necessary and ! only wastes memory. XTerm*saveLines: 0 -Rxvt*saveLines: 0 +URxvt*saveLines: 0 ! Use the meta-key as expected by emacs/irssi. XTerm*metaSendsEscape: true @@ -85,15 +85,16 @@ XTerm*metaSendsEscape: true ! Disable support to enter non-ASCII keys by pressing Ctrl-Shift-. ! Either use digraph support in vim/screen or use the compose key instead. ! NOTE: If enabled can also be used to display used font for characters. -Rxvt*iso14755: false -Rxvt*iso14755_52: false +URxvt*iso14755: false +URxvt*iso14755_52: false ! Disable printing with the "Print" key to prevent accidental prints. By -! default lpr is used. +! default lpr is used. Rxvt instead of URxvt to ensure printing is disabled in +! case I use plain rxvt. Rxvt.print-pipe: true ! Do not use any perl extension scripts. -Rxvt*perl-ext-common: +URxvt*perl-ext-common: ! XSCREENSAVER SETTINGS diff --git a/setup.sh b/setup.sh index 4d301e0..0f84352 100755 --- a/setup.sh +++ b/setup.sh @@ -35,14 +35,13 @@ fi if installed X; then # Prevent code duplication. Term* rules are for all terminals; XTerm rules - # are for XTerm and UXTerm. At the moment XTerm, UXTerm and Rxvt are - # supported. + # are for XTerm and UXTerm. generate Xresources .in perl -ne \ 'if (/^Term/) { s/^Term//; print "XTerm", $_; print "UXTerm", $_; - print "Rxvt", $_; + print "URxvt", $_; } elsif (/^XTerm/) { print $_; s/^XTerm//;