]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
Xresources: explicitly use URxvt
authorSimon Ruderich <simon@ruderich.org>
Sat, 28 Nov 2015 16:37:59 +0000 (17:37 +0100)
committerSimon Ruderich <simon@ruderich.org>
Sat, 28 Nov 2015 16:37:59 +0000 (17:37 +0100)
I've never used plain rxvt and have no ideas if the settings will work.

Xresources.in
setup.sh

index dc2ff0918f7fc31b8c0acc3d247cb94fb2ef64bd..dd39e101bb2e7e635e657933beee1090159c5d51 100644 (file)
@@ -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.
 ! 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.
 ! Necessary for transparency, see man page.
-Rxvt*depth: 32
+URxvt*depth: 32
 
 ! Enable pseudo transparency. Only used if compton is not available.
 
 ! 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
 
 ! 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).
 
 ! 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
 
 ! 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
 
 ! 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-<Keycode>.
 ! 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.
 ! Disable support to enter non-ASCII keys by pressing Ctrl-Shift-<Keycode>.
 ! 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
 
 ! 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.print-pipe: true
 
 ! Do not use any perl extension scripts.
-Rxvt*perl-ext-common:
+URxvt*perl-ext-common:
 
 
 ! XSCREENSAVER SETTINGS
 
 
 ! XSCREENSAVER SETTINGS
index 4d301e0953bc3497913313909f5632bffacc91b6..0f84352570592dc3cbaea1b64d12d4dc4ad5be0e 100755 (executable)
--- 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
 
 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", $_;
     generate Xresources .in perl -ne \
         'if (/^Term/) {
              s/^Term//;
              print "XTerm", $_;
              print "UXTerm", $_;
-             print "Rxvt", $_;
+             print "URxvt", $_;
          } elsif (/^XTerm/) {
              print $_;
              s/^XTerm//;
          } elsif (/^XTerm/) {
              print $_;
              s/^XTerm//;