netblue30 / firejail

Linux namespaces and seccomp-bpf sandbox
https://firejail.wordpress.com
GNU General Public License v2.0
5.83k stars 568 forks source link

profiles: firefox: add org.kde.kdeconnect to plasma comment #6285

Closed RundownRhino closed 8 months ago

RundownRhino commented 8 months ago

Turning this into a PR as per https://github.com/netblue30/firejail/issues/1139#issuecomment-2014916426.

I recently set up KDE connect and plasma-browser-integration for firefox (Linux Mint 21.2) and needed this line in addition to the ones mentioned in the profile. Found it via running firejail --profile=/etc/firejail/firefox.profile --dbus-user.log firefox, trying to send links to device, and seeing what events get logged.

(I also needed ignore dbus-user none in firefox-common.local, which is mentioned in a comment already. I'm not using private-bin for firefox.)

Ideally I'd want someone to test this and confirm they also require this line for plasma-browser-integration to work; possibly it's platform- or version-specific.

kmk3 commented 8 months ago

I recently set up KDE connect and plasma-browser-integration for firefox (Linux Mint 21.2) and needed this line in addition to the ones mentioned in the profile.

Ideally I'd want someone to test this and confirm they also require this line for plasma-browser-integration to work; possibly it's platform- or version-specific.

The dbus name is directly related to the service being used (KDE Connect) and Mint is a rather common distribution so I don't see why having this line would be an issue.