target / lorri

Your project's nix-env
Apache License 2.0
992 stars 69 forks source link

Breaks kde-open5/xdg-open #504

Closed neumantm closed 3 years ago

neumantm commented 3 years ago

Describe the bug Since updating to lorri 1.5.0, kde-open5, which is used by xdg-open, is broken inside lorri. It opens the dialog, but the dialog does not contain any applications.

To Reproduce Steps to reproduce the behavior:

On a KDE5 system:

  1. lorri init; direnv allow
  2. xdg-open example.com

Expected behavior xdg-open should behave like outside lorri (for me it directly opens my primary browser without opening a dialog)

Metadata

$ lorri info
lorri version: 1.5
GC roots exist, shell_gc_root: /home/tim/.cache/lorri/gc_roots/4ae16aa295dccc19389afaa3ea31cd17/gc_root/shell_gc_root
$ uname -a
Linux TimpadX1 5.10.42 #1-NixOS SMP Thu Jun 3 07:00:52 UTC 2021 x86_64 GNU/Linux

Additional context

neumantm commented 3 years ago

It seems that $XDG_DATA_DIRS is not properly set within lorri

neumantm commented 3 years ago

Duplicate of https://github.com/nix-community/lorri/issues/48 ... Which is the main repo anyway? Should I close this?