… | |
… | |
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 |
761 | auto will scale image to match window size. Equivalent to 100x100 |
762 | hscale will scale image horizontally to the window size |
762 | hscale will scale image horizontally to the window size |
763 | vscale will scale image vertically to the window size |
763 | vscale will scale image vertically to the window size |
764 | scale will scale image to match window size |
764 | scale will scale image to match window size |
… | |
… | |
903 | =item B<scrollstyle:> I<mode> |
903 | =item B<scrollstyle:> I<mode> |
904 | |
904 | |
905 | Set scrollbar style to B<rxvt>, B<plain>, B<next> or B<xterm>. B<plain> is |
905 | Set scrollbar style to B<rxvt>, B<plain>, B<next> or B<xterm>. B<plain> is |
906 | the author's favourite. |
906 | the author's favourite. |
907 | |
907 | |
|
|
908 | =item B<thickness:> I<number> |
|
|
909 | |
|
|
910 | Set the scrollbar width in pixels. |
|
|
911 | |
908 | =item B<scrollBar:> I<boolean> |
912 | =item B<scrollBar:> I<boolean> |
909 | |
913 | |
910 | B<True>: enable the scrollbar [default]; option B<-sb>. B<False>: |
914 | B<True>: enable the scrollbar [default]; option B<-sb>. B<False>: |
911 | disable the scrollbar; option B<+sb>. |
915 | disable the scrollbar; option B<+sb>. |
912 | |
916 | |
… | |
… | |
931 | B<False>: do not scroll to bottom when tty receives output; option |
935 | B<False>: do not scroll to bottom when tty receives output; option |
932 | B<+si>. |
936 | B<+si>. |
933 | |
937 | |
934 | =item B<scrollWithBuffer:> I<boolean> |
938 | =item B<scrollWithBuffer:> I<boolean> |
935 | |
939 | |
936 | B<True>: scroll with scrollback buffer when tty receives new lines (and |
940 | 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 |
941 | try to show the same lines) and B<scrollTtyOutput> is False; option |
938 | with scrollback buffer when tty receives new lines; option B<+sw>. |
942 | B<-sw>. B<False>: do not scroll with scrollback buffer when tty receives |
|
|
943 | new lines; option B<+sw>. |
939 | |
944 | |
940 | =item B<scrollTtyKeypress:> I<boolean> |
945 | =item B<scrollTtyKeypress:> I<boolean> |
941 | |
946 | |
942 | B<True>: scroll to bottom when a non-special key is pressed. Special keys |
947 | 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 |
948 | are those which are intercepted by rxvt-unicode for special handling and |
… | |
… | |
1163 | with pattern B<list/PREFIX/MIDDLE/SUFFIX>, where the delimiter `/' |
1168 | with pattern B<list/PREFIX/MIDDLE/SUFFIX>, where the delimiter `/' |
1164 | should be a character not used by the strings. |
1169 | should be a character not used by the strings. |
1165 | |
1170 | |
1166 | Its usage can be demonstrated by an example: |
1171 | Its usage can be demonstrated by an example: |
1167 | |
1172 | |
1168 | URxvt.keysym.M-C-0x61: list|\033<M-C-|abc|> |
1173 | URxvt.keysym.M-C-0x61: list|\033<|abc|> |
1169 | |
1174 | |
1170 | The above line is equivalent to the following three lines: |
1175 | The above line is equivalent to the following three lines: |
1171 | |
1176 | |
1172 | URxvt.keysym.Meta-Control-0x61: \033<M-C-a> |
1177 | URxvt.keysym.Meta-Control-0x61: \033<a> |
1173 | URxvt.keysym.Meta-Control-0x62: \033<M-C-b> |
1178 | URxvt.keysym.Meta-Control-0x62: \033<b> |
1174 | URxvt.keysym.Meta-Control-0x63: \033<M-C-c> |
1179 | URxvt.keysym.Meta-Control-0x63: \033<c> |
1175 | |
1180 | |
1176 | If I<string> takes the form of C<command:STRING>, the specified B<STRING> |
1181 | 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 |
1182 | 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> |
1183 | example the following means "change the current locale to C<zh_CN.GBK> |
1179 | when Control-Meta-c is being pressed": |
1184 | when Control-Meta-c is being pressed": |
… | |
… | |
1609 | =item B<RXVT_SOCKET> |
1614 | =item B<RXVT_SOCKET> |
1610 | |
1615 | |
1611 | The unix domain socket path used by @@RXVT_NAME@@c(1) and |
1616 | The unix domain socket path used by @@RXVT_NAME@@c(1) and |
1612 | @@RXVT_NAME@@d(1). |
1617 | @@RXVT_NAME@@d(1). |
1613 | |
1618 | |
1614 | Default F<<< $HOME/.rxvt-unicode-I<< <nodename >> >>>. |
1619 | Default F<<< $HOME/.rxvt-unicode-I<< <nodename> >> >>>. |
1615 | |
1620 | |
1616 | =item B<HOME> |
1621 | =item B<HOME> |
1617 | |
1622 | |
1618 | Used to locate the default directory for the unix domain socket for |
1623 | Used to locate the default directory for the unix domain socket for |
1619 | daemon communications and to locate various resource files (such as |
1624 | daemon communications and to locate various resource files (such as |
1620 | C<.Xdefaults>) |
1625 | C<.Xdefaults>) |
1621 | |
1626 | |
1622 | =item B<XAPPLRESDIR> |
1627 | =item B<XAPPLRESDIR> |
1623 | |
1628 | |
1624 | Directory where various X resource files are being located. |
1629 | Directory where application-specific X resource files are located. |
1625 | |
1630 | |
1626 | =item B<XENVIRONMENT> |
1631 | =item B<XENVIRONMENT> |
1627 | |
1632 | |
1628 | If set and accessible, gives the name of a X resource file to be loaded by |
1633 | If set and accessible, gives the name of a X resource file to be loaded by |
1629 | @@RXVT_NAME@@. |
1634 | @@RXVT_NAME@@. |