… | |
… | |
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 |
… | |
… | |
1989 | B<< C<Ps = 12> >> Change colour of text cursor foreground to B<< C<Pt> >> |
1988 | B<< C<Ps = 12> >> Change colour of text cursor foreground to B<< C<Pt> >> |
1990 | B<< C<Ps = 13> >> Change colour of mouse foreground to B<< C<Pt> >> |
1989 | B<< C<Ps = 13> >> Change colour of mouse foreground to B<< C<Pt> >> |
1991 | B<< C<Ps = 17> >> Change colour of highlight characters to B<< C<Pt> >> |
1990 | B<< C<Ps = 17> >> Change colour of highlight characters to B<< C<Pt> >> |
1992 | B<< C<Ps = 18> >> Change colour of bold characters to B<< C<Pt> >> [deprecated, see 706] |
1991 | B<< C<Ps = 18> >> Change colour of bold characters to B<< C<Pt> >> [deprecated, see 706] |
1993 | B<< C<Ps = 19> >> Change colour of underlined characters to B<< C<Pt> >> [deprecated, see 707] |
1992 | B<< C<Ps = 19> >> Change colour of underlined characters to B<< C<Pt> >> [deprecated, see 707] |
1994 | B<< C<Ps = 20> >> Change background pixmap parameters (see section XPM) (Compile XPM). |
1993 | B<< C<Ps = 20> >> Change background pixmap parameters (see section BACKGROUND IMAGE) (Compile AfterImage). |
1995 | B<< C<Ps = 39> >> Change default foreground colour to B<< C<Pt> >>. |
1994 | B<< C<Ps = 39> >> Change default foreground colour to B<< C<Pt> >>. |
1996 | B<< C<Ps = 46> >> Change Log File to B<< C<Pt> >> I<unimplemented> |
1995 | B<< C<Ps = 46> >> Change Log File to B<< C<Pt> >> I<unimplemented> |
1997 | B<< C<Ps = 49> >> Change default background colour to B<< C<Pt> >>. |
1996 | B<< C<Ps = 49> >> Change default background colour to B<< C<Pt> >>. |
1998 | 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> >> |
1997 | 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> >> |
1999 | B<< C<Ps = 55> >> Log all scrollback buffer and all of screen to B<< C<Pt> >> |
1998 | B<< C<Ps = 55> >> Log all scrollback buffer and all of screen to B<< C<Pt> >> |
… | |
… | |
2013 | |
2012 | |
2014 | =end table |
2013 | =end table |
2015 | |
2014 | |
2016 | =back |
2015 | =back |
2017 | |
2016 | |
2018 | =head1 XPM |
2017 | =head1 BACKGROUND IMAGE |
2019 | |
2018 | |
2020 | For the XPM XTerm escape sequence B<< C<ESC ] 20 ; Pt ST> >> then value |
2019 | For the BACGROUND IMAGE XTerm escape sequence B<< C<ESC ] 20 ; Pt ST> >> then value |
2021 | of B<< C<Pt> >> can be the name of the background pixmap followed by a |
2020 | of B<< C<Pt> >> can be the name of the background image file followed by a |
2022 | sequence of scaling/positioning commands separated by semi-colons. The |
2021 | sequence of scaling/positioning commands separated by semi-colons. The |
2023 | scaling/positioning commands are as follows: |
2022 | scaling/positioning commands are as follows: |
2024 | |
2023 | |
2025 | =over 4 |
2024 | =over 4 |
2026 | |
2025 | |
… | |
… | |
2064 | |
2063 | |
2065 | For example: |
2064 | For example: |
2066 | |
2065 | |
2067 | =over 4 |
2066 | =over 4 |
2068 | |
2067 | |
2069 | =item B<\E]20;funky\a> |
2068 | =item B<\E]20;funky.jpg\a> |
2070 | |
2069 | |
2071 | load B<funky.xpm> as a tiled image |
2070 | load B<funky.jpg> as a tiled image |
2072 | |
2071 | |
2073 | =item B<\E]20;mona;100\a> |
2072 | =item B<\E]20;mona.jpg;100\a> |
2074 | |
2073 | |
2075 | load B<mona.xpm> with a scaling of 100% |
2074 | load B<mona.jpg> with a scaling of 100% |
2076 | |
2075 | |
2077 | =item B<\E]20;;200;?\a> |
2076 | =item B<\E]20;;200;?\a> |
2078 | |
2077 | |
2079 | rescale the current pixmap to 200% and display the image geometry in |
2078 | rescale the current pixmap to 200% and display the image geometry in |
2080 | the title |
2079 | the title |