<div dir="ltr"><div style="font-family:arial,sans-serif;font-size:13px">Some Arch users noticed that when killing their X sessions without closing all windows first, some programs (namely Chromium and Libreoffice) later complained that they had not been properly shut down. The solution we came up with was a little program to XKillClient each window before quitting X.</div>

<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Looking at the source code for xkill, I realized this is essentially the same as "xkill -all" -- albeit without the strict confirmation check. xkill's man page mentions that this is "very dangerous" and "highly discouraged" but for us it turned out to be the nice way to quit X.</div>

<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">What's the deal? Are we doing something really stupid without realizing it, or is xkill's man page exaggerating the safety risk?</div>

<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Thanks,</div><div style="font-family:arial,sans-serif;font-size:13px">Max</div><div style="font-family:arial,sans-serif;font-size:13px">

<div><br></div><div>P.S. the forum thread where this is being discussed: <a href="http://bbs.archlinux.org/viewtopic.php?id=179489&p=2" target="_blank">bbs.archlinux.org/viewtopic.php?id=179489&p=2</a></div></div>

</div>