mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #4494] skypeforlinux - systray icon not shown #2683
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#2683
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @T200proX7 on GitHub (Aug 30, 2021).
Original GitHub issue: https://github.com/netblue30/firejail/issues/4494
I found out that skypeforlinux has a /usr/bin/skypeforlinux (shellscript) that sets some envs and then starts /usr/share/skypeforlinux/skypeforlinux.
If you set directly in skype "starts on system startup" then skype sets a skypeforlinux.desktop file in the .config/autostart/ pointing directly to /usr/share/skypeforlinux/skypeforlinux -> circumvent firejail.
So i changed the path in the autostart file and prevent to be overwritten with chattr +i.
Now skype is starting obviously in the jail (at it looks like using ps aux | grep firejail, though there are several other processes without firejail upfront), but the problem is there are no icons in the systray.
I checked the filesystem for icons and it looks like that the icons itself are contained somehow in the skypeforlinux (electron binary) and it seems that the appindicator is not able to find these icons. (without firejail icons are shown perfectly)
@rusty-snake commented on GitHub (Aug 31, 2021):
Duplicate of #1137?
@yderi commented on GitHub (Oct 18, 2021):
Hello everyone
Are there any updates on how to fix it?
Currently, I'm using --nodbus as a workaround to show the Skype icon in the tray.
Don't know how much it worsens the security.
Currently in use:
firejail version 0.9.66
skypeforlinux version: 8.77
Ubuntu 21.10
@rusty-snake commented on GitHub (Oct 18, 2021):
--nodbusincreases security.@yderi commented on GitHub (Oct 18, 2021):
So, currently, if I start like:
firejail --nodbus /usr/bin/skypeforlinux %U
it works, but requires authentication every time you quit the Skype.
@rusty-snake commented on GitHub (Oct 18, 2021):
Ok, the skype flatpak uses
which is 1. over permissive and 2. contains permissions that are very likely not used.
So can you try this (put it in
~/.config/firejail/skypeforlinux.localand start without--nodbus)@yderi commented on GitHub (Oct 18, 2021):
Created a local profile as you suggested, but then no icon in the system tray. So it is where we began from.
starting app as following:
firejail /usr/bin/skypeforlinux %U
@rusty-snake commented on GitHub (Oct 18, 2021):
Then try to extend it with
dbus-user.own com.skype.Client(IDK if this is the right) anddbus-user.own org.kde.*. If this does not work, we either need a different name for the first own rule or change filesystem commands.@yderi commented on GitHub (Oct 18, 2021):
Still no luck with either of them. Mean it starts but no systray icon is present.
@rusty-snake commented on GitHub (Oct 18, 2021):
Then try to
ignore private-tmp(#1137).@yderi commented on GitHub (Oct 18, 2021):
simply adding the statement:
ignore private-tmpinto the :
~/.config/firejail/skypeforlinux.localallows starting the Skype and shows the systray icon.
Don't know what way is more secure in
skypeforlinux.localusing statement
ignore private-tmpor use the
@rusty-snake commented on GitHub (Oct 18, 2021):
If this works, it is the most secure one we have so far.
closing as duplicate of #1137.
@yderi commented on GitHub (Oct 18, 2021):
I Confirm, the statement above works in my configuration (using
skypeforlinux.local).