You are not logged in.

#1 2015-01-19 19:22:46

runical
Member
From: The Netherlands
Registered: 2012-03-03
Posts: 896

[SOLVED] Window managers and sessions

Dear all, I hope this is the right place to pose this question. If not please move it.

A while back I made the jump to using just a window manager from relatively full featured DEs. While this took some work, I am generally pleased with the result. There is however one tiny thing that has been bugging me and that thing is shutting down (session management). I took to using

systemctl shutdown

as the shutdown command. This works well, except that I have to kill at least the browsers in order for them not to greet me with a "closed unexpectedly" message. First exiting the WM and then shutting down works, but is a hassle.

So my question is this: How do I make sure that all of my processes are terminated cleanly when shutting down?

Last edited by runical (2015-01-20 10:31:55)

Offline

#2 2015-01-20 00:15:46

Knute
Member
From: Minot, ND
Registered: 2009-03-17
Posts: 604

Re: [SOLVED] Window managers and sessions

So have shutdown run a script to close those things before it shuts everything else down.


Knute

Offline

#3 2015-01-20 00:42:53

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,534
Website

Re: [SOLVED] Window managers and sessions

You may want to check out xkillall in the AUR - and you can read about a similar issue that lead to it's creation here.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#4 2015-01-20 10:31:37

runical
Member
From: The Netherlands
Registered: 2012-03-03
Posts: 896

Re: [SOLVED] Window managers and sessions

Seems my search-fu has failed me this time. Thanks for the answers. xkillall will do just fine.

Marked as solved.

Offline

Board footer

Powered by FluxBB