… | |
… | |
184 | on some backgrounds. Maximum radius value is 128. Compile I<afterimage>; |
184 | on some backgrounds. Maximum radius value is 128. Compile I<afterimage>; |
185 | resource I<blurRadius>. |
185 | resource I<blurRadius>. |
186 | |
186 | |
187 | =item B<-icon> I<file> |
187 | =item B<-icon> I<file> |
188 | |
188 | |
189 | Compile I<afterimage>: Use the specified image as application icon. This |
189 | Compile I<afterimage> or I<pixbuf>: Use the specified image as application icon. This |
190 | is used by many window managers, taskbars and pagers to represent the |
190 | is used by many window managers, taskbars and pagers to represent the |
191 | application window; resource I<iconFile>. |
191 | application window; resource I<iconFile>. |
192 | |
192 | |
193 | =item B<-bg> I<colour> |
193 | =item B<-bg> I<colour> |
194 | |
194 | |
… | |
… | |
198 | |
198 | |
199 | Window foreground colour; resource B<foreground>. |
199 | Window foreground colour; resource B<foreground>. |
200 | |
200 | |
201 | =item B<-pixmap> I<file[;geom[:op1][:op2][...]]> |
201 | =item B<-pixmap> I<file[;geom[:op1][:op2][...]]> |
202 | |
202 | |
203 | Compile I<afterimage>: Specify image file for the background and also |
203 | Compile I<afterimage> or I<pixbuf>: Specify image file for the background and also |
204 | optionally specify its scaling with a geometry string. Note you may need to |
204 | optionally specify its scaling with a geometry string. Note you may need to |
205 | add quotes to avoid special shell interpretation of the C<;> in the |
205 | add quotes to avoid special shell interpretation of the C<;> in the |
206 | command-line; for more details see resource B<backgroundPixmap>. |
206 | command-line; for more details see resource B<backgroundPixmap>. |
207 | |
207 | |
208 | =item B<-cr> I<colour> |
208 | =item B<-cr> I<colour> |
… | |
… | |
760 | |
760 | |
761 | =item B<backgroundPixmap:> I<file[;geom[:op1][:op2][...]]> |
761 | =item B<backgroundPixmap:> I<file[;geom[:op1][:op2][...]]> |
762 | |
762 | |
763 | Use the specified image file for the background and also |
763 | Use the specified image file for the background and also |
764 | optionally specify its scaling with a geometry string B<WxH+X+Y>, |
764 | optionally specify its scaling with a geometry string B<WxH+X+Y>, |
765 | (default C<0x0+50+50>) in which B<"W" / "H"> specify the |
765 | (default C<100x100+50+50>) in which B<"W" / "H"> specify the |
766 | horizontal/vertical scale (percent), and B<"X" / "Y"> locate the image |
766 | horizontal/vertical scale (percent), and B<"X" / "Y"> locate the image |
767 | centre (percent). A scale of 0 displays the image with tiling. A scale |
767 | centre (percent). A scale of 0 displays the image with tiling. |
768 | of 1 displays the image without any scaling. A scale of 2 to 9 specifies |
768 | The maximum permitted scale is 1000. |
769 | an integer number of images in that direction. No image will be magnified |
|
|
770 | beyond 10 times its original size. The maximum permitted scale is 1000. |
|
|
771 | Additional operations can be specified after colon B<:op1:op2...>. |
769 | Additional operations can be specified after colon B<:op1:op2...>. |
772 | Supported operations are: |
770 | Supported operations are: |
773 | |
771 | |
774 | tile force background image to be tiled and not scaled. Equivalent to 0x0 |
772 | tile force background image to be tiled and not scaled. Equivalent to 0x0 |
775 | propscale will scale image keeping proportions |
773 | propscale will scale image keeping proportions |
… | |
… | |
1040 | large number (e.g. C<987654321>) to effectively disable the timeout. |
1038 | large number (e.g. C<987654321>) to effectively disable the timeout. |
1041 | |
1039 | |
1042 | =item B<backspacekey:> I<string> |
1040 | =item B<backspacekey:> I<string> |
1043 | |
1041 | |
1044 | The string to send when the backspace key is pressed. If set to B<DEC> |
1042 | The string to send when the backspace key is pressed. If set to B<DEC> |
1045 | or unset it will send B<Delete> (code 127) or, if shifted, B<Backspace> |
1043 | or unset it will send B<Delete> (code 127) or, with control, B<Backspace> |
1046 | (code 8) - which can be reversed with the appropriate DEC private mode |
1044 | (code 8) - which can be reversed with the appropriate DEC private mode |
1047 | escape sequence. |
1045 | escape sequence. |
1048 | |
1046 | |
1049 | =item B<deletekey:> I<string> |
1047 | =item B<deletekey:> I<string> |
1050 | |
1048 | |
… | |
… | |
1169 | omitting the prefix B<XK_>. Alternatively you can specify I<key> by its hex |
1167 | omitting the prefix B<XK_>. Alternatively you can specify I<key> by its hex |
1170 | keysym value (B<0x0000 - 0xFFFF>). Note that the lookup of I<sym>s is not |
1168 | keysym value (B<0x0000 - 0xFFFF>). Note that the lookup of I<sym>s is not |
1171 | performed in an exact manner; however, the closest match is assured. |
1169 | performed in an exact manner; however, the closest match is assured. |
1172 | |
1170 | |
1173 | I<string> may contain escape values (C<\n>: newline, C<\000>: octal |
1171 | I<string> may contain escape values (C<\n>: newline, C<\000>: octal |
1174 | number), see RESOURCES in C<man 7 X> for futher details. |
1172 | number), see RESOURCES in C<man 7 X> for further details. |
1175 | |
1173 | |
1176 | You can define a range of keysyms in one shot by providing a I<string> |
1174 | You can define a range of keysyms in one shot by providing a I<string> |
1177 | with pattern B<list/PREFIX/MIDDLE/SUFFIX>, where the delimiter `/' |
1175 | with pattern B<list/PREFIX/MIDDLE/SUFFIX>, where the delimiter `/' |
1178 | should be a character not used by the strings. |
1176 | should be a character not used by the strings. |
1179 | |
1177 | |
… | |
… | |
1503 | |
1501 | |
1504 | index_88 = (r * 4 + g) * 4 + b + 16 # r, g, b = 0..3 |
1502 | index_88 = (r * 4 + g) * 4 + b + 16 # r, g, b = 0..3 |
1505 | index_256 = (r * 16 + g) * 16 + b + 16 # r, g, b = 0..15 |
1503 | index_256 = (r * 16 + g) * 16 + b + 16 # r, g, b = 0..15 |
1506 | |
1504 | |
1507 | The grayscale ramp uses indices 80..87 (232..239), from 10% to 90% in 10% |
1505 | The grayscale ramp uses indices 80..87 (232..239), from 10% to 90% in 10% |
1508 | steps (1/26 to 25/26 in 1/26 steps). |
1506 | steps (1/26 to 25/26 in 1/26 steps) - black and white are already part of |
|
|
1507 | the RGB cube. |
1509 | |
1508 | |
1510 | Together, all those colours implement the 88 (256) colour xterm |
1509 | Together, all those colours implement the 88 (256) colour xterm |
1511 | colours. Only the first 16 can be changed using resources currently, the |
1510 | colours. Only the first 16 can be changed using resources currently, the |
1512 | rest can only be changed via command sequences ("escape codes"). |
1511 | rest can only be changed via command sequences ("escape codes"). |
|
|
1512 | |
|
|
1513 | Applications are advised to use terminfo or command sequences to discover |
|
|
1514 | number and RGB values of all colours (yes, you can query this...). |
1513 | |
1515 | |
1514 | Note that B<-rv> (B<"reverseVideo: True">) simulates reverse video by |
1516 | Note that B<-rv> (B<"reverseVideo: True">) simulates reverse video by |
1515 | always swapping the foreground/background colours. This is in contrast to |
1517 | always swapping the foreground/background colours. This is in contrast to |
1516 | I<xterm>(1) where the colours are only swapped if they have not otherwise |
1518 | I<xterm>(1) where the colours are only swapped if they have not otherwise |
1517 | been specified. For example, |
1519 | been specified. For example, |
… | |
… | |
1524 | =head2 ALPHA CHANNEL SUPPORT |
1526 | =head2 ALPHA CHANNEL SUPPORT |
1525 | |
1527 | |
1526 | If Xft support has been compiled in and as long as Xft/Xrender/X don't get |
1528 | If Xft support has been compiled in and as long as Xft/Xrender/X don't get |
1527 | their act together, rxvt-unicode will do it's own alpha channel management: |
1529 | their act together, rxvt-unicode will do it's own alpha channel management: |
1528 | |
1530 | |
1529 | You can prefix any colour with an opaquenes percentage enclosed in |
1531 | You can prefix any colour with an opaqueness percentage enclosed in |
1530 | brackets, i.e. C<[percent]>, where C<percent> is a decimal percentage |
1532 | brackets, i.e. C<[percent]>, where C<percent> is a decimal percentage |
1531 | (0-100) that specifies the opacity of the colour, where C<0> is completely |
1533 | (0-100) that specifies the opacity of the colour, where C<0> is completely |
1532 | transparent and C<100> is completely opaque. For example, C<[50]red> is a |
1534 | transparent and C<100> is completely opaque. For example, C<[50]red> is a |
1533 | half-transparent red, while C<[95]#00ff00> is an almost opaque green. This |
1535 | half-transparent red, while C<[95]#00ff00> is an almost opaque green. This |
1534 | is the recommended format to specify transparency values, and works with |
1536 | is the recommended format to specify transparency values, and works with |