Skip to content

Conversation

@apebl
Copy link

@apebl apebl commented Aug 16, 2024

This allows the menu to be displayed by sending a SIGUSR1 signal to a widget process.

Why

GNOME Shell does not support legacy tray icons, so I created a wrapper extension for use on GNOME. This extension simply sends a USR1 signal to widgets to open the menu.

https://github.com/apebl/gnome-ext-qubes-tray-widgets

Why not using tray icon extensions

The tray icon extensions I tested lead to shell crashes when a VM tries to create tray icons:

It seems that this issue is not specific to an extension but rather an incompatibility between GNOME and Qubes OS.

Instead of bothering with the problem, I decided to implement a simple alternative method as I described.

@apebl apebl force-pushed the main branch 2 times, most recently from 23b09f5 to 77147b2 Compare August 17, 2024 03:29
@codecov
Copy link

codecov bot commented Aug 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.71%. Comparing base (5902fa1) to head (c4002a0).
Report is 100 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #216      +/-   ##
==========================================
- Coverage   93.72%   93.71%   -0.01%     
==========================================
  Files          57       57              
  Lines       10843    10843              
==========================================
- Hits        10163    10162       -1     
- Misses        680      681       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@marmarta
Copy link
Member

marmarta commented Sep 3, 2024

This is a problem with Gnome, yeah; they decided nobody actually needs tray icons, basically, and so they will not support them fully, except for Gnome's own.

Anyway, on-topic: I generally like this, just one ask: could you document it also? In the code comments, but ideally also in qubes docs themselves? So that it's easier to find for someone who is not you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants