[GH-ISSUE #6540] Profile for zed editor. #3300

Closed
opened 2026-05-05 09:53:57 -06:00 by gitea-mirror · 0 comments
Owner

Originally created by @dmitryvakulenko on GitHub (Nov 9, 2024).
Original GitHub issue: https://github.com/netblue30/firejail/issues/6540

Description

I try to make profile for Zed. Everything fine except one thing - when I try to open project through Ctrl-O I get error "ZBus Error: I/O error: failed to read from socket". But system "Open Folder" dialog should be shown. Looks like application has not access to some dbus socket but I can't find out which one. My profile attached. I tried to remove almost all limitation but there was no any effect. Other application works fine using same profiles.

Steps to Reproduce

Launch Zed using attached profile and press Ctrl-O.

Expected behavior

System dialog window "Open folder" will appear.

Actual behavior

Got error "ZBus Error: I/O error: failed to read from socket" and no dialog window.

Behavior without a profile

Everything fine - dialog are shown.

Environment

Linux Mint Cinnamon 22 Wilma.
Kernel 6.8.0-45
firejail version 0.9.72

Checklist

  • The issues is caused by firejail (i.e. running the program by path (e.g. /usr/bin/vlc) "fixes" it).
  • I can reproduce the issue without custom modifications (e.g. globals.local).
  • The program has a profile. (If not, request one in https://github.com/netblue30/firejail/issues/1139)
  • The profile (and redirect profile if exists) hasn't already been fixed upstream.
  • I have performed a short search for similar issues (to avoid opening a duplicate).
    • I'm aware of browser-allow-drm yes/browser-disable-u2f no in firejail.config to allow DRM/U2F in browsers.
  • [X
    zed.profile.gz
    ] I used --profile=PROFILENAME to set the right profile. (Only relevant for AppImages)
Originally created by @dmitryvakulenko on GitHub (Nov 9, 2024). Original GitHub issue: https://github.com/netblue30/firejail/issues/6540 ### Description I try to make profile for [Zed](https://zed.dev/). Everything fine except one thing - when I try to open project through Ctrl-O I get error "ZBus Error: I/O error: failed to read from socket". But system "Open Folder" dialog should be shown. Looks like application has not access to some dbus socket but I can't find out which one. My profile attached. I tried to remove almost all limitation but there was no any effect. Other application works fine using same profiles. ### Steps to Reproduce Launch Zed using attached profile and press Ctrl-O. ### Expected behavior System dialog window "Open folder" will appear. ### Actual behavior Got error "ZBus Error: I/O error: failed to read from socket" and no dialog window. ### Behavior without a profile Everything fine - dialog are shown. ### Environment Linux Mint Cinnamon 22 Wilma. Kernel 6.8.0-45 firejail version 0.9.72 ### Checklist - [X] The issues is caused by firejail (i.e. running the program by path (e.g. `/usr/bin/vlc`) "fixes" it). - [ ] I can reproduce the issue without custom modifications (e.g. globals.local). - [ ] The program has a profile. (If not, request one in `https://github.com/netblue30/firejail/issues/1139`) - [ ] The profile (and redirect profile if exists) hasn't already been fixed [upstream](https://github.com/netblue30/firejail/tree/master/etc). - [X] I have performed a short search for similar issues (to avoid opening a duplicate). - [ ] I'm aware of `browser-allow-drm yes`/`browser-disable-u2f no` in `firejail.config` to allow DRM/U2F in browsers. - [X [zed.profile.gz](https://github.com/user-attachments/files/17686982/zed.profile.gz) ] I used `--profile=PROFILENAME` to set the right profile. (Only relevant for AppImages)
gitea-mirror 2026-05-05 09:53:57 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#3300
No description provided.