Hello again David, I managed to get it working.

On 28/02/25 16:18, Luis Felipe wrote:
On 27/02/25 14:05, David Lecompte wrote:
I am using Guix system with a sway session.

In evolution, when going through the setup of a CalDAV (or CardDAV) account, the account is found but then I have a popup saying "Cannot connect to the
address book "CardDAV: Addresses". TLS support is not available" (not in
English, hope I am translating clearly enough).

When searching, I found
https://lists.gnu.org/archive/html/help-guix/2022-04/msg00038.html which
looks like the same problem.

Does anyone know how to use CalDAV with evolution outside of a GNOME
session?

I'll try to reproduce your problem in a virtual machine using Sway alone.

I configured Sway in a virtual machine. I couldn't reproduce the exact same error you are getting but got a similar one (among other errors and warnings):

  Failed to open calendar "CalDAV : somecalendar"
  Unable to connect to "somecalendar": Message recipient disconnected from message bus without replying.

I think that the missing package to make it work in my case was "gsettings-desktop-schemas", but "desktop-file-utils" and "gnome-keyring" (instead of the gnome-keyring-service-type) solved other problems as well.

If you'd like to try the virtual machine (I was in guix f1810c8):

❶ Get the OS definition and a Sway configuration:

+ https://luis-felipe.gitlab.io/downloads/code/2025-03-01-guix-sway-evolution-caldav/os.scm + https://luis-felipe.gitlab.io/downloads/code/2025-03-01-guix-sway-evolution-caldav/sway.config

❷ Create the virtual machine

  $ guix system vm os.scm
  /gnu/store/l1kiw3wma56wn6yvss2bpyz7s6ivpn3y-run-vm.sh

❸ Run it

  /gnu/store/l1kiw3wma56wn6yvss2bpyz7s6ivpn3y-run-vm.sh -nic user,model=virtio-net-pci -m 2000M

❹ Log in with username "tester" and password "excuseme"
❺ Start sway using the sway configuration file

  sway --config sway.config

I'd recommend using Ctrl+Alt+G to make the VM grab mouse and keyboard input.

This configuration launches Qutebrowser in workspace 1 just in case you need to grab URLs to CalDAV things from the web. Rofi is available as the application launcher. You can display it with Alt+F2 or $mod+d.

Good luck,

Attachment: OpenPGP_0x0AB0D067012F08C3.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to