… | |
… | |
558 | You can set and change the resources using X11 tools like B<xrdb>. Many |
558 | You can set and change the resources using X11 tools like B<xrdb>. Many |
559 | distribution do also load settings from the B<~/.Xresources> file when X |
559 | distribution do also load settings from the B<~/.Xresources> file when X |
560 | starts. @@RXVT_NAME@@ will consult the following files/resources in order, |
560 | starts. @@RXVT_NAME@@ will consult the following files/resources in order, |
561 | with later settings overwriting earlier ones: |
561 | with later settings overwriting earlier ones: |
562 | |
562 | |
563 | 1. system-wide app-defaults file, either locale-dependent OR global |
|
|
564 | 2. app-defaults file in $XAPPLRESDIR |
563 | 1. app-defaults file in $XAPPLRESDIR |
|
|
564 | 2. $HOME/.Xdefaults |
565 | 3. RESOURCE_MANAGER property on root-window OR $HOME/.Xdefaults |
565 | 3. RESOURCE_MANAGER property on root-window of screen 0 |
566 | 4. SCREEN_RESOURCES for the current screen |
566 | 4. SCREEN_RESOURCES property on root-window of the current screen |
567 | 5. $XENVIRONMENT file OR $HOME/.Xdefaults-<nodename> |
567 | 5. $XENVIRONMENT file OR $HOME/.Xdefaults-<nodename> |
568 | 6. resources specified via -xrm on the commandline |
568 | 6. resources specified via -xrm on the commandline |
569 | |
569 | |
570 | Note that when reading X resources, B<@@RXVT_NAME@@> recognizes two class |
570 | Note that when reading X resources, B<@@RXVT_NAME@@> recognizes two class |
571 | names: B<Rxvt> and B<URxvt>. The class name B<Rxvt> allows resources |
571 | names: B<Rxvt> and B<URxvt>. The class name B<Rxvt> allows resources |
… | |
… | |
749 | |
749 | |
750 | Use the specified image file for the background and also |
750 | Use the specified image file for the background and also |
751 | optionally specify its scaling with a geometry string B<WxH+X+Y>, |
751 | optionally specify its scaling with a geometry string B<WxH+X+Y>, |
752 | (default C<100x100+50+50>) in which B<"W" / "H"> specify the |
752 | (default C<100x100+50+50>) in which B<"W" / "H"> specify the |
753 | horizontal/vertical scale (percent), and B<"X" / "Y"> locate the image |
753 | horizontal/vertical scale (percent), and B<"X" / "Y"> locate the image |
754 | centre (percent). A scale of 0 displays the image with tiling. |
754 | centre (percent). A scale of 0 disables scaling. |
755 | The maximum permitted scale is 1000. |
755 | The maximum permitted scale is 1000. |
756 | Additional operations can be specified after colon B<:op1:op2...>. |
756 | Additional operations can be specified after colon B<:op1:op2...>. |
757 | Supported operations are: |
757 | Supported operations are: |
758 | |
758 | |
759 | tile force background image to be tiled and not scaled. Equivalent to 0x0 |
759 | tile will tile image |
760 | propscale will scale image keeping proportions |
760 | propscale will scale image keeping proportions |
761 | auto will scale image to match window size. Equivalent to 100x100 |
|
|
762 | hscale will scale image horizontally to the window size |
|
|
763 | vscale will scale image vertically to the window size |
|
|
764 | scale will scale image to match window size |
761 | scale will scale image to match window size |
|
|
762 | center will center image with no scaling |
765 | root will tile image as if it was a root window background, auto-adjusting |
763 | root will tile image as if it was a root window background, auto-adjusting |
766 | whenever terminal window moves |
764 | whenever terminal window moves |
767 | |
765 | |
768 | If used in conjunction with B<-tr> option, the specified pixmap will be |
766 | If used in conjunction with B<-tr> option, the specified pixmap will be |
769 | blended over the transparent background using alpha-blending. If I<afterimage> |
767 | blended over the transparent background using alpha-blending. If I<afterimage> |
… | |
… | |
903 | =item B<scrollstyle:> I<mode> |
901 | =item B<scrollstyle:> I<mode> |
904 | |
902 | |
905 | Set scrollbar style to B<rxvt>, B<plain>, B<next> or B<xterm>. B<plain> is |
903 | Set scrollbar style to B<rxvt>, B<plain>, B<next> or B<xterm>. B<plain> is |
906 | the author's favourite. |
904 | the author's favourite. |
907 | |
905 | |
|
|
906 | =item B<thickness:> I<number> |
|
|
907 | |
|
|
908 | Set the scrollbar width in pixels. |
|
|
909 | |
908 | =item B<scrollBar:> I<boolean> |
910 | =item B<scrollBar:> I<boolean> |
909 | |
911 | |
910 | B<True>: enable the scrollbar [default]; option B<-sb>. B<False>: |
912 | B<True>: enable the scrollbar [default]; option B<-sb>. B<False>: |
911 | disable the scrollbar; option B<+sb>. |
913 | disable the scrollbar; option B<+sb>. |
912 | |
914 | |
… | |
… | |
931 | B<False>: do not scroll to bottom when tty receives output; option |
933 | B<False>: do not scroll to bottom when tty receives output; option |
932 | B<+si>. |
934 | B<+si>. |
933 | |
935 | |
934 | =item B<scrollWithBuffer:> I<boolean> |
936 | =item B<scrollWithBuffer:> I<boolean> |
935 | |
937 | |
936 | B<True>: scroll with scrollback buffer when tty receives new lines (and |
938 | B<True>: scroll with scrollback buffer when tty receives new lines (i.e. |
937 | B<scrollTtyOutput> is False); option B<-sw>. B<False>: do not scroll |
939 | try to show the same lines) and B<scrollTtyOutput> is False; option |
938 | with scrollback buffer when tty receives new lines; option B<+sw>. |
940 | B<-sw>. B<False>: do not scroll with scrollback buffer when tty receives |
|
|
941 | new lines; option B<+sw>. |
939 | |
942 | |
940 | =item B<scrollTtyKeypress:> I<boolean> |
943 | =item B<scrollTtyKeypress:> I<boolean> |
941 | |
944 | |
942 | B<True>: scroll to bottom when a non-special key is pressed. Special keys |
945 | B<True>: scroll to bottom when a non-special key is pressed. Special keys |
943 | are those which are intercepted by rxvt-unicode for special handling and |
946 | are those which are intercepted by rxvt-unicode for special handling and |
… | |
… | |
1163 | with pattern B<list/PREFIX/MIDDLE/SUFFIX>, where the delimiter `/' |
1166 | with pattern B<list/PREFIX/MIDDLE/SUFFIX>, where the delimiter `/' |
1164 | should be a character not used by the strings. |
1167 | should be a character not used by the strings. |
1165 | |
1168 | |
1166 | Its usage can be demonstrated by an example: |
1169 | Its usage can be demonstrated by an example: |
1167 | |
1170 | |
1168 | URxvt.keysym.M-C-0x61: list|\033<M-C-|abc|> |
1171 | URxvt.keysym.M-C-0x61: list|\033<|abc|> |
1169 | |
1172 | |
1170 | The above line is equivalent to the following three lines: |
1173 | The above line is equivalent to the following three lines: |
1171 | |
1174 | |
1172 | URxvt.keysym.Meta-Control-0x61: \033<M-C-a> |
1175 | URxvt.keysym.Meta-Control-0x61: \033<a> |
1173 | URxvt.keysym.Meta-Control-0x62: \033<M-C-b> |
1176 | URxvt.keysym.Meta-Control-0x62: \033<b> |
1174 | URxvt.keysym.Meta-Control-0x63: \033<M-C-c> |
1177 | URxvt.keysym.Meta-Control-0x63: \033<c> |
1175 | |
1178 | |
1176 | If I<string> takes the form of C<command:STRING>, the specified B<STRING> |
1179 | If I<string> takes the form of C<command:STRING>, the specified B<STRING> |
1177 | is interpreted and executed as @@RXVT_NAME@@'s control sequence. For |
1180 | is interpreted and executed as @@RXVT_NAME@@'s control sequence. For |
1178 | example the following means "change the current locale to C<zh_CN.GBK> |
1181 | example the following means "change the current locale to C<zh_CN.GBK> |
1179 | when Control-Meta-c is being pressed": |
1182 | when Control-Meta-c is being pressed": |