Re: can xterm close button be disabled?



psantoro wrote:

I'm using IceWM and I was wondering if it's possible to disable (or not show) the close button in an xterm. I've been googling for a suitable command line option or X resource, but have not found one yet.

Thank you in advance for your assistance,

Peter

This is an IceWM specific solution:
In your ~/.icewm/winoptions file, add this line to remove the Close button from the titlebar:
xterm.dClose: 0
However, this will leave the Close option on the system menu intact, so you may also want to add:
xterm.fClose: 0
to disable closing the window. A user can still simply type "exit" though.


See here for details: http://icewm.org/manual/icewm-14.html

HTH, Berend
.