… | |
… | |
209 | |
209 | |
210 | =head2 Rendering, Font & Look and Feel Issues |
210 | =head2 Rendering, Font & Look and Feel Issues |
211 | |
211 | |
212 | =head3 I can't get transparency working, what am I doing wrong? |
212 | =head3 I can't get transparency working, what am I doing wrong? |
213 | |
213 | |
214 | First of all, transparency isn't officially supported in rxvt-unicode, so |
214 | First of all, please address all transparency related issues to Sasha Vasko at |
215 | you are mostly on your own. Do not bug the author about it (but you may |
215 | sasha@aftercode.net and do not bug the author about it. Also, if you can't |
216 | bug everybody else). Also, if you can't get it working consider it a rite |
216 | get it working consider it a rite of passage: ... and you failed. |
217 | of passage: ... and you failed. |
|
|
218 | |
217 | |
219 | Here are four ways to get transparency. B<Do> read the manpage and option |
218 | Here are four ways to get transparency. B<Do> read the manpage and option |
220 | descriptions for the programs mentioned and rxvt-unicode. Really, do it! |
219 | descriptions for the programs mentioned and rxvt-unicode. Really, do it! |
221 | |
220 | |
222 | 1. Use inheritPixmap: |
221 | 1. Use inheritPixmap: |
… | |
… | |
229 | |
228 | |
230 | 2. Use a simple pixmap and emulate pseudo-transparency. This enables you |
229 | 2. Use a simple pixmap and emulate pseudo-transparency. This enables you |
231 | to use effects other than tinting and shading: Just shade/tint/whatever |
230 | to use effects other than tinting and shading: Just shade/tint/whatever |
232 | your picture with gimp or any other tool: |
231 | your picture with gimp or any other tool: |
233 | |
232 | |
234 | convert wallpaper.jpg -blur 20x20 -modulate 30 background.xpm |
233 | convert wallpaper.jpg -blur 20x20 -modulate 30 background.jpg |
235 | @@URXVT_NAME@@ -pixmap background.xpm -pe automove-background |
234 | @@URXVT_NAME@@ -pixmap background.jpg -pe automove-background |
236 | |
235 | |
237 | That works. If you think it doesn't, you lack XPM and Perl support, or you |
236 | That works. If you think it doesn't, you lack AfterImage and Perl support, or you |
238 | are unable to read. |
237 | are unable to read. |
239 | |
238 | |
240 | 3. Use an ARGB visual: |
239 | 3. Use an ARGB visual: |
241 | |
240 | |
242 | @@URXVT_NAME@@ -depth 32 -fg grey90 -bg rgba:0000/0000/4444/cccc |
241 | @@URXVT_NAME@@ -depth 32 -fg grey90 -bg rgba:0000/0000/4444/cccc |
… | |
… | |
459 | fonts for the same character at the same time, but no interface for this |
458 | fonts for the same character at the same time, but no interface for this |
460 | has been designed yet). |
459 | has been designed yet). |
461 | |
460 | |
462 | Until then, you might get away with switching fonts at runtime (see L<Can |
461 | Until then, you might get away with switching fonts at runtime (see L<Can |
463 | I switch the fonts at runtime?> later in this document). |
462 | I switch the fonts at runtime?> later in this document). |
|
|
463 | |
|
|
464 | =head3 How can I make mplayer display video correctly? |
|
|
465 | |
|
|
466 | We are working on it, in the meantime, as a workaround, use something like: |
|
|
467 | |
|
|
468 | @@URXVT_NAME@@ -b 600 -geometry 20x1 -e sh -c 'mplayer -wid $WINDOWID file...' |
|
|
469 | |
464 | |
470 | |
465 | =head2 Keyboard, Mouse & User Interaction |
471 | =head2 Keyboard, Mouse & User Interaction |
466 | |
472 | |
467 | =head3 The new selection selects pieces that are too big, how can I select single words? |
473 | =head3 The new selection selects pieces that are too big, how can I select single words? |
468 | |
474 | |
… | |
… | |
653 | F35 == Next |
659 | F35 == Next |
654 | |
660 | |
655 | Rather than have rxvt-unicode try to accommodate all the various possible |
661 | Rather than have rxvt-unicode try to accommodate all the various possible |
656 | keyboard mappings, it is better to use `xmodmap' to remap the keys as |
662 | keyboard mappings, it is better to use `xmodmap' to remap the keys as |
657 | required for your particular machine. |
663 | required for your particular machine. |
658 | |
|
|
659 | |
664 | |
660 | |
665 | |
661 | =head2 Terminal Configuration |
666 | =head2 Terminal Configuration |
662 | |
667 | |
663 | =head3 Can I see a typical configuration? |
668 | =head3 Can I see a typical configuration? |
… | |
… | |
1899 | B<< C<h> >> Use Hilite Mouse Tracking. |
1904 | B<< C<h> >> Use Hilite Mouse Tracking. |
1900 | B<< C<l> >> No mouse reporting. |
1905 | B<< C<l> >> No mouse reporting. |
1901 | |
1906 | |
1902 | =end table |
1907 | =end table |
1903 | |
1908 | |
|
|
1909 | =item B<< C<Pm = 1002> >> (X11 XTerm) |
|
|
1910 | |
|
|
1911 | =begin table |
|
|
1912 | |
|
|
1913 | B<< C<h> >> Send Mouse X & Y on button press and release, and motion with a button pressed. |
|
|
1914 | B<< C<l> >> No mouse reporting. |
|
|
1915 | |
|
|
1916 | =end table |
|
|
1917 | |
|
|
1918 | =item B<< C<Pm = 1003> >> (X11 XTerm) |
|
|
1919 | |
|
|
1920 | =begin table |
|
|
1921 | |
|
|
1922 | B<< C<h> >> Send Mouse X & Y on button press and release, and motion. |
|
|
1923 | B<< C<l> >> No mouse reporting. |
|
|
1924 | |
|
|
1925 | =end table |
|
|
1926 | |
1904 | =item B<< C<Pm = 1010> >> (B<rxvt>) |
1927 | =item B<< C<Pm = 1010> >> (B<rxvt>) |
1905 | |
1928 | |
1906 | =begin table |
1929 | =begin table |
1907 | |
1930 | |
1908 | B<< C<h> >> Don't scroll to bottom on TTY output |
1931 | B<< C<h> >> Don't scroll to bottom on TTY output |
… | |
… | |
1983 | B<< C<Ps = 12> >> Change colour of text cursor foreground to B<< C<Pt> >> |
2006 | B<< C<Ps = 12> >> Change colour of text cursor foreground to B<< C<Pt> >> |
1984 | B<< C<Ps = 13> >> Change colour of mouse foreground to B<< C<Pt> >> |
2007 | B<< C<Ps = 13> >> Change colour of mouse foreground to B<< C<Pt> >> |
1985 | B<< C<Ps = 17> >> Change colour of highlight characters to B<< C<Pt> >> |
2008 | B<< C<Ps = 17> >> Change colour of highlight characters to B<< C<Pt> >> |
1986 | B<< C<Ps = 18> >> Change colour of bold characters to B<< C<Pt> >> [deprecated, see 706] |
2009 | B<< C<Ps = 18> >> Change colour of bold characters to B<< C<Pt> >> [deprecated, see 706] |
1987 | B<< C<Ps = 19> >> Change colour of underlined characters to B<< C<Pt> >> [deprecated, see 707] |
2010 | B<< C<Ps = 19> >> Change colour of underlined characters to B<< C<Pt> >> [deprecated, see 707] |
1988 | B<< C<Ps = 20> >> Change background pixmap parameters (see section XPM) (Compile XPM). |
2011 | B<< C<Ps = 20> >> Change background pixmap parameters (see section BACKGROUND IMAGE) (Compile AfterImage). |
1989 | B<< C<Ps = 39> >> Change default foreground colour to B<< C<Pt> >>. |
2012 | B<< C<Ps = 39> >> Change default foreground colour to B<< C<Pt> >>. |
1990 | B<< C<Ps = 46> >> Change Log File to B<< C<Pt> >> I<unimplemented> |
2013 | B<< C<Ps = 46> >> Change Log File to B<< C<Pt> >> I<unimplemented> |
1991 | B<< C<Ps = 49> >> Change default background colour to B<< C<Pt> >>. |
2014 | B<< C<Ps = 49> >> Change default background colour to B<< C<Pt> >>. |
1992 | B<< C<Ps = 50> >> Set fontset to B<< C<Pt> >>, with the following special values of B<< C<Pt> >> (B<rxvt>) B<< C<#+n> >> change up B<< C<n> >> B<< C<#-n> >> change down B<< C<n> >> if B<< C<n> >> is missing of 0, a value of 1 is used I<empty> change to font0 B<< C<n> >> change to font B<< C<n> >> |
2015 | B<< C<Ps = 50> >> Set fontset to B<< C<Pt> >>, with the following special values of B<< C<Pt> >> (B<rxvt>) B<< C<#+n> >> change up B<< C<n> >> B<< C<#-n> >> change down B<< C<n> >> if B<< C<n> >> is missing of 0, a value of 1 is used I<empty> change to font0 B<< C<n> >> change to font B<< C<n> >> |
1993 | B<< C<Ps = 55> >> Log all scrollback buffer and all of screen to B<< C<Pt> >> |
2016 | B<< C<Ps = 55> >> Log all scrollback buffer and all of screen to B<< C<Pt> >> |
… | |
… | |
2007 | |
2030 | |
2008 | =end table |
2031 | =end table |
2009 | |
2032 | |
2010 | =back |
2033 | =back |
2011 | |
2034 | |
2012 | =head1 XPM |
2035 | =head1 BACKGROUND IMAGE |
2013 | |
2036 | |
2014 | For the XPM XTerm escape sequence B<< C<ESC ] 20 ; Pt ST> >> then value |
2037 | For the BACGROUND IMAGE XTerm escape sequence B<< C<ESC ] 20 ; Pt ST> >> then value |
2015 | of B<< C<Pt> >> can be the name of the background pixmap followed by a |
2038 | of B<< C<Pt> >> can be the name of the background image file followed by a |
2016 | sequence of scaling/positioning commands separated by semi-colons. The |
2039 | sequence of scaling/positioning commands separated by semi-colons. The |
2017 | scaling/positioning commands are as follows: |
2040 | scaling/positioning commands are as follows: |
2018 | |
2041 | |
2019 | =over 4 |
2042 | =over 4 |
2020 | |
2043 | |
… | |
… | |
2058 | |
2081 | |
2059 | For example: |
2082 | For example: |
2060 | |
2083 | |
2061 | =over 4 |
2084 | =over 4 |
2062 | |
2085 | |
2063 | =item B<\E]20;funky\a> |
2086 | =item B<\E]20;funky.jpg\a> |
2064 | |
2087 | |
2065 | load B<funky.xpm> as a tiled image |
2088 | load B<funky.jpg> as a tiled image |
2066 | |
2089 | |
2067 | =item B<\E]20;mona;100\a> |
2090 | =item B<\E]20;mona.jpg;100\a> |
2068 | |
2091 | |
2069 | load B<mona.xpm> with a scaling of 100% |
2092 | load B<mona.jpg> with a scaling of 100% |
2070 | |
2093 | |
2071 | =item B<\E]20;;200;?\a> |
2094 | =item B<\E]20;;200;?\a> |
2072 | |
2095 | |
2073 | rescale the current pixmap to 200% and display the image geometry in |
2096 | rescale the current pixmap to 200% and display the image geometry in |
2074 | the title |
2097 | the title |
… | |
… | |
2201 | |
2224 | |
2202 | =head1 CONFIGURE OPTIONS |
2225 | =head1 CONFIGURE OPTIONS |
2203 | |
2226 | |
2204 | General hint: if you get compile errors, then likely your configuration |
2227 | General hint: if you get compile errors, then likely your configuration |
2205 | hasn't been tested well. Either try with C<--enable-everything> or use |
2228 | hasn't been tested well. Either try with C<--enable-everything> or use |
2206 | the default configuration (i.e. C<--enable-xxx> or C<--disable-xxx>). Of |
2229 | the default configuration (i.e. no C<--enable-xxx> or C<--disable-xxx> |
2207 | course, you should always report when a combination doesn't work, so it |
2230 | switches). Of course, you should always report when a combination doesn't |
2208 | can be fixed. Marc Lehmann <rxvt@schmorp.de>. |
2231 | work, so it can be fixed. Marc Lehmann <rxvt@schmorp.de>. |
2209 | |
2232 | |
2210 | All |
2233 | All |
2211 | |
2234 | |
2212 | =over 4 |
2235 | =over 4 |
2213 | |
2236 | |
… | |
… | |
2348 | transparency to the term. |
2371 | transparency to the term. |
2349 | |
2372 | |
2350 | =item --enable-fading (default: on) |
2373 | =item --enable-fading (default: on) |
2351 | |
2374 | |
2352 | Add support for fading the text when focus is lost. |
2375 | Add support for fading the text when focus is lost. |
2353 | |
|
|
2354 | =item --enable-tinting (default: on) |
|
|
2355 | |
|
|
2356 | Add support for tinting of transparent backgrounds (requires C<--enable-transparency>). |
|
|
2357 | |
2376 | |
2358 | =item --enable-rxvt-scroll (default: on) |
2377 | =item --enable-rxvt-scroll (default: on) |
2359 | |
2378 | |
2360 | Add support for the original rxvt scrollbar. |
2379 | Add support for the original rxvt scrollbar. |
2361 | |
2380 | |