… | |
… | |
61 | |
61 | |
62 | I can't get transparency working, what am I doing wrong? |
62 | I can't get transparency working, what am I doing wrong? |
63 | First of all, transparency isn't officially supported in |
63 | First of all, transparency isn't officially supported in |
64 | rxvt-unicode, so you are mostly on your own. Do not bug the author |
64 | rxvt-unicode, so you are mostly on your own. Do not bug the author |
65 | about it (but you may bug everybody else). Also, if you can't get it |
65 | about it (but you may bug everybody else). Also, if you can't get it |
66 | working consider it a rite of passage, and you failed. |
66 | working consider it a rite of passage: ... and you failed. |
67 | |
67 | |
68 | Here are three ways to get transparency. Do read the manpage and |
68 | Here are four ways to get transparency. Do read the manpage and |
69 | option descriptions for the programs mentioned and rxvt-unicode. |
69 | option descriptions for the programs mentioned and rxvt-unicode. |
70 | Really, do it! |
70 | Really, do it! |
71 | |
71 | |
72 | 1. Use inheritPixmap: |
72 | 1. Use inheritPixmap: |
73 | |
73 | |
… | |
… | |
87 | That works. If you think it doesn't, you lack XPM and Perl support, |
87 | That works. If you think it doesn't, you lack XPM and Perl support, |
88 | or you are unable to read. |
88 | or you are unable to read. |
89 | |
89 | |
90 | 3. Use an ARGB visual: |
90 | 3. Use an ARGB visual: |
91 | |
91 | |
92 | rxvt -depth 432 -fg grey90 -bg rgba:0000/0000/0000/c000 |
92 | rxvt -depth 32 -fg grey90 -bg rgba:0000/0000/4444/cccc |
93 | |
93 | |
94 | This requires XFT support, and support form your X-server. If that |
94 | This requires XFT support, and the support of your X-server. If that |
95 | doesn't work for you, blame Xorg and Keith Packard. ARGB visuals |
95 | doesn't work for you, blame Xorg and Keith Packard. ARGB visuals |
96 | aren't there yet, no matter what they claim. Rxvt-Unicode contains |
96 | aren't there yet, no matter what they claim. Rxvt-Unicode contains |
97 | the neccessary bugfixes and workarounds for Xft and Xlib to make it |
97 | the neccessary bugfixes and workarounds for Xft and Xlib to make it |
98 | work. |
98 | work, but that doesn't mean that your WM has the required kludges in |
|
|
99 | place. |
|
|
100 | |
|
|
101 | 4. Use xcompmgr and let it do the job: |
|
|
102 | |
|
|
103 | xprop -frame -f _NET_WM_WINDOW_OPACITY 32c \ |
|
|
104 | -set _NET_WM_WINDOW_OPACITY 0xc0000000 |
|
|
105 | |
|
|
106 | Then click on a window you want to make transparent. Replace |
|
|
107 | 0xc0000000 by other values to change the degree of opacity. If it |
|
|
108 | doesn't work and your server crashes, you got to keep the pieces. |
99 | |
109 | |
100 | Isn't rxvt supposed to be small? Don't all those features bloat? |
110 | Isn't rxvt supposed to be small? Don't all those features bloat? |
101 | I often get asked about this, and I think, no, they didn't cause |
111 | I often get asked about this, and I think, no, they didn't cause |
102 | extra bloat. If you compare a minimal rxvt and a minimal urxvt, you |
112 | extra bloat. If you compare a minimal rxvt and a minimal urxvt, you |
103 | can see that the urxvt binary is larger (due to some encoding tables |
113 | can see that the urxvt binary is larger (due to some encoding tables |