From: Ray Andrews <rayandrews@eastlink.ca>
To: zsh-users@zsh.org
Subject: Re: can zsh detect return from hibernation?
Date: Fri, 9 Mar 2018 06:53:54 -0800 [thread overview]
Message-ID: <a66797c0-031c-b3a5-5dd7-210b8c76b0d2@eastlink.ca> (raw)
In-Reply-To: <1520594068.2394520.1297181376.011DCE45@webmail.messagingengine.com>
On 09/03/18 03:14 AM, Daniel Shahaf wrote:
> I would advise you to try and fix the problem at the source (xfce), and
> failing that, to look into your OS's support for post-hibernate hooks.
>
> Good luck.
>
Zsh can do some things that are quite astonishing, irrespective of where
the problem arises, so I thought I'd ask. It might have been the case
that she'd be able to detect that the lights have been out, perhaps by
noticing that the time has changed since she last checked, or something
like that. As for Debian, I've seen half a dozen ideas, none of which
work. No one really knows. I learned not too long ago that zsh can
detect the activation of a terminal (via movement of the mouse) so it
was not a stretch to think that she might be able to detect even return
from suspend or hibernation. No foul if she can't of course, but most
cool if she could. Meanwhile I have to type:
$ hdparm -y /dev/sdb
... which isn't exactly onerous ;-)
prev parent reply other threads:[~2018-03-09 15:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-06 20:41 Ray Andrews
2018-03-09 11:14 ` Daniel Shahaf
2018-03-09 14:53 ` Ray Andrews [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a66797c0-031c-b3a5-5dd7-210b8c76b0d2@eastlink.ca \
--to=rayandrews@eastlink.ca \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).