Tray-icon researches #4053
Replies: 5 comments 21 replies
-
The alternative is to add hundreds of with open("/proc/sys/kernel/pid_max", "r") as pid_max_fd:
pid_max = int(pid_max_fd.read())
with open("snw.inc", "w") as snw_inc:
snw_inc.write("dbus-user.call org.kde.StatusNotifierWatcher=org.freedesktop.DBus.Introspectable.*\n")
snw_inc.write("dbus-user.call org.kde.StatusNotifierWatcher=org.freedesktop.DBus.Properties.*\n")
snw_inc.write("dbus-user.call org.kde.StatusNotifierWatcher=org.kde.StatusNotifierWatcher.*@/StatusNotifierWatcher\n")
for pid in range(pid_max):
for i in range(9):
snw_inc.write(f"dbus-user.own org.kde.StatusNotifierItem-{pid}-{i}\n") |
Beta Was this translation helpful? Give feedback.
-
Have you found a way to sandbox applications that use StatusNotifierItem? |
Beta Was this translation helpful? Give feedback.
-
@rusty-snake can you provide detail on how |
Beta Was this translation helpful? Give feedback.
-
os: debian 12 gnome 43 I started seeing the steam tray icon properly by doing the following. -. In the path "/var/lib/dpkg/info", look for a "list" file with the app name. Found the file "steam-launcher.list"! Open it with an editor and search for "png", and you'll find the suspect. "/usr/share/pixmaps/steam_tray_mono.png" Put the file "steam_tray_mono.png" in the path /home/firejail/Steam/.local/share/icons. How I run steam : -. The tray icon shows the steam image normally. (Previously, when running with firejail --private, the tray icon image was not displayed correctly). But... 🤔🤔🤔🤔🤔 I'm not sure how or why this worked for me. Anyway, that's good |
Beta Was this translation helpful? Give feedback.
-
Should this be added to https://github.com/netblue30/firejail/wiki/Restrict-DBus? It seems a bit out of date and it'd be nice to have it updated as well for anything else known by now to be honest |
Beta Was this translation helpful? Give feedback.
-
There are many tray-icon standards:
org.freedesktop.StatusNotifierWatcher
)org.kde.StatusNotifierWatcher
)Which dbus rules are requiered for KStatusNotifierItem?
dbus-user.talk org.kde.StatusNotifierWatcher
dbus-user.own <APP-ID>
(ordbus-user.own <Apps Indicator Service>
but I never saw it)dbus-user.own org.kde.StatusNotifierItem-<PID>-<ID>
<PID>
!! fuck yeah!dbus-user.own org.kde.*
(obviously unsafe)Beta Was this translation helpful? Give feedback.
All reactions