From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id YHYYGwHAg2IPZwAAbAwnHQ (envelope-from ) for ; Tue, 17 May 2022 17:32:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id mBoKGwHAg2IFfwAA9RJhRA (envelope-from ) for ; Tue, 17 May 2022 17:32:17 +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 E202613E5B for ; Tue, 17 May 2022 17:32:15 +0200 (CEST) Received: from localhost ([::1]:49398 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nqzBG-00074D-EH for larch@yhetil.org; Tue, 17 May 2022 11:32:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44100) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqzB5-000732-1f for bug-guix@gnu.org; Tue, 17 May 2022 11:32:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35497) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nqzB4-0002L8-PY for bug-guix@gnu.org; Tue, 17 May 2022 11:32:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nqzB4-0008KQ-MQ for bug-guix@gnu.org; Tue, 17 May 2022 11:32:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#55391: Multiple slim services Resent-From: =?UTF-8?Q?Andr=C3=A9?= A. Gomes Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 17 May 2022 15:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55391 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Carlo Zancanaro Cc: 55391@debbugs.gnu.org, dev@jpoiret.xyz X-Debbugs-Original-Cc: bug-guix@gnu.org, dev@jpoiret.xyz, 55391@debbugs.gnu.org Received: via spool by 55391-submit@debbugs.gnu.org id=B55391.165280150031968 (code B ref 55391); Tue, 17 May 2022 15:32:02 +0000 Received: (at 55391) by debbugs.gnu.org; 17 May 2022 15:31:40 +0000 Received: from localhost ([127.0.0.1]:57626 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqzAi-0008JY-6B for submit@debbugs.gnu.org; Tue, 17 May 2022 11:31:40 -0400 Received: from mail-wr1-f41.google.com ([209.85.221.41]:45862) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqzAe-0008J6-Ck for 55391@debbugs.gnu.org; Tue, 17 May 2022 11:31:36 -0400 Received: by mail-wr1-f41.google.com with SMTP id w4so25239929wrg.12 for <55391@debbugs.gnu.org>; Tue, 17 May 2022 08:31:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=WGACzVHUHI3EK3cujxZ7BIwQa03S7INCScchQxrYN/0=; b=KtB1JzTJY6SuxvFx4UgGHzzBXZxMjhCD6OyAhVJYTwSKct2d9IwjsNy1MSECb2C1si 5rJWnKmSKMBHYbTEupJcU8hBV/ZZP71clveHquKNhEbPfL+UzVcML4+eXKTIb4q4lA38 jKi6mGynj9uOrfzNNZSigZ7ZUv6tGn+SvTy2XvReWJPyiJTdESJOKZ5YhzQG3/hkcWpn jFg70087xIH8yEdarT1WYsO+erIF+sLhA9Nz1/AHJwuKd6yJNt+yv+UIDdg5n+8Z6rJB 6GLuSTCSHBUfBgXJLPeLKi40JGCNQYc3BKWgEzijtvh496aj4Se/A27gdyGnV2z1/JkJ qQrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=WGACzVHUHI3EK3cujxZ7BIwQa03S7INCScchQxrYN/0=; b=PCuGjiMZs+9tLpjWge+aODQSla5LdBUBobx89y37+GKaBGifhZPH5lUI6vetfSgPCe OvpgOkgKoP3ozP0VDJKiZch/ayboxxlgW+J65kketU2x2AUG2osh+E9ainTZsPhFEDf1 HaJuSjUlFVhUCt7A1LB419ZPgGzrDWi21ZPwNQ6KRo1YdqcK/Ij4X6tyzmY7zxLKDPIr Pijmq9DpHmfIa5djozHtD7rrK7BdlWCusYCzL10aK1leRZJdkW0GJVP+rFqt2CgDxy/f ws/5+WBQX4i+MRyp27kLdOVH0GpRTUenboyqDIU4TxUSjsFvx7U+5qlpEBYaATce++DG 5K9g== X-Gm-Message-State: AOAM533ENa5ZrG/WW0qDJwQEY+IItF647C99qlgxHq0snjmlcGHhqWxA TQs/Fb5GIGMXT5ryMqsnjt0= X-Google-Smtp-Source: ABdhPJxqoUpXxaOp8thX/JcQ3ZTMmtc/V25V+/7E2KHD/kUU/tqE8B6OqLF/pmKEOos3TB+wAxOuOA== X-Received: by 2002:a05:6000:1846:b0:20e:5d27:7ca7 with SMTP id c6-20020a056000184600b0020e5d277ca7mr952977wri.536.1652801490132; Tue, 17 May 2022 08:31:30 -0700 (PDT) Received: from guix-xps13 ([2001:818:daa9:6700:f21c:5ab6:8d75:5824]) by smtp.gmail.com with ESMTPSA id m14-20020a5d64ae000000b0020d0fbf578esm5333950wrp.7.2022.05.17.08.31.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 May 2022 08:31:29 -0700 (PDT) From: =?UTF-8?Q?Andr=C3=A9?= A. Gomes References: <87o802wh2p.fsf@gmail.com> <87bkw2szrt.fsf@jpoiret.xyz> <87fsl9ma1g.fsf@gmail.com> <87h75pavec.fsf@zancanaro.id.au> Date: Tue, 17 May 2022 16:31:28 +0100 In-Reply-To: <87h75pavec.fsf@zancanaro.id.au> (Carlo Zancanaro's message of "Tue, 17 May 2022 09:29:43 +1000") Message-ID: <878rr0rx9r.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1652801536; 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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=WGACzVHUHI3EK3cujxZ7BIwQa03S7INCScchQxrYN/0=; b=DmpdZQh4jbpqduscXlhWEGWtXR+JuNR0QvqbWFAdBoWEx4+QuSGRX5hfrN7UGQZzS0XbJO KYss4uW8A3ZbehQuoWrEOAo29rZ/DjQioU0cQA+SXBJHV9CGTvjV0bk0d/lmu0neVJPV0N q/YkSbaDC/DJrQtIRIMiq3jV4lmrVSPmltFY3yJ1VLiKSFt1qwkMDMfxT2i9ZoZ/7Y5R8a Db5vifk67yUTNCihbL2rXdfHYllHbYvTh6hip6bMqVXcLd1U6Chgjc2L+W4sTMRJXOYH/X pIhqT4YkPS3ArOJLmstU7opPdoRmckMW34i6tMZmNocaanqqVlct8W6NQmibLw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652801536; a=rsa-sha256; cv=none; b=TvmzUWQNtk0BMSwiIwZZc98GJUy09t4ZdshGRVvszo76ry1tuJbqBgRgJdS6MuzcEukkbh tIvE4L9NMZfIfTKyyE7RHZQqHGACxv1106ARW9jqg4grFbCbYFsLoYbKNO09PncerlsNjz FiUugolVLVJ5mrOUohATE3OMphgdrZ95c0ftEL8OeThQ1Z4o6JX/p4LpDOe8gfbM4JoFTN o7Phq2IFimcWL4M1OkJhds7vu38clpT322scVvsdUdklctpJ21fs6ocu1xmu+PyOGF+E4R 2IYyrAC7DP0Ds8XXphFLvBZSrrGfTJg6urkDwy5FOsVelJyFfostSIAG6vdmqA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=KtB1JzTJ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.46 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=KtB1JzTJ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: E202613E5B X-Spam-Score: 5.46 X-Migadu-Scanner: scn0.migadu.com X-TUID: Fs/xRn8GjLFF Carlo Zancanaro writes: > Hi Andr=C3=A9, > > On Mon, May 16 2022, Andr=C3=A9 A. Gomes wrote: >> Here it goes. The manual states that you can have two slim services >> on different ttys. Am I misinterpreting something? Thank you! > > I don't think you're misinterpreting anything, but Josselin is correct > when they say > > On Fri, May 13 2022, Josselin Poiret wrote: >> If I understand the relevant code properly, this should happen only >> when you try to extend a service type (eg. slim-service-type) with >> another service > > In your case, you're using set-xorg-configuration which tries to extend > your slim-service-type service. Unfortunately, you want to define two of > them, which causes the extension mechanism to fail complaining about the > ambiguity. > > You should be able to fix this by adding the xorg-configuration directly > into the slim service that you're defining, something like this: > > (cons* (service slim-service-type (slim-configuration > (display ":0") > (vt "vt7") > (xorg-configuration > (xorg-configuration > (modules (list > xf86-input-libinput > xf86-input-evdev > xf86-input-wacom)) > (keyboard-layout > keyboard-layout) > (server-arguments > ;; disable screen-saver > timeout > (append (list "-s" "0") > %default-xorg-server-arg= uments)) > (extra-config (list > xorg-touchpad > xorg-monitor)= ))))) > (service slim-service-type (slim-configuration > (display ":0") > (vt "vt8") > ;; I wasn't sure if you > wanted the same > ;; xorg-configuration here, > so I left it out. > )) > (modify-services %desktop-services > (delete gdm-service-type) > (delete (screen-locker-service xlockmore "xlock")))) Hi Carlo Zancanaro, It all makes sense now! I really appreciate your help, thanks :) --=20 Andr=C3=A9 A. Gomes "You cannot even find the ruins..."