From mboxrd@z Thu Jan 1 00:00:00 1970 From: iyzsong@member.fsf.org (=?utf-8?B?5a6L5paH5q2m?=) Subject: Re: Does not halt after Menu - Logout - Shut down and closing notebook hood Date: Sun, 14 Oct 2018 20:10:08 +0800 Message-ID: <871s8s4tlr.fsf@member.fsf.org> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58631) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gBfFH-0007Zh-5m for help-guix@gnu.org; Sun, 14 Oct 2018 08:11:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gBfFC-0008Hw-Iu for help-guix@gnu.org; Sun, 14 Oct 2018 08:11:41 -0400 Received: from rezeros.cc ([45.76.207.221]:35430) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gBfFC-0008Fa-4T for help-guix@gnu.org; Sun, 14 Oct 2018 08:11:38 -0400 In-Reply-To: (znavko's message of "Sun, 14 Oct 2018 09:54:37 +0200 (CEST)") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: znavko@tutanota.com Cc: Help Guix 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!