I would like to execute some commands when I press Apply. I have looked through the sourcecode and found the function reload_all_programs() in lxappearance.c, which may be the right place to add my commands. I have tried it, but the commands didn't seem to be the final thing to execute.
Basically I want post-apply commands. Any tips?