all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: iyzsong@member.fsf.org (宋文武)
To: znavko@tutanota.com
Cc: Help Guix <help-guix@gnu.org>
Subject: Re: Does not halt after Menu - Logout - Shut down and closing notebook hood
Date: Sun, 14 Oct 2018 20:10:08 +0800	[thread overview]
Message-ID: <871s8s4tlr.fsf@member.fsf.org> (raw)
In-Reply-To: <LOlZSiB--3-1@tutanota.com> (znavko's message of "Sun, 14 Oct 2018 09:54:37 +0200 (CEST)")

<znavko@tutanota.com> writes:

> When I return to notebook (even 8-10 hours later) and open it I see it is working and lines in a black screen go there. Something like 'stoping service.. will now halt'. And it turning off.
>
> Please, how to configure it not to sleep when I close hood but to halt when I want it this way?
>
> Hello, Guix Help! I want to make an effort to solve a problem I've noticed.
> I am using GuixSD, Xfce4. I think I have no screensaver and Screen lock.
> But inconvenient thing rests there.
> Every time I want to turn of notebook and close it quickly it does not switch off at all.
> 1. I click Xfce4 Menu -> Log out -> Shut down
> 2. I close notebook hood quickly
> 3. I go away
> 4. Notebook keep on working
>
> When I return to notebook (even 8-10 hours later) and open it I see it is working and lines in a black screen go there. Something like 'stoping service.. will now halt'. And it turning
> off.
>
> Please, how to configure it not to sleep when I close hood but to halt when I want it this way?

Hello, I think this can be done by set 'handle-lid-switch' to 'ignore'
(it's 'suspend' by default) for the 'elogind-service-type', for example:

(operating-system
  ...
  (services
    (cons* (xfce-desktop-service)
           (modify-services %desktop-services
             (elogind-service-type
               c => (elogind-configuration
                      (handle-lid-switch 'ignore)))))))

Hope it helps!

  reply	other threads:[~2018-10-14 12:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-14  7:54 Does not halt after Menu - Logout - Shut down and closing notebook hood znavko
2018-10-14 12:10 ` 宋文武 [this message]
     [not found] <LOlZSiB--3-1@tutanota.com-LOlZWEw--7-1>
2018-10-14 15:45 ` znavko
     [not found] ` <<LOlZSiB--3-1@tutanota.com-LOlZWEw--7-1>
     [not found]   ` <LOnFJsF--3-1@tutanota.com-LOnFNfQ----1>
2018-10-14 16:43     ` znavko
2018-10-15  8:50       ` Chris Marusich
2018-10-15 18:35         ` Marius Bakke
2018-10-16  4:24           ` znavko

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=871s8s4tlr.fsf@member.fsf.org \
    --to=iyzsong@member.fsf.org \
    --cc=help-guix@gnu.org \
    --cc=znavko@tutanota.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.