From mboxrd@z Thu Jan 1 00:00:00 1970 From: Timothy Sample Subject: Re: Packaging Grisbi Date: Wed, 12 Jun 2019 20:02:16 -0400 Message-ID: <87blz2qrnb.fsf@ngyro.com> References: <20190512121101.qabhj5jdcnwgs6jp@melmoth> <87pnon4eqf.fsf@ngyro.com> <20190513065136.neexsffqgvwgyhev@rafflesia.localdomain> <20190529153800.6uhdsarrtt3dgzyt@melmoth> <87o93j5qvp.fsf@ngyro.com> <20190602170634.yxan6x7fw65xw327@melmoth> <87pnnvsta5.fsf@ngyro.com> <20190608132355.ixjldxsc7eidvlzo@melmoth> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:43200) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbDCC-0008JG-T4 for guix-devel@gnu.org; Wed, 12 Jun 2019 20:02:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hbDC9-0003yE-Sq for guix-devel@gnu.org; Wed, 12 Jun 2019 20:02:24 -0400 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:38361) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hbDC8-0003wt-AF for guix-devel@gnu.org; Wed, 12 Jun 2019 20:02:20 -0400 In-Reply-To: <20190608132355.ixjldxsc7eidvlzo@melmoth> (Tanguy Le Carrour's message of "Sat, 8 Jun 2019 15:23:55 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Tanguy Le Carrour Cc: Guix Hi Tanguy, Looks like it=E2=80=99s now my turn to take my time replying! :) Tanguy Le Carrour writes: > Hi Tim > > Sorry it took me so long just to type 1 `cat` and 2=C2=A0`ls`! ^_^' > =E2=80=A6 > > Le 06/02, Timothy Sample a =C3=A9crit : >> Tanguy Le Carrour writes: >> > [=E2=80=A6] >> > Le 05/30, Timothy Sample a =C3=A9crit : >> >> [=E2=80=A6] >> >> >> > Tanguy Le Carrour writes: >> >> >> > > I get the following error message: >> >> >> > > >> >> >> > > ``` >> >> >> > > failed to commit changes to dconf: >> >> >> > > GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: >> >> >> > > The name ca.desrt.dconf was not provided by any .service files >> >> >> > > ``` >> >> [=E2=80=A6] >> >> I applied your patch below, and everything works great for me. It se= ems >> >> this is because I am running GNOME, and GNOME puts the dconf service >> >> file in the system profile. >> >>=20 >> >> What desktop are you running? How is D-Bus started? >> >> [=E2=80=A6] >> What are the contents of the =E2=80=9C$GDM_DBUS_DAEMON=E2=80=9D file abo= ve? It should >> set it up so that D-Bus looks at the system profile and your user >> profile. Please check that the service file is available either in >>=20 >> /run/current-system/profile/share/dbus-1/services/ >> or >> $HOME/.guix-profile/share/dbus-1/services/ >>=20 >> There should be a symlink called =E2=80=9Cca.desrt.dconf.service=E2=80= =9D in one of >> those directories. > > =E2=80=A6 But I eventually did! > > ``` > =E2=9D=AF cat /gnu/store/bp4zn8kx5p09ddn6dm7lsdlf4l0cj8g3-gdm-dbus-wrapper > #!/gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/bin/guile --no-= auto-compile > !# > (begin (use-modules (srfi srfi-26)) (define system-profile "/run/current-= system/profile") (define user-profile (and=3D> (getpw (getuid)) (lambda (pw= ) (string-append (passwd:dir pw) "/.guix-profile")))) (define profiles (if = user-profile (list user-profile system-profile) (list system-profile))) (se= tenv "XDG_CONFIG_DIRS" (string-join (map (cut string-append <> "/etc/xdg") = profiles) ":")) (setenv "XDG_DATA_DIRS" (string-join (map (cut string-appen= d <> "/share") profiles) ":")) (apply execl (string-append "/gnu/store/s62x= zisv3mnl510m5wbf91jzzd392l6f-dbus-1.12.12" "/bin/dbus-daemon") (program-arg= uments)))=E2=8F=8E=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20 > > =E2=9D=AF ls /run/current-system/profile/share/dbus-1/services/ > org.a11y.Bus.service@ > > =E2=9D=AF ls $HOME/.guix-profile/share/dbus-1/services/ > org.gnome.evince.Daemon.service@ org.knopwob.dunst.service@ > ``` > > So, apparently the `ca.desrt.dconf.service` is missing, which would > explain the problem. The thing is, I have no clue how it's supposed to > be started? Is it something I missed in the doc? Or is there something > else I need to do because I'm using bspwm? > > I checked my guix system config, and the service section looks rather bas= ic: > > ``` > (services (append (list (set-xorg-configuration > (xorg-configuration > (keyboard-layout keyboard-layout)))) > %desktop-services)) > ``` > > Any help welcome! It looks like all you need to do is install =E2=80=9Cdconf=E2=80=9D. It sh= ould work if you install it into your user profile either using a manifest file or with =E2=80=9Cguix install dconf=E2=80=9D. (I seem to recall you tried thi= s before, but looking at the results above, and given my earlier success with Grisbi, and think it=E2=80=99s worth another shot.) -- Tim