unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Tanguy Le Carrour <tanguy@bioneland.org>
To: Timothy Sample <samplet@ngyro.com>
Cc: Guix <guix-devel@gnu.org>
Subject: Re: Packaging Grisbi
Date: Sat, 8 Jun 2019 15:23:55 +0200	[thread overview]
Message-ID: <20190608132355.ixjldxsc7eidvlzo@melmoth> (raw)
In-Reply-To: <87pnnvsta5.fsf@ngyro.com>

Hi Tim

Sorry it took me so long just to type 1 `cat` and 2 `ls`! ^_^'
…

Le 06/02, Timothy Sample a écrit :
> Tanguy Le Carrour <tanguy@bioneland.org> writes:
> > […]
> > Le 05/30, Timothy Sample a écrit :
> >> […]
> >> >> > Tanguy Le Carrour <tanguy@bioneland.org> 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
> >> >> > > ```
> >> […]
> >> I applied your patch below, and everything works great for me.  It seems
> >> this is because I am running GNOME, and GNOME puts the dconf service
> >> file in the system profile.
> >> 
> >> What desktop are you running?  How is D-Bus started?
> >> […]
> What are the contents of the “$GDM_DBUS_DAEMON” file above?  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
> 
>   /run/current-system/profile/share/dbus-1/services/
> or
>   $HOME/.guix-profile/share/dbus-1/services/
> 
> There should be a symlink called “ca.desrt.dconf.service” in one of
> those directories.

… But I eventually did!

```
❯ 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=> (getpw (getuid)) (lambda (pw) (string-append (passwd:dir pw) "/.guix-profile")))) (define profiles (if user-profile (list user-profile system-profile) (list system-profile))) (setenv "XDG_CONFIG_DIRS" (string-join (map (cut string-append <> "/etc/xdg") profiles) ":")) (setenv "XDG_DATA_DIRS" (string-join (map (cut string-append <> "/share") profiles) ":")) (apply execl (string-append "/gnu/store/s62xzisv3mnl510m5wbf91jzzd392l6f-dbus-1.12.12" "/bin/dbus-daemon") (program-arguments)))⏎                                                                                                

❯ ls /run/current-system/profile/share/dbus-1/services/
org.a11y.Bus.service@

❯ 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 basic:

```
(services (append (list (set-xorg-configuration
                           (xorg-configuration
                            (keyboard-layout keyboard-layout))))
                     %desktop-services))
```

Any help welcome!

-- 
Tanguy

  reply	other threads:[~2019-06-08 13:47 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-12 12:11 Packaging Grisbi Tanguy Le Carrour
2019-05-12 20:09 ` Timothy Sample
2019-05-13  6:51   ` Tanguy Le Carrour
2019-05-29 15:38     ` Tanguy Le Carrour
2019-05-31  1:55       ` Timothy Sample
2019-06-02 17:06         ` Tanguy Le Carrour
2019-06-02 19:04           ` Timothy Sample
2019-06-08 13:23             ` Tanguy Le Carrour [this message]
2019-06-13  0:02               ` Timothy Sample
2019-06-30 12:01                 ` Tanguy Le Carrour

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190608132355.ixjldxsc7eidvlzo@melmoth \
    --to=tanguy@bioneland.org \
    --cc=guix-devel@gnu.org \
    --cc=samplet@ngyro.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).