… | |
… | |
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 | op=tile enables tiling |
760 | propscale will scale image keeping proportions |
760 | op=pscale enables proportional scaling |
761 | auto will scale image to match window size. Equivalent to 100x100 |
761 | op=root use the position of the terminal window relative to the root |
762 | hscale will scale image horizontally to the window size |
762 | window as the image offset, simulating a root window background |
763 | vscale will scale image vertically to the window size |
763 | |
764 | scale will scale image to match window size |
764 | Alternatively, a predefined set of templates can be used to achieve |
765 | root will tile image as if it was a root window background, auto-adjusting |
765 | the most common setups: |
766 | whenever terminal window moves |
766 | |
|
|
767 | style=tiled the image is tiled with no scaling |
|
|
768 | style=aspect-stretched the image is scaled to fill the whole window maintaining |
|
|
769 | the aspect ratio and centered |
|
|
770 | style=stretched the image is scaled to fill the whole window |
|
|
771 | style=centered the image is centered with no scaling |
|
|
772 | style=root-tiled the image is tiled with no scaling and using 'op=root' positioning |
|
|
773 | |
|
|
774 | If multiple templates are specified the last one wins. Note that a |
|
|
775 | template overrides all the scale, position and operations settings. |
|
|
776 | Indeed, the templates can be specified in terms of low level settings |
|
|
777 | as follows: |
|
|
778 | |
|
|
779 | style=tiled 0x0+0+0:op=tile |
|
|
780 | style=aspect-stretched +50+50:op=pscale |
|
|
781 | style=stretched 100x100 |
|
|
782 | style=centered 0x0+50+50 |
|
|
783 | style=root-tiled 0x0:op=tile:op=root |
767 | |
784 | |
768 | If used in conjunction with B<-tr> option, the specified pixmap will be |
785 | 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> |
786 | blended over the transparent background using alpha-blending. If I<afterimage> |
770 | support has been compiled in it is possible to choose other blending |
787 | support has been compiled in it is possible to choose other blending |
771 | types with B<-blt "type"> option. |
788 | types with B<-blt "type"> option. |
… | |
… | |
903 | =item B<scrollstyle:> I<mode> |
920 | =item B<scrollstyle:> I<mode> |
904 | |
921 | |
905 | Set scrollbar style to B<rxvt>, B<plain>, B<next> or B<xterm>. B<plain> is |
922 | Set scrollbar style to B<rxvt>, B<plain>, B<next> or B<xterm>. B<plain> is |
906 | the author's favourite. |
923 | the author's favourite. |
907 | |
924 | |
|
|
925 | =item B<thickness:> I<number> |
|
|
926 | |
|
|
927 | Set the scrollbar width in pixels. |
|
|
928 | |
908 | =item B<scrollBar:> I<boolean> |
929 | =item B<scrollBar:> I<boolean> |
909 | |
930 | |
910 | B<True>: enable the scrollbar [default]; option B<-sb>. B<False>: |
931 | B<True>: enable the scrollbar [default]; option B<-sb>. B<False>: |
911 | disable the scrollbar; option B<+sb>. |
932 | disable the scrollbar; option B<+sb>. |
912 | |
933 | |
… | |
… | |
931 | B<False>: do not scroll to bottom when tty receives output; option |
952 | B<False>: do not scroll to bottom when tty receives output; option |
932 | B<+si>. |
953 | B<+si>. |
933 | |
954 | |
934 | =item B<scrollWithBuffer:> I<boolean> |
955 | =item B<scrollWithBuffer:> I<boolean> |
935 | |
956 | |
936 | B<True>: scroll with scrollback buffer when tty receives new lines (and |
957 | 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 |
958 | try to show the same lines) and B<scrollTtyOutput> is False; option |
938 | with scrollback buffer when tty receives new lines; option B<+sw>. |
959 | B<-sw>. B<False>: do not scroll with scrollback buffer when tty receives |
|
|
960 | new lines; option B<+sw>. |
939 | |
961 | |
940 | =item B<scrollTtyKeypress:> I<boolean> |
962 | =item B<scrollTtyKeypress:> I<boolean> |
941 | |
963 | |
942 | B<True>: scroll to bottom when a non-special key is pressed. Special keys |
964 | 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 |
965 | are those which are intercepted by rxvt-unicode for special handling and |
… | |
… | |
1163 | with pattern B<list/PREFIX/MIDDLE/SUFFIX>, where the delimiter `/' |
1185 | with pattern B<list/PREFIX/MIDDLE/SUFFIX>, where the delimiter `/' |
1164 | should be a character not used by the strings. |
1186 | should be a character not used by the strings. |
1165 | |
1187 | |
1166 | Its usage can be demonstrated by an example: |
1188 | Its usage can be demonstrated by an example: |
1167 | |
1189 | |
1168 | URxvt.keysym.M-C-0x61: list|\033<M-C-|abc|> |
1190 | URxvt.keysym.M-C-0x61: list|\033<|abc|> |
1169 | |
1191 | |
1170 | The above line is equivalent to the following three lines: |
1192 | The above line is equivalent to the following three lines: |
1171 | |
1193 | |
1172 | URxvt.keysym.Meta-Control-0x61: \033<M-C-a> |
1194 | URxvt.keysym.Meta-Control-0x61: \033<a> |
1173 | URxvt.keysym.Meta-Control-0x62: \033<M-C-b> |
1195 | URxvt.keysym.Meta-Control-0x62: \033<b> |
1174 | URxvt.keysym.Meta-Control-0x63: \033<M-C-c> |
1196 | URxvt.keysym.Meta-Control-0x63: \033<c> |
1175 | |
1197 | |
1176 | If I<string> takes the form of C<command:STRING>, the specified B<STRING> |
1198 | 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 |
1199 | 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> |
1200 | example the following means "change the current locale to C<zh_CN.GBK> |
1179 | when Control-Meta-c is being pressed": |
1201 | when Control-Meta-c is being pressed": |
… | |
… | |
1609 | =item B<RXVT_SOCKET> |
1631 | =item B<RXVT_SOCKET> |
1610 | |
1632 | |
1611 | The unix domain socket path used by @@RXVT_NAME@@c(1) and |
1633 | The unix domain socket path used by @@RXVT_NAME@@c(1) and |
1612 | @@RXVT_NAME@@d(1). |
1634 | @@RXVT_NAME@@d(1). |
1613 | |
1635 | |
1614 | Default F<<< $HOME/.rxvt-unicode-I<< <nodename >> >>>. |
1636 | Default F<<< $HOME/.rxvt-unicode-I<< <nodename> >> >>>. |
1615 | |
1637 | |
1616 | =item B<HOME> |
1638 | =item B<HOME> |
1617 | |
1639 | |
1618 | Used to locate the default directory for the unix domain socket for |
1640 | Used to locate the default directory for the unix domain socket for |
1619 | daemon communications and to locate various resource files (such as |
1641 | daemon communications and to locate various resource files (such as |
1620 | C<.Xdefaults>) |
1642 | C<.Xdefaults>) |
1621 | |
1643 | |
1622 | =item B<XAPPLRESDIR> |
1644 | =item B<XAPPLRESDIR> |
1623 | |
1645 | |
1624 | Directory where various X resource files are being located. |
1646 | Directory where application-specific X resource files are located. |
1625 | |
1647 | |
1626 | =item B<XENVIRONMENT> |
1648 | =item B<XENVIRONMENT> |
1627 | |
1649 | |
1628 | If set and accessible, gives the name of a X resource file to be loaded by |
1650 | If set and accessible, gives the name of a X resource file to be loaded by |
1629 | @@RXVT_NAME@@. |
1651 | @@RXVT_NAME@@. |