Skip to content
This repository has been archived by the owner on Feb 3, 2019. It is now read-only.

Ukuu pops up multiple update notices if left alone for long enough #108

Open
kode54 opened this issue Oct 18, 2018 · 2 comments
Open

Ukuu pops up multiple update notices if left alone for long enough #108

kode54 opened this issue Oct 18, 2018 · 2 comments

Comments

@kode54
Copy link

kode54 commented Oct 18, 2018

Describe the bug
If update notices are triggered while the machine is locked, the windows continue opening up every two hours until dismissed.

To Reproduce
Steps to reproduce the behavior:

  1. Lock the desktop.
  2. Wait for a kernel update.
  3. Unlock the desktop.

Alternate steps to reproduce

  1. Wait for a kernel update.
  2. Run ukuu --notify repeatedly.

Expected behavior
A single update notice is on the screen, notifying of a new kernel update.

Screenshots
Can't do this, I just installed the update.

System (please complete the following information):

  • Linux Distribution Name and Version: Ubuntu 18.04.1
  • Desktop: KDE
  • Application Version: v18.9
@jboelter
Copy link

Just came here looking for this issue, here's a screenshot.

img_20181002_130344

@awtotty
Copy link

awtotty commented Oct 27, 2018

The problem is that even though ukuu is sending a timeout option with the notification, the timeout is not handled appropriately by notification manager.

This is a known Ubuntu and GNOME Shell design decision, which results in the expire time option to be
completely ignored. Seems to be true for KDE, too. Check man notify-send:

-t, --expire-time=TIME The duration, in milliseconds, for the notification to appear on screen. (Ubuntu's Notify OSD and GNOME Shell both ignore this parameter.)

See this thread and this bug report.

If you want the timeout to be implemented by your notification manager, try:

sudo add-apt-repository ppa:leolik/leolik
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install libnotify-bin
pkill notify-osd

which adds additional features to notify-send, including making the timeout option work.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants