From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id mNIJHR+yqmSlwQAASxT56A (envelope-from ) for ; Sun, 09 Jul 2023 15:11:59 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id uHDZGx+yqmQ8dgEAG6o9tA (envelope-from ) for ; Sun, 09 Jul 2023 15:11:59 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 23CEB17CD5 for ; Sun, 9 Jul 2023 15:11:59 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qITf1-0005Pc-4g; Sun, 09 Jul 2023 08:37:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qGsaF-0005EF-IY for help-guix@gnu.org; Tue, 04 Jul 2023 22:49:35 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qGsaD-0008Tz-Et for help-guix@gnu.org; Tue, 04 Jul 2023 22:49:35 -0400 X-GND-Sasl: contact@robbyzambito.me X-GND-Sasl: contact@robbyzambito.me Received: by mail.gandi.net (Postfix) with ESMTPSA id 897581C0003; Wed, 5 Jul 2023 02:49:29 +0000 (UTC) References: <87r0pnz82c.fsf@robbyzambito.me> User-agent: mu4e 1.10.3; emacs 28.2 From: Robby Zambito To: danclm@tutanota.com Cc: help-guix@gnu.org Subject: Re: Getting Guix to shutdown my laptop properly with Sway and no DE Date: Tue, 04 Jul 2023 22:44:29 -0400 In-reply-to: Message-ID: <87ilaznkcq.fsf@robbyzambito.me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=217.70.183.197; envelope-from=contact@robbyzambito.me; helo=relay5-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 09 Jul 2023 08:37:06 -0400 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1688908319; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=fPn5YRI0TJ90siTdS8h9IRtcg4UxBj2RXrkvAz70Xvo=; b=Y8PSIJd4zz6uj1SLJiTiLzGacW46/kaxVjYCkvqF91YRYoek+7LItWzOapm2rLdUmRPzAx 7NrBKG1ynFZPXPqGYeKSWXJ8FDSZ9n8Xk9ye+UiIPWc2eFjRNUfxFwM6IeMLMiB00Sn/62 Unm+0gDZ02LnAGNj0qHtGIdI4Dwb5qdfMGhV6KzF/YTl2NNDA7iYh45cxIwn79ngtiNaIw LQCQbE9iYMRjrSt93FPt4C8wLevU8Y1UoLttsSMNZakRNyL1EuxuJrHczs+OTgOTBQ5qb1 csm3suZ33g6WDYGQbj1c9ghpCc+IcAgSNAOtPiOzRPDVorICkm6ES7ultR1sRQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1688908319; a=rsa-sha256; cv=none; b=ent+d2gJcHzWI83/ySkx573bbuyXy4+JJDOp/2XdisadoRi45jWeS3tbrgc9ImTW0cVNCo BsO+XoXvVjqessERSY7+o/QFEszwwpH6cJ4CsI3lAoE69wbCYtd7lk+18sBQXMU0CswLRA d8ih3/GzJ6Ur/7Q+hxwmYiyCCFRsRrxS/5pyALmQD1LXOpR680rrCR7yjlbNXGZ2hmEfAS rWz9jiqcbvLs+6FnsVUhKVqOfpn08t8cYo9Y+0A/YAFU4CBuQxjrBycMez3T1d3u0UPYTx ZcRJ7W5d1o/RWWG8nim9OcZrgKV+ku0yrBffSua4PfFe4NaW4euBRPBlNMBArw== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -2.19 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 23CEB17CD5 X-Spam-Score: -2.19 X-TUID: BQ3J9o8tcDzd danclm@tutanota.com writes: > Hi Robby,=C2=A0 > thanks for your response. > > Do you mind sharing your config?=20 > I never managed on Guix to autologin and automatically start Sway without= a display manager. > > Daniele Hi Daniele, I actually don't have auto login / auto start Sway - I just login with a TTY, and then I use `herd start sway` with a little guix home service that I wrote: (shepherd-service (documentation "SwayWM") (provision '(sway)) (requirement '(dbus)) (respawn? #f) (auto-start? #f) (start #~(make-forkexec-constructor (list #$(file-append (specification->package "dbus") "/bin/dbus= -run-session") "sway") #:log-file (string-append #$log-dir "/swaywm.log"))) (stop #~(make-system-destructor (string-join (list #$(file-append (specification->package "sway"= ) "/bin/swaymsg") "exit"))))) This isn't perfect (I use the system sway binary, but I use swaymsg from my home profile - which means they can be different package version; and herd stop sway doesn't work), but it's been good enough for me to not care to fix.