Artificial intelligent assistant

Any way to disable the closing of apps? I have have a few apps that I don't want to be able to close. Is there any way to configure the `xserver` or anything else to achieve this? The behavior I'd like to have is: click on closing x -> either nothing happens or the windows is minimized. (The x is the only way I would like to block.) I'm using raspbian with xorg, lightdm & openbox.

To just remove the closing X icon is not a job for `x11` or the `xserver` but for the window-manager, in this case `openbox`. In the `/etc/xdg/openbox/rc.xml` or the `~/.config/openbox/rc.xml` is a tag called 'titleLayout'. The default value is 'NLIMC'. Here a list of what the characters mean from the docs:


available characters are NDSLIMC, each can occur at most once.
N: window icon
L: window label (AKA title).
I: iconify
M: maximize
C: close
S: shade (roll up/down)
D: omnipresent (on all desktops).


So if you want to remove the closing X icon just remove the 'C' from the `titleLayout` tags value. The result would be 'NLIM'.

If you don't want to remove the icon but rather just move it to the other side you could write 'CNLIM'. Just move the 'C' to the other side of the string.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 3becb72eb477e9e310e7ce34fa11b3cc