I'm trying to use Openbox with an autostart script as well as a separate copy of "rc.xml" (this is to be able to have multiple configurations on the same computer, but that's not relevant). Let's say this file is called "custom-rc.xml". How do I make Openbox use that one instead of "rc.xml"? By doing some browsing through my filesystem I found that the script "openbox-session" contained this code:
exec /usr/bin/openbox --startup "/usr/lib/x86_64-linux-gnu/openbox-autostart OPENBOX" "$@"
The above code launches openbox and makes it run a script that will run autostart. I also found the script "openbox-lxde" (I have lxde installed), and it contained this:
exec openbox --config-file $XDG_CONFIG_HOME/openbox/lxde-rc.xml $@
Is there a way to combine these operations when running openbox? This would allow me to make a script that launches openbox with aan autostart script and my own configuration file.