… | |
… | |
101 | =item B<-depth> I<bitdepth> |
101 | =item B<-depth> I<bitdepth> |
102 | |
102 | |
103 | Compile I<xft>: Attempt to find a visual with the given bit depth; |
103 | Compile I<xft>: Attempt to find a visual with the given bit depth; |
104 | resource B<depth>. |
104 | resource B<depth>. |
105 | |
105 | |
|
|
106 | [Please note that many X servers (and libXft) are buggy with |
|
|
107 | respect to C<-depth 32> and/or alpha channels, and will cause all sorts |
|
|
108 | of graphical corruption. This is harmless, but we can't do anything about |
|
|
109 | this, so watch out] |
|
|
110 | |
106 | =item B<-geometry> I<geom> |
111 | =item B<-geometry> I<geom> |
107 | |
112 | |
108 | Window geometry (B<-g> still respected); resource B<geometry>. |
113 | Window geometry (B<-g> still respected); resource B<geometry>. |
109 | |
114 | |
110 | =item B<-rv>|B<+rv> |
115 | =item B<-rv>|B<+rv> |
… | |
… | |
566 | |
571 | |
567 | =item B<depth:> I<bitdepth> |
572 | =item B<depth:> I<bitdepth> |
568 | |
573 | |
569 | Compile I<xft>: Attempt to find a visual with the given bit depth; |
574 | Compile I<xft>: Attempt to find a visual with the given bit depth; |
570 | option B<-depth>. |
575 | option B<-depth>. |
|
|
576 | |
|
|
577 | =item B<buffered:> I<boolean> |
|
|
578 | |
|
|
579 | Compile I<xft>: Turn on/off double-buffering for xft (default enabled). |
|
|
580 | On some card/driver combination enabling it slightly decreases |
|
|
581 | performance, on most it greatly helps it. The slowdown is small, so it |
|
|
582 | should normally be enabled. |
571 | |
583 | |
572 | =item B<geometry:> I<geom> |
584 | =item B<geometry:> I<geom> |
573 | |
585 | |
574 | Create the window with the specified X window geometry [default 80x24]; |
586 | Create the window with the specified X window geometry [default 80x24]; |
575 | option B<-geometry>. |
587 | option B<-geometry>. |
… | |
… | |
1456 | =back |
1468 | =back |
1457 | |
1469 | |
1458 | =head2 ALPHA CHANNEL SUPPORT |
1470 | =head2 ALPHA CHANNEL SUPPORT |
1459 | |
1471 | |
1460 | If Xft support has been compiled in and as long as Xft/Xrender/X don't get |
1472 | If Xft support has been compiled in and as long as Xft/Xrender/X don't get |
1461 | their act together, rxvt-unicode will support C<rgba:rrrr/gggg/bbbb/aaaa> |
1473 | their act together, rxvt-unicode will do it's own alpha channel management: |
1462 | (recommended, but B<MUST> have 4 digits/component) colour specifications, |
1474 | |
1463 | in addition to the ones provided by X, where the additional A component |
1475 | You can prefix any color with an opaquenes percentage enclosed in |
|
|
1476 | brackets, i.e. C<[percent]>, where C<percent> is a decimal percentage |
|
|
1477 | (0-100) that specifies the opacity of the color, where C<0> is completely |
|
|
1478 | transparent and C<100> is completely opaque. For example, C<[50]red> is a |
|
|
1479 | half-transparent red, while C<[95]#00ff00> is an almost opaque green. This |
|
|
1480 | is the recommended format to specify transparency values, and works with |
|
|
1481 | all ways to specify a colour. |
|
|
1482 | |
|
|
1483 | For complete control, rxvt-unicode also supports |
|
|
1484 | C<rgba:rrrr/gggg/bbbb/aaaa> (exactly four hex digits/component) colour |
|
|
1485 | specifications, where the additional C<aaaa> component specifies opacity |
1464 | specifies opacity (alpha) values. The minimum value of C<0> is completely |
1486 | (alpha) values. The minimum value of C<0000> is completely transparent, |
1465 | transparent). You can also prefix any color with C<[percent]>, where |
1487 | while C<ffff> is completely opaque). The two example colours from |
1466 | C<percent> is a decimal percentage (0-100) that specifies the opacity of |
1488 | earlier could also be specified as C<rgba:ff00/0000/0000/8000> and |
1467 | the color, where C<0> is completely transparent and C<100> is completelxy |
1489 | C<rgba:0000/ff00/0000/f332>. |
1468 | opaque. |
|
|
1469 | |
1490 | |
1470 | You probably need to specify B<"-depth 32">, too, and have the luck that |
1491 | You probably need to specify B<"-depth 32">, too, to force a visual with |
1471 | your X-server uses ARGB pixel layout, as X is far from just supporting |
1492 | alpha channels, and have the luck that your X-server uses ARGB pixel |
1472 | ARGB visuals out of the box, and rxvt-unicode just fudges around. |
1493 | layout, as X is far from just supporting ARGB visuals out of the box, and |
|
|
1494 | rxvt-unicode just fudges around. |
1473 | |
1495 | |
1474 | For example, the following selects an almost completely transparent red |
1496 | For example, the following selects an almost completely transparent black |
1475 | background, and an almost opaque pink foreground: |
1497 | background, and an almost opaque pink foreground: |
1476 | |
1498 | |
1477 | @@RXVT_NAME@@ -depth 32 -bg rgba:0000/0000/0000/aaaa -fg "[80]pink" |
1499 | @@RXVT_NAME@@ -depth 32 -bg rgba:0000/0000/0000/4444 -fg "[80]pink" |
1478 | |
1500 | |
1479 | I<Please note that transparency of any kind if completely unsupported by |
1501 | When not using a background image, then the interpretation of the |
1480 | the author. Don't bug him with installation questions!> |
1502 | alpha channel is up to your compositing manager (most interpret it as |
|
|
1503 | transparency of course). |
|
|
1504 | |
|
|
1505 | When using a background pixmap or pseudo-transparency, then the background |
|
|
1506 | colour will always behave as if it were completely transparent (so the |
|
|
1507 | background image shows instead), regardless of how it was specified, while |
|
|
1508 | other colours will either be transparent as specified (the background |
|
|
1509 | image will show through) on servers supporting the RENDER extension, or |
|
|
1510 | fully opaque on servers not supporting the RENDER EXTENSION. |
|
|
1511 | |
|
|
1512 | Please note that due to bugs in Xft, specifying alpha values might result |
|
|
1513 | in garbage being displayed when the X-server does not support the RENDER |
|
|
1514 | extension. |
1481 | |
1515 | |
1482 | =head1 ENVIRONMENT |
1516 | =head1 ENVIRONMENT |
1483 | |
1517 | |
1484 | B<@@RXVT_NAME@@> sets and/or uses the following environment variables: |
1518 | B<@@RXVT_NAME@@> sets and/or uses the following environment variables: |
1485 | |
1519 | |