… | |
… | |
82 | |
82 | |
83 | I can't get transparency working, what am I doing wrong? |
83 | I can't get transparency working, what am I doing wrong? |
84 | First of all, transparency isn't officially supported in |
84 | First of all, transparency isn't officially supported in |
85 | rxvt-unicode, so you are mostly on your own. Do not bug the author |
85 | rxvt-unicode, so you are mostly on your own. Do not bug the author |
86 | about it (but you may bug everybody else). Also, if you can't get it |
86 | about it (but you may bug everybody else). Also, if you can't get it |
87 | working consider it a rite of passage, and you failed. |
87 | working consider it a rite of passage: ... and you failed. |
88 | |
88 | |
89 | Here are three ways to get transparency. Do read the manpage and |
89 | Here are four ways to get transparency. Do read the manpage and |
90 | option descriptions for the programs mentioned and rxvt-unicode. |
90 | option descriptions for the programs mentioned and rxvt-unicode. |
91 | Really, do it! |
91 | Really, do it! |
92 | |
92 | |
93 | 1. Use inheritPixmap: |
93 | 1. Use inheritPixmap: |
94 | |
94 | |
… | |
… | |
108 | That works. If you think it doesn't, you lack XPM and Perl support, |
108 | That works. If you think it doesn't, you lack XPM and Perl support, |
109 | or you are unable to read. |
109 | or you are unable to read. |
110 | |
110 | |
111 | 3. Use an ARGB visual: |
111 | 3. Use an ARGB visual: |
112 | |
112 | |
113 | rxvt -depth 432 -fg grey90 -bg rgba:0000/0000/0000/c000 |
113 | rxvt -depth 32 -fg grey90 -bg rgba:0000/0000/4444/cccc |
114 | |
114 | |
115 | This requires XFT support, and support form your X-server. If that |
115 | This requires XFT support, and the support of your X-server. If that |
116 | doesn't work for you, blame Xorg and Keith Packard. ARGB visuals |
116 | doesn't work for you, blame Xorg and Keith Packard. ARGB visuals |
117 | aren't there yet, no matter what they claim. Rxvt-Unicode contains |
117 | aren't there yet, no matter what they claim. Rxvt-Unicode contains |
118 | the neccessary bugfixes and workarounds for Xft and Xlib to make it |
118 | the neccessary bugfixes and workarounds for Xft and Xlib to make it |
119 | work. |
119 | work, but that doesn't mean that your WM has the required kludges in |
|
|
120 | place. |
|
|
121 | |
|
|
122 | 4. Use xcompmgr and let it do the job: |
|
|
123 | |
|
|
124 | xprop -frame -f _NET_WM_WINDOW_OPACITY 32c \ |
|
|
125 | -set _NET_WM_WINDOW_OPACITY 0xc0000000 |
|
|
126 | |
|
|
127 | Then click on a window you want to make transparent. Replace |
|
|
128 | 0xc0000000 by other values to change the degree of opacity. If it |
|
|
129 | doesn't work and your server crashes, you got to keep the pieces. |
120 | |
130 | |
121 | Isn't rxvt supposed to be small? Don't all those features bloat? |
131 | Isn't rxvt supposed to be small? Don't all those features bloat? |
122 | I often get asked about this, and I think, no, they didn't cause |
132 | I often get asked about this, and I think, no, they didn't cause |
123 | extra bloat. If you compare a minimal rxvt and a minimal urxvt, you |
133 | extra bloat. If you compare a minimal rxvt and a minimal urxvt, you |
124 | can see that the urxvt binary is larger (due to some encoding tables |
134 | can see that the urxvt binary is larger (due to some encoding tables |