Say a user installs a program X that uses openbox to distribute windows in a specific manner. X, then, needs to rewrite openbox's configuration file and restart. It can make a copy of the user's configuration file, and restore this copy after X terminates (and delete the copy). But it can also happen that the system crashes while X is running, then after reboot the system is configured with X's openbox file, not the user's one.Now, a solution would be that a program checks on start up if there exists a copy of the user's file, and if so, replace, delete, and reconfigure openbox accordingly.Is there any other (more elegant) solution to this problem? Say, that openbox can be reconfigured from a file given as argument.
Alternative configuration files for openbox
configuration;openbox;reboot