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 in CompizConfig-Settings-Manager
where I put xfce4-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 commands
xfce4-terminal -e "command you want to run"
that mustn't be terminated by accidentally clicking the close button by unexperienced users.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments