[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Packaging Grisbi
From: |
Tanguy Le Carrour |
Subject: |
Re: Packaging Grisbi |
Date: |
Sat, 8 Jun 2019 15:23:55 +0200 |
User-agent: |
NeoMutt/20180716 |
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 <address@hidden> writes:
> > […]
> > Le 05/30, Timothy Sample a écrit :
> >> […]
> >> >> > Tanguy Le Carrour <address@hidden> 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