You are not logged in.
Hi there,
Problem:
When shutting down the system without closing Firefox before, FF starts with error messages
next time (session restore). There seems to be a problem with SIGTERM and some discussion about
that some years ago can be found here: [1] and [2].
The Solution included some AUR package which is longer availabe (xkillall).
I use tiling WM like i3 and dwm which are started using startx and both show the same symptoms.
Is there any up to date solution to that problem that I have not found here on the forums or elsewhere ?
Thanks for your help!
ohm
[1] https://bbs.archlinux.org/viewtopic.php?id=192454
[2] https://bbs.archlinux.org/viewtopic.php?id=179489
Offline
Here is an archived copy of the "xkillall" package, made my Arch Linux users:
https://github.com/aur-archive/xkillall
I haven't tested it, but it looks like it should build just fine. So it's a starting place!
Offline
@drcouzelis
thanks for the hint to archived AUR packages.
I just built the package and installed it. Still have to figure out how to shutdown with
xkillall being used.
ohm
Offline
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
didnt remember it was that easy, thanks for the quick response,
I now have just added xkillall to .xinitrc:
exec i3
xkillall
Hope there is no "&" missing following "exec i3"...
So for future use of .xinitrc: is it right to substitute xkillall with something like "shudown_script.sh" which contains
xkillall and other commands or do these command have to be added to .xinitrc ?
Thanks for all so far!
Offline
Please actually read the link that both you and I have linked to: using `exec` for your WM will prevent any further lines (including xkillall) from ever executing.
As for your other question - either one one would, but I don't see why you'd ever want to create a separate script. Xinitrc is a shell script - put whatever commands you want to run there.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
ah again, reading has helped me, sorry for the rush.
I will just keep adding commands to .xinitrc like I did before, just wasn't sure it made any difference when it comes to
commands that follow the startup command for the WM.
No more "exec" in the .xinitrc
Offline