In a script I want to open a window which is missing the "close" button in the title bar, so that it can't be accidentally be closed, but still has the "minimize" and "maximize" buttons.
Is this possible? Maybe via some window manager arguments?
I'm using Ubuntu 13.04 with Unity.
As a little workaround I found the
Window Rules
option inCompizConfig-Settings-Manager
where I putxfce4-terminal
(that I generally don't use and installed just for that purpose) to "Non Closable Windows".Now I can start shell scripts using
xfce4-terminal
to execute commandsthat mustn't be terminated by accidentally clicking the close button by unexperienced users.