… | |
… | |
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 | B<WxH+X+Y> sets scale and position. B<"W" / "H"> specify the |
760 | propscale will scale image keeping proportions |
755 | horizontal/vertical scale (percent), and B<"X" / "Y"> |
761 | auto will scale image to match window size. Equivalent to 100x100 |
756 | locate the image centre (percent). A scale of 0 disables |
762 | hscale will scale image horizontally to the window size |
757 | scaling. The maximum permitted scale is 1000. |
763 | vscale will scale image vertically to the window size |
758 | op=tile enables tiling |
764 | scale will scale image to match window size |
759 | op=pscale enables proportional scaling |
765 | root will tile image as if it was a root window background, auto-adjusting |
760 | op=root use the position of the terminal window relative to the root |
766 | whenever terminal window moves |
761 | window as the image offset, simulating a root window background |
|
|
762 | |
|
|
763 | The default scale and position setting is C<100x100+50+50>. |
|
|
764 | Alternatively, a predefined set of templates can be used to achieve |
|
|
765 | the most common setups: |
|
|
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 100x100+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. |
… | |
… | |
1161 | keysym value (B<0x0000 - 0xFFFF>). Note that the lookup of I<sym>s is not |
1178 | keysym value (B<0x0000 - 0xFFFF>). Note that the lookup of I<sym>s is not |
1162 | performed in an exact manner; however, the closest match is assured. |
1179 | performed in an exact manner; however, the closest match is assured. |
1163 | |
1180 | |
1164 | I<string> may contain escape values (C<\n>: newline, C<\000>: octal |
1181 | I<string> may contain escape values (C<\n>: newline, C<\000>: octal |
1165 | number), see RESOURCES in C<man 7 X> for further details. |
1182 | number), see RESOURCES in C<man 7 X> for further details. |
|
|
1183 | |
|
|
1184 | You can define a range of keysyms in one shot by providing a I<string> |
|
|
1185 | with pattern B<list/PREFIX/MIDDLE/SUFFIX>, where the delimiter `/' |
|
|
1186 | should be a character not used by the strings. |
|
|
1187 | |
|
|
1188 | Its usage can be demonstrated by an example: |
|
|
1189 | |
|
|
1190 | URxvt.keysym.M-C-0x61: list|\033<|abc|> |
|
|
1191 | |
|
|
1192 | The above line is equivalent to the following three lines: |
|
|
1193 | |
|
|
1194 | URxvt.keysym.Meta-Control-0x61: \033<a> |
|
|
1195 | URxvt.keysym.Meta-Control-0x62: \033<b> |
|
|
1196 | URxvt.keysym.Meta-Control-0x63: \033<c> |
1166 | |
1197 | |
1167 | 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> |
1168 | is interpreted and executed as @@RXVT_NAME@@'s control sequence. For |
1199 | 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> |
1200 | example the following means "change the current locale to C<zh_CN.GBK> |
1170 | when Control-Meta-c is being pressed": |
1201 | when Control-Meta-c is being pressed": |