-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When shutting down computer, emptty halts for a minute or two and produces ~/core. #96
Comments
This seems to be xwayland issue. |
Reopening because this issue started after upgrading emptty to 0.11.0 |
Can you, please, provide more info about your configuration? Because changes between v0.10.0 and v0.11.0 are mostly superficial. Couldn't it be related to #92, where was a change in OpenRC service requested? edit: Does it happens also in case of running emptty as root? |
emptty is already running as root. I think the change to openrc init file could be the cause of the issue. I will investigate. |
Adding
to openrc init script merely shed a light on the real issue. If ~/.config/emptty is
emptty fails to kill
emptty can kill |
Seems like any script after starting a desktop (even with Xorg) causes the same issue (e.g. logout from Openbox). Maybe some kind of user exit script would do the thing, if I can't find another solution. |
If |
I see two options.
|
Currently there is already |
These scripts seem to be able to reboot and power off my computer inside a sway session in response to sway keyboard shortcuts. my-sway-reboot
my-sway-poweroff
Because
openrc can quickly kill emptty along with |
I've meant |
If you want to implement user exit script, I want to be able to configure timeout for the script, or it should be a sensible value like 30 seconds. |
I'm thinking about this implementation:
|
I think that's good enough. |
The file size of ~/core is about 51 megabytes.
The text was updated successfully, but these errors were encountered: