From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:54754) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIkHk-0003Kk-2T for guix-patches@gnu.org; Sun, 29 Mar 2020 22:36:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jIkHj-0003Pv-28 for guix-patches@gnu.org; Sun, 29 Mar 2020 22:36:19 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48621) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jIkHi-0003Pk-Uk for guix-patches@gnu.org; Sun, 29 Mar 2020 22:36:19 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jIkHi-0004fW-Sf for guix-patches@gnu.org; Sun, 29 Mar 2020 22:36:18 -0400 Subject: [bug#40312] [PATCH 0/3]: Add Piper and libratbag Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:38544) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIUvq-0001mj-V3 for guix-patches@gnu.org; Sun, 29 Mar 2020 06:12:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jIUvn-00084k-R2 for guix-patches@gnu.org; Sun, 29 Mar 2020 06:12:41 -0400 Received: from mout-p-202.mailbox.org ([2001:67c:2050::465:202]:42328) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jIUvm-00082v-Nm for guix-patches@gnu.org; Sun, 29 Mar 2020 06:12:39 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:105:465:1:1:0]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 48qrxZ41q7zQlGM for ; Sun, 29 Mar 2020 12:12:34 +0200 (CEST) Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter06.heinlein-hosting.de (spamfilter06.heinlein-hosting.de [80.241.56.125]) (amavisd-new, port 10030) with ESMTP id qocQbKlvo9Ek for ; Sun, 29 Mar 2020 12:12:31 +0200 (CEST) From: Brendan Tildesley Message-ID: <99b3cb1d-94d0-d3b3-a64b-873eb5edea36@brendan.scot> Date: Sun, 29 Mar 2020 21:12:21 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 40312@debbugs.gnu.org So this program Piper is unique in that it is entirely useless without the the ratbagd daemon running. eventually, I'd like for a user to be able to install all that in 1 click from a GUI with just their sudo password if needed. For now, I've included in the descriptions a simple service that makes it work. With systemd systems, when Piper is opened and dbus automagically starts ratbagd, systemctl lists it as a ratbagd.service. systemctl stop ratbagd.service can the stop it if needed. With the simple service I've provided in the descriptions, herd status does not list it as a service and only reconfiguring can disable it... I think. Is there a way I can write a service that shows ratbag in herd status, and can start/stop it correctly? Or does herd not have the ability to treat dbus services as first class services? N.B, if you want to test the package you can just run sudo ratbagd, then open piper. if it says cannot find any devices, that means it working but you wont be able to use it without one of the supported devices to play with..