From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id QErSAijrV2CnCwAA0tVLHw (envelope-from ) for ; Mon, 22 Mar 2021 00:56:08 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id oMpkOifrV2DGFgAAB5/wlQ (envelope-from ) for ; Mon, 22 Mar 2021 00:56:07 +0000 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 362522AFE1 for ; Mon, 22 Mar 2021 01:56:07 +0100 (CET) Received: from localhost ([::1]:43168 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lO8rV-000806-Bd for larch@yhetil.org; Sun, 21 Mar 2021 20:56:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42634) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lO8rM-0007zk-AK for help-guix@gnu.org; Sun, 21 Mar 2021 20:55:56 -0400 Received: from elegua.eauchat.org ([91.224.149.118]:35670 helo=eauchat.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lO8rK-0002ja-Es for help-guix@gnu.org; Sun, 21 Mar 2021 20:55:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eauchat.org; s=mail; t=1616374547; h=from:from: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; bh=0/3Cb2QIb3kJAF7WDuW1Q+NFxRdFhA5ig0f4krGjHgY=; b=XOibOduwMP6d6GtkbzUDGK5NZGk8r00GegxLrMooNaMOeRygFUG/SIESLnZxCiDC+2k9/5 T11fB6JgXXORTZ7KABnHsmdE0jmzOi9BtyzOciSpKvmo+rVwy8nTZdOv2t7/NBOvtu2h+P ipTZ926VuNszPbfwY0VqhGBod/yjyA4= References: <87o8fhcfcf.fsf@eauchat.org> <874kh9gkgt.fsf@dismail.de> From: =?utf-8?Q?S=C3=A9bastien?= Lerique To: Joshua Branson Subject: Re: DBus with SDDM, Sway, and optionally fish In-reply-to: <874kh9gkgt.fsf@dismail.de> Date: Mon, 22 Mar 2021 09:55:43 +0900 Message-ID: <87lfag57n4.fsf@eauchat.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=91.224.149.118; envelope-from=sl@eauchat.org; helo=eauchat.org 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616374567; 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:dkim-signature; bh=0/3Cb2QIb3kJAF7WDuW1Q+NFxRdFhA5ig0f4krGjHgY=; b=tgaWOL45ydyPXWjs4DK1P1cBbK9ipoUTwICt97pnu46doonwvrdRCr+vwSO2rhK04SBnri mgb5BUo97Bv8vLzJ3hLi12d+4mvPHASmRCUC202vQoDzJ1Z7lFQiqIHNmWcmu78cqAjTnP 8ENwdQFXBGSc1CXW9qyGRWnmlUCPbDrepVPE2t0qK7vkpg1liElacCvozZth4zzMXJHLpe iajlGLm1MlD2qdUx8EPsNqqtFmbUNZ+UiubqWshoangPRjtf5Lo4qqvkHOZcZh1FwvSrwU NWhD7CETOwNZ0s/fy/UNMoMIVs701RbxMOfXzG7jLEYGyk+lI8o2rwouwhIowg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616374567; a=rsa-sha256; cv=none; b=HbQCXSSY/pMcLCYeqzxsdB3P2VZw73ZgsUVDRvE2cjARnrdU386eVOi0+t9yGrXoJwD+bE R0rPbgsaTLKX4Is7tUa70iRNrnKlSkFDMbGnOf2ToIrhhfSt4qpSm3YmUqoQYR8zABIDP7 LZ1l6GRH/YYfAwJHUVt0islZ0gMO5LsePzxp1HUYvwIE+mF8H2g0BPgpqBOiXhYAZlEdNm YpNPHNdNyg60Z9+VBBqGDPBSzmU9aFHvyAvhFi2GF5OIDWwuPxtgxBZZ2ppd6PRjTBjIPc XjRBvQxafKY3yImESVSOGX10JlN+kgHk2y6g9vv2vVsjafGwOZUc/gUYDgPg2Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=eauchat.org header.s=mail header.b=XOibOduw; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=eauchat.org header.s=mail header.b=XOibOduw; dmarc=fail reason="SPF not aligned (relaxed)" header.from=eauchat.org (policy=none); spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 362522AFE1 X-Spam-Score: -1.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: ujKuebSZgc7z Hi Joshua, Great that you have the same setup :) >> With the two changes above (setting DBUS_SESSION_BUS_ADDRESS in >> .profile, and patching wayland-session), apps can connect to=20 >> dbus >> inside Sway. But this seems extremely hacky. Is there maybe a=20 >> better >> way to make sure SDDM+Sway(+fish) is set up properly as a=20 >> desktop >> enviroment? Is it time to make a `sway-desktop-service-type`? >> > > I'm all game for the above. ^ I've been working on that for a=20 > while > now. I've work coding on said problem on my video channel here: > > https://video.hardlimit.com/my-library/video-playlists/06baf279-76ea-406a= -a24d-2fcfefecbf35 > > I'll tag the below code. It's the basic define-record-type*=20 > that people > may find useful in generating the sway config file. > > I'm taking a break from writing the sway service, because I=20 > couldn't > figure out how to get the darn service to start. So now I'm=20 > working on > and endlessh service. (I actually posted a patch here: > https://lists.gnu.org/archive/html/guix-patches/2021-03/msg00672.html) > > Here is my current sway-service.scm code Thanks for sharing that! It's a bit too far from what I know for=20 me to be able to contribute right now, but I'll be sure to come=20 back to the thread if one day I have the time. S=C3=A9bastien