From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brendan Tildesley Subject: Re: Programs like pcmanfm, evince, ... don't connect to dbus unless run with dbus-launch Date: Sun, 5 Aug 2018 21:57:15 +1000 Message-ID: References: <2c04ce67-5606-35b3-4f26-7d4c349af97e@openmailbox.org> <20180731235419.7b824b45@scratchpost.org> <4cb02345-ff28-02e5-63f7-3df78585e4b9@openmailbox.org> <20180805022322.730e2df2@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36493) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fmHf9-0006ag-V9 for guix-devel@gnu.org; Sun, 05 Aug 2018 07:57:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fmHf6-0003P1-SS for guix-devel@gnu.org; Sun, 05 Aug 2018 07:57:32 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:56613 helo=mta-1.openmailbox.org) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fmHf6-0003Gj-Kn for guix-devel@gnu.org; Sun, 05 Aug 2018 07:57:28 -0400 In-Reply-To: <20180805022322.730e2df2@scratchpost.org> Content-Language: en-AU 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: guix-devel On 08/05/18 10:23, Danny Milosavljevic wrote: > Hi Brendan, > > On Thu, 2 Aug 2018 16:21:02 +1000 > Brendan Tildesley wrote: > >> I've always had gvfs installed and it hasn't made any difference as fa= r >> as I can tell > Hmm, what does your ~/.guix-profile/share/dbus-1/services directory con= tain? ca.desrt.dconf.service=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 org.freedesktop.IBus.service=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0 org.gnome.FileRoller.ArchiveManager1.service=A0 org.gtk.vfs.Daemon.service=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 org.gtk.vfs.UDisks2VolumeMonitor.service org.a11y.Bus.service=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 org.freedesktop.portal.IBus.service=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0 org.gnome.FileRoller.service=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0 org.gtk.vfs.GPhoto2VolumeMonitor.service=A0 org.xfce.FileManager.service org.fcitx.Fcitx.service=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 org.freedesktop.Telepathy.Client.Vinagre.service=A0 org.gnome.Nautilus.service=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0 org.gtk.vfs.Metadata.service=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 org.x= fce.Thunar.service org.freedesktop.FileManager1.service=A0 org.gnome.evince.Daemon.service=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0 org.gnome.Rhythmbox3.service=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0 org.gtk.vfs.MTPVolumeMonitor.service > > What is the environment variable XDG_DATA_DIRS set to? /home/b/.guix-profile/share:/run/current-system/profile/share:/home/b/.gu= ix-profile/share:/run/current-system/profile/share (Not sure why it's repeated twice.) > [...] >> but it didn't fix the issue, and caused those weird errors. Actually I= 'm >> not getting those errors anymore, maybe due to reconfiguring and >> rebooting.=20 > Even more progress :) Ok they are there for pcmanfm, but not evince. It may be unrelated but I also get these messages with pcmanfm (XDG_TEMPLATES_DIR=A0 is empty) ** (pcmanfm:1051): WARNING **: 20:10:52.602: XDG_TEMPLATES_DIR is set to invalid path, ignoring it (pcmanfm:1051): Gtk-WARNING **: 20:10:52.604: Unable to locate theme engine in module_path: "adwaita", (pcmanfm:1051): Gtk-WARNING **: 20:10:52.605: Unable to locate theme engine in module_path: "adwaita", (pcmanfm:1051): Gtk-WARNING **: 20:10:52.606: Unable to locate theme engine in module_path: "murrine", > [...] > If you are motivated, I suggest to try to proceed to get the version > without "dbus-launch bash" (but with slim configured to use dbus-launch= ) > to work. It can't be missing much now. I'm motivated it's just I have very little clue what I'm doing. > > I suspect that the gvfs service file is either not there, the environme= nt > variable is not set or the executable mentioned inside the service file > is not found. > > For better debugging, try: > > youruser$ export DBUS_VERBOSE=3D1 > youruser$ evince > > And post the result here. ** (evince:1019): WARNING **: 20:07:46.869: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files Error registering document: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.evince.Daemon was not provided by any .service files