Feature #10657

Factorize waiting for notifications

Added by intrigeri 2015-11-24 03:50:06 . Updated 2015-11-24 03:50:06 .

Status:
Confirmed
Priority:
Low
Assignee:
anonym
Category:
Target version:
Start date:
2015-11-24
Due date:
% Done:

0%

Feature Branch:
Type of work:
Research
Blueprint:

Starter:
Affected tool:
Deliverable for:

Description

On Bug #8685 we updated these things for Jessie, and standardized them a bit, and as a result we are duplicating the same calls (pgrep -u "${LIVE_USERNAME}" '^ibus-daemon') all over the place. We should clean this up.

Implementation ideas:

  • move the existing code to is_notifications_ready() and wait_until_notifications_are_ready() in our gnome.sh shell library
  • introduce a systemd target and depend on / wait for it; and/or use systemd/D-Bus integration to require the notifications D-Bus service to be ready, and IIRC systemd can queue up messages until GNOME Shell is ready to receive the messages

Subtasks


Related issues

Related to Tails - Bug #8685: Adapt waiting for user notification facilities for Jessie Resolved 2015-01-13

History

#1 Updated by intrigeri 2015-11-24 03:50:20

  • related to Bug #8685: Adapt waiting for user notification facilities for Jessie added