… | |
… | |
183 | |
183 | |
184 | =item B<-fg> I<colour> |
184 | =item B<-fg> I<colour> |
185 | |
185 | |
186 | Window foreground colour; resource B<foreground>. |
186 | Window foreground colour; resource B<foreground>. |
187 | |
187 | |
188 | =item B<-pixmap> I<file[;geom[:op1][:op2][...]]> |
188 | =item B<-pixmap> I<file[;oplist]> |
189 | |
189 | |
190 | Compile I<afterimage> or I<pixbuf>: Specify image file for the background and also |
190 | Compile I<afterimage> or I<pixbuf>: Specify image file for the background and also |
191 | optionally specify its scaling with a geometry string. Note you may need to |
191 | optionally specify a list of operations to modify it. Note you may need to |
192 | add quotes to avoid special shell interpretation of the C<;> in the |
192 | add quotes to avoid special shell interpretation of the C<;> in the |
193 | command-line; for more details see resource B<backgroundPixmap>. |
193 | command-line; for more details see resource B<backgroundPixmap>. |
194 | |
194 | |
195 | =item B<-cr> I<colour> |
195 | =item B<-cr> I<colour> |
196 | |
196 | |
… | |
… | |
743 | =item B<borderColor:> I<colour> |
743 | =item B<borderColor:> I<colour> |
744 | |
744 | |
745 | The colour of the border around the text area and between the scrollbar |
745 | The colour of the border around the text area and between the scrollbar |
746 | and the text. |
746 | and the text. |
747 | |
747 | |
748 | =item B<backgroundPixmap:> I<file[;geom[:op1][:op2][...]]> |
748 | =item B<backgroundPixmap:> I<file[;oplist]> |
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 a colon separated list of operations to modify it. |
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 |
|
|
754 | centre (percent). A scale of 0 displays the image with tiling. |
|
|
755 | The maximum permitted scale is 1000. |
|
|
756 | Additional operations can be specified after colon B<:op1:op2...>. |
|
|
757 | Supported operations are: |
752 | Supported operations are: |
758 | |
753 | |
759 | tile force background image to be tiled and not scaled. Equivalent to 0x0 |
754 | =over 4 |
760 | propscale will scale image keeping proportions |
755 | |
761 | auto will scale image to match window size. Equivalent to 100x100 |
756 | =item B<WxH+X+Y> |
762 | hscale will scale image horizontally to the window size |
757 | |
763 | vscale will scale image vertically to the window size |
758 | sets scale and position. B<"W" / "H"> specify the horizontal/vertical |
764 | scale will scale image to match window size |
759 | scale (percent), and B<"X" / "Y"> locate the image centre (percent). A |
765 | root will tile image as if it was a root window background, auto-adjusting |
760 | scale of 0 disables scaling. The maximum permitted scale is 1000. |
766 | whenever terminal window moves |
761 | |
|
|
762 | =item B<op=tile> |
|
|
763 | |
|
|
764 | enables tiling |
|
|
765 | |
|
|
766 | =item B<op=pscale> |
|
|
767 | |
|
|
768 | enables proportional scaling |
|
|
769 | |
|
|
770 | =item B<op=root> |
|
|
771 | |
|
|
772 | use the position of the terminal window relative to the root window as |
|
|
773 | the image offset, simulating a root window background |
|
|
774 | |
|
|
775 | =back |
|
|
776 | |
|
|
777 | The default scale and position setting is C<100x100+50+50>. |
|
|
778 | Alternatively, a predefined set of templates can be used to achieve |
|
|
779 | the most common setups: |
|
|
780 | |
|
|
781 | =over 4 |
|
|
782 | |
|
|
783 | =item B<style=tiled> |
|
|
784 | |
|
|
785 | the image is tiled with no scaling. Equivalent to 0x0+0+0:op=tile |
|
|
786 | |
|
|
787 | =item B<style=aspect-stretched> |
|
|
788 | |
|
|
789 | the image is scaled to fill the whole window maintaining the aspect |
|
|
790 | ratio and centered. Equivalent to 100x100+50+50:op=pscale |
|
|
791 | |
|
|
792 | =item B<style=stretched> |
|
|
793 | |
|
|
794 | the image is scaled to fill the whole window. Equivalent to 100x100 |
|
|
795 | |
|
|
796 | =item B<style=centered> |
|
|
797 | |
|
|
798 | the image is centered with no scaling. Equivalent to 0x0+50+50 |
|
|
799 | |
|
|
800 | =item B<style=root-tiled> |
|
|
801 | |
|
|
802 | the image is tiled with no scaling and using 'root' positioning. |
|
|
803 | Equivalent to 0x0:op=tile:op=root |
|
|
804 | |
|
|
805 | =back |
|
|
806 | |
|
|
807 | If multiple templates are specified the last one wins. Note that a |
|
|
808 | template overrides all the scale, position and operations settings. |
767 | |
809 | |
768 | If used in conjunction with B<-tr> option, the specified pixmap will be |
810 | 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> |
811 | blended over the transparent background using alpha-blending. If I<afterimage> |
770 | support has been compiled in it is possible to choose other blending |
812 | support has been compiled in it is possible to choose other blending |
771 | types with B<-blt "type"> option. |
813 | types with B<-blt "type"> option. |
… | |
… | |
1162 | performed in an exact manner; however, the closest match is assured. |
1204 | performed in an exact manner; however, the closest match is assured. |
1163 | |
1205 | |
1164 | I<string> may contain escape values (C<\n>: newline, C<\000>: octal |
1206 | I<string> may contain escape values (C<\n>: newline, C<\000>: octal |
1165 | number), see RESOURCES in C<man 7 X> for further details. |
1207 | number), see RESOURCES in C<man 7 X> for further details. |
1166 | |
1208 | |
|
|
1209 | You can define a range of keysyms in one shot by |
|
|
1210 | loading the C<keysym-list> perl extension and providing a I<string> |
|
|
1211 | with pattern B<list/PREFIX/MIDDLE/SUFFIX>, where the delimiter `/' |
|
|
1212 | should be a character not used by the strings. |
|
|
1213 | |
|
|
1214 | Its usage can be demonstrated by an example: |
|
|
1215 | |
|
|
1216 | URxvt.keysym.M-C-0x61: list|\033<|abc|> |
|
|
1217 | |
|
|
1218 | The above line is equivalent to the following three lines: |
|
|
1219 | |
|
|
1220 | URxvt.keysym.Meta-Control-0x61: \033<a> |
|
|
1221 | URxvt.keysym.Meta-Control-0x62: \033<b> |
|
|
1222 | URxvt.keysym.Meta-Control-0x63: \033<c> |
|
|
1223 | |
1167 | If I<string> takes the form of C<command:STRING>, the specified B<STRING> |
1224 | If I<string> takes the form of C<command:STRING>, the specified B<STRING> |
1168 | is interpreted and executed as @@RXVT_NAME@@'s control sequence. For |
1225 | is interpreted and executed as @@RXVT_NAME@@'s control sequence. For |
1169 | example the following means "change the current locale to C<zh_CN.GBK> |
1226 | example the following means "change the current locale to C<zh_CN.GBK> |
1170 | when Control-Meta-c is being pressed": |
1227 | when Control-Meta-c is being pressed": |
1171 | |
1228 | |
… | |
… | |
1243 | the @@RXVT_NAME@@perl(3) manpage. |
1300 | the @@RXVT_NAME@@perl(3) manpage. |
1244 | |
1301 | |
1245 | =item B<perl-lib>: I<path> |
1302 | =item B<perl-lib>: I<path> |
1246 | |
1303 | |
1247 | Colon-separated list of additional directories that hold extension |
1304 | Colon-separated list of additional directories that hold extension |
1248 | scripts. When looking for extensions specified by the C<perl> resource, |
1305 | scripts. When looking for perl extensions, @@RXVT_NAME@@ will first |
1249 | @@RXVT_NAME@@ will first look in these directories and then in |
1306 | look in these directories, then in $HOME/.urxvt/ext and lastly in |
1250 | F<@@RXVT_LIBDIR@@/urxvt/perl/>. |
1307 | F<@@RXVT_LIBDIR@@/urxvt/perl/>. |
1251 | |
1308 | |
1252 | See the @@RXVT_NAME@@perl(3) manpage. |
1309 | See the @@RXVT_NAME@@perl(3) manpage. |
1253 | |
1310 | |
1254 | =item B<< selection.pattern-I<idx> >>: I<perl-regex> |
1311 | =item B<< selection.pattern-I<idx> >>: I<perl-regex> |
… | |
… | |
1600 | =item B<RXVT_SOCKET> |
1657 | =item B<RXVT_SOCKET> |
1601 | |
1658 | |
1602 | The unix domain socket path used by @@RXVT_NAME@@c(1) and |
1659 | The unix domain socket path used by @@RXVT_NAME@@c(1) and |
1603 | @@RXVT_NAME@@d(1). |
1660 | @@RXVT_NAME@@d(1). |
1604 | |
1661 | |
1605 | Default F<<< $HOME/.rxvt-unicode-I<< <nodename> >> >>>. |
1662 | Default F<<< $HOME/.urxvt/urxvtd-I<< <nodename> >> >>>. |
1606 | |
1663 | |
1607 | =item B<HOME> |
1664 | =item B<HOME> |
1608 | |
1665 | |
1609 | Used to locate the default directory for the unix domain socket for |
1666 | Used to locate the default directory for the unix domain socket for |
1610 | daemon communications and to locate various resource files (such as |
1667 | daemon communications and to locate various resource files (such as |