Today at 1:25pm, Sean 'Shaleh' Perry said: > > > > Now, if blackbox receives any of SIGSEGV,SIGFPE, SIGINT or SIGTERM, it > > calls this shtudonw-function, just as if "exit" had been selected from > > the menu. It would therefore stand to reason that if you CTRL-ALT-BSPC > > X, bb should receive a SIGTERM and save the current configuration. > > > > If it doesn't, something's fishy. > > I believe the signal it sends is "X is not here die now". Which bb can not > catch.
I think the signal is SIGPIPE (13, Broken pipe), Blackbox just terminates without saving anything. See man 7 signal: <quote> Signal Value Action Comment ----------------------------------------------------------------------- SIGPIPE 13 A Broken pipe: write to pipe with no readers (....) The letters in the "Action" column have the following meanings: A Default action is to terminate the process. </quote> So blackbox could catch the signal. CTL+ALT+BS is most times not a clean way to exit X or a Desktop environment (not that I don't use it: I do CTL+ALT+BS then CTL+ALT+DEL to quickly halt my machine). In most cases the apps you run are not children of X, but is it like this: startx `--X `--Blackbox `--app1 `--app2 or: xdm `--X `--xsession `--Blackbox `--app1 `--app2 [disclaimer:AFAIK]. Good luck! Wilbert -- Wilbert Berendsen (http://www.xs4all.nl/~wbsoft/) "To build an apple pie from scratch, you must first invent the universe." Carl Sagan, Cosmos