> All we really need is to clean up a session during shutdown. The simple way is to trap SIGTERM and do the right thing: at the minimum do a save. If possible, prompt user to save yes/no. XSMP and D-BUS do more than Unix signals, such as the option to restart automatically. That sort of thing might be useful, but let's learn to walk first.
> Comments welcome.
Since implementing this is hardly a beginner's topic, let's move the discussion to squeak-dev. Reply-To set.
Catching SIGTERM should be reasonably simple using OSProcess.
There also are D-Bus bindings for Squeak that could be used.
Both options are IMHO inferior to having XSMP support in the VM, which should work across pretty much all X11 desktops. But they appear to be easier to implement.