From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wP2LFWm582EIGAEAgWs5BA (envelope-from ) for ; Fri, 28 Jan 2022 10:37:45 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id sAstEmm582GCIAAAauVa8A (envelope-from ) for ; Fri, 28 Jan 2022 10:37:45 +0100 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 03716293DB for ; Fri, 28 Jan 2022 10:37:45 +0100 (CET) Received: from localhost ([::1]:45042 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nDNhP-0005t0-Si for larch@yhetil.org; Fri, 28 Jan 2022 04:37:43 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34636) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nDNgf-0005sa-4G for guix-devel@gnu.org; Fri, 28 Jan 2022 04:37:00 -0500 Received: from mail-4323.proton.ch ([185.70.43.23]:11654) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nDNga-0000LP-SE for guix-devel@gnu.org; Fri, 28 Jan 2022 04:36:56 -0500 Date: Fri, 28 Jan 2022 09:36:45 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lendvai.name; s=protonmail3; t=1643362606; bh=TcrjXmBxtk+stzV3OdL8DuzM27tthXh0fbYgsB0NQd8=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:From:To:Cc; b=BgUfk2KcEJHN46D5D1+iCXn7obyBYCb+gtalqEMzp2l5rcbXbwJKilkbzO6fVxfgO GYZcffn6hYW8p8slaRsiUTPAmB8U6aVI2sLiqDIjyd1ylCu4vXgDjeFByguF0KHFAd k3HpdWBhDy3r+P4eHcmlcIGbL9E3xz8d5WnDx8PGi/+GU5ZT1xVm7omon0Mz2bCV81 5kUZu/VCCPYX6bAe6fIouVTxFED7ArBvF6m3Ir0417w8fWgEdehHcX5BCvrvK3OMkK 07NHfJJPrX77b7x/VDnFzzUkyXhxNLoInOwdNfgaut7n4QqCskuMtf6UyWajSLha/Z XFDE3Vfm0b71w== To: Liliana Marie Prikler From: Attila Lendvai Subject: Re: disable suspend without user login Message-ID: In-Reply-To: <156be0ed211890c3aa287e99c03264d7fa102eb2.camel@gmail.com> References: <156be0ed211890c3aa287e99c03264d7fa102eb2.camel@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.23; envelope-from=attila@lendvai.name; helo=mail-4323.proton.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Attila Lendvai Cc: guix-devel Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1643362665; h=from:from:sender:sender:reply-to: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:dkim-signature; bh=TcrjXmBxtk+stzV3OdL8DuzM27tthXh0fbYgsB0NQd8=; b=INZn7VI1ZQuOd0H72GnWpxU1unMQ2RzZojgGawr+roGmelFCi71yLSaBSNRhWJjZmkLxj4 G86m7INPAfCdUBz5rgUswuumfRZ+VGYW3Wz05eTo47awELzOGSgleZgukS7aW63b9WQ2xY Ed5s5k7pW1tAN4GDSY4EvtrzF3jW9YqZQTvNEfv1TxHVWi1f6DqZRioIxUqNY8ED8B5JKD 1djued4o4JlpbHm5HCJA5jClxfbTSghKk0Tj3WUIH8wg+0/v/9PFu0cFPk8Cbs+IJqkSJD pitOVPoJaHyx1Q5RjvOtK64dpJHmak+YLFB2zQkkVtmn+yc7QYWYLGUDgSrAhA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643362665; a=rsa-sha256; cv=none; b=Cv/EDuWSa8UUiJ3mHxttD53kqMri4DUVQXFCD3zNgCfIZsSCM+0pcvrkXY5e6TA7cYvEig OE/GOG75T9YGrPS+huMyoARsEDBr/Sjj3UBzgkXoDzamHmeOp1764rnAxsZ3APTgFBX8Z4 bg255guDz/Mv9TI7HY/Tn5MyTEgw9jBTI68KKHogpLZeuOVMztFtMuSUfNrRicQ4mTjPc/ Cs8RkyIOhyqv7/9p29y4X1jStb4R8Sz3EtFytmzIV8zlWwdAyahpIN8FByaAwvDlGHf4NF UQDkdcDkRUsjn2OTRwiJC96te4F4Dcx1B+u7RhaQc+ik5PPM5CBmFPxX/qjMSQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=lendvai.name header.s=protonmail3 header.b=BgUfk2Kc; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.63 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lendvai.name header.s=protonmail3 header.b=BgUfk2Kc; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 03716293DB X-Spam-Score: -5.63 X-Migadu-Scanner: scn0.migadu.com X-TUID: 6YQfYrzXOGCk > The first reply already says what you have to do, i.e. set those two my problem was that i didn't know how to run dbus-launch on Guix. the proper incantation on Guix is: $ guix install glib:bin xhost $ xhost + $ ll `which gsettings` $ su - # su --login gdm --shell `which bash` -bash-5.1$ dbus-launch /gnu/store/567jgb5q1cr7xmqsd5kairrdj66ihhy9-glib-2.7= 0.0-bin/bin/gsettings set org.gnome.settings-daemon.plugins.power sleep-ina= ctive-ac-type 'nothing' is this worthy for the cookbook, shall i send it in a patch? the other method, namely to produce a patched gdm package, is still beyond = my expertise at this point. -- =E2=80=A2 attila lendvai =E2=80=A2 PGP: 963F 5D5F 45C7 DFCD 0A39 -- =E2=80=9CThe supreme art of war is to subdue the enemy without fighting.= =E2=80=9D =09=E2=80=94 Sun Tzu (c. 6th century BC), 'The Art of War'