flathub / flathub/com.logseq.Logseq

Can't access xdg-settings or open dialog to create new graph

Open
#105 9 comments 1 reaction 0 assignees View on GitHub
Dominant language
Shell
Stars
22
Forks
17
PR merge metrics
No merged PRs in 30d

Description

```
~ ❯ flatpak run com.logseq.Logseq
(rsapi) init loggers
LaunchProcess: failed to execvp:
xdg-settings
LaunchProcess: failed to execvp:
xdg-settings
20:38:10.154 › Logseq App(0.9.20) Starting...
20:38:10.163 › restore proxy settings {:type "system"}
20:38:10.164 › set proxy to {:type "system"}
[48:1110/203813.628164:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
20:38:13.785 › :electron.handler/watch-dir {:path "/home/sigmavirus24/.logseq/config"}
```

If I enter the container I can see `/run/host/usr/bin/xdg-settings` but `/usr/bin/` doesn't have `xdg-settings`.

```
~ ❯ flatpak run --filesystem=host --command=sh com.logseq.Logseq
[📦 com.logseq.Logseq ~]$ ls /usr/bin/xdg-*
/usr/bin/xdg-email /usr/bin/xdg-open /usr/bin/xdg-user-dir /usr/bin/xdg-user-dirs-update
[📦 com.logseq.Logseq ~]$ /run/host/usr/bin/xdg-settings
xdg-settings: no operation given
Try 'xdg-settings --help' for more information.
```

If I download the AppImage then I can get things working without an issue, but I'd prefer to use flatpak.

```
~ ❯ flatpak info com.logseq.Logseq

Logseq - A local-first, non-linear, outliner notebook for organizing and
sharing your personal knowledge base

ID: com.logseq.Logseq
Ref: app/com.logseq.Logseq/x86_64/stable
Arch: x86_64
Branch: stable
Version: 0.9.20
License: AGPL-3.0-or-later
Origin: flathub
Collection: org.flathub.Stable
Installation: system
Installed: 425.3 MB
Runtime: org.freedesktop.Platform/x86_64/22.08
Sdk: org.freedesktop.Sdk/x86_64/22.08

Commit: 34810510e13c9cf47043d5c10488a3eb3a028442ef2221f7bb6528fb0283f1f7
Parent: d0de57b51cdc700e3a88465419ab22a745713d682083687a96b822be3f563073
Subject: Updated node-gyp (48309caa)
Date: 2023-11-02 14:00:13 +0000
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.