只是...
urxvt依旧会失掉焦点,以前在gnome下就会- -!哎....
PS:顺便鄙视下urxvt的开发人员,256color和fixfont的patch为什么一直不加进去...字体好宽- -!
代码: 全选
Urxvt in the background
With Openbox, running a terminal as desktop background is easy. You won't need devilspie here.
First you must enable transparency, open your .Xdefaults file (if it doesn't exist yet, create it in your home folder).
URxvt*transparent:true
URxvt*scrollBar:false
URxvt*geometry:124x24 #I don't use the whole screen, if you want a full screen term don't bother with this and see below.
URxvt*borderLess:true
URxvt*foreground:Black #Font color. My wallpaper is White, you may wish to change this to White.
Then edit your .config/openbox/rc.xml file :
<application name="urxvt">
<decor>no</decor>
<focus>yes</focus>
<position>
<x>center</x>
<y>20</y>
</position>
<layer>below</layer>
<desktop>all</desktop>
<maximized>true</maximized> #Only if you want a full size terminal.
</application>
The magic comes from the <layer>below</layer> line, which place the application under all others. Here Urxvt is displayed on all desktops, change it to your convenience.