! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
It does not remove non-existent applications from the list of known applications
Status:
RESOLVED: MOVED
Product:
Xfce4-notifyd
Component:
general

Comments

Description Juan Simón 2019-12-01 10:42:22 CET
Arch Linux

"xfce4-notifyd-config" shows all applications (installed and removed) in the "Applications" tab. It should "clean" that list from time to time to remove applications not present in the system.
Comment 1 Simon Steinbeiss editbugs 2019-12-01 19:38:18 CET
In general this is by design. I felt (and still feel) it was overkill to let people remove individual entries.

What you can do is reset the property /applications/known_applications but that will clear all known applications from the list.
This should do the trick (in a terminal):
"xfconf-query -c xfce4-notifyd -p /applications/known_applications -r"
Comment 2 Juan Simón 2019-12-02 13:38:31 CET
(In reply to Simon Steinbeiss from comment #1)
What is the point of filling this list with uninstalled applications?
And what is the use of emptying the list if then I will not even have the applications installed?
Comment 3 Simon Steinbeiss editbugs 2019-12-02 21:22:05 CET
The point is having a way of simply creating rules for applications without
 * adding code for checking if an app is installed (this would be a bit tricky anyway with all the package managers and formats out there) and
 * not making the user a "maintainer"/"janitor" of the list as there is little point in "cleaning it up"

A "clean" list of only the installed applications may please the eye and I agree - if you have >50 applications it may be harder to find the one you're looking for. But other than this I see no downsides.

On the other hand, installing an application again after uninstalling it means the same notification rules apply as before - so no work for the user after configuring it once.
Comment 4 Juan Simón 2019-12-03 09:46:04 CET
What rule does xfce4-notifyd follow to add a program to the list?
Comment 5 Simon Steinbeiss editbugs 2019-12-03 12:42:03 CET
It remembers every app that has sent a notification through it (apps identify themselves, you can read about the metadata in the notification specification: https://docs.xfce.org/apps/notifyd/spec
Comment 6 Juan Simón 2019-12-03 15:58:11 CET
(In reply to Simon Steinbeiss from comment #3)

Check if an app is installed is very simply: check if .desktop file exists.
And when an app is reinstalled xfce4-notifyd will register it again when it sends the first notification again.
Comment 7 Git Bot editbugs 2020-05-24 20:07:35 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/apps/xfce4-notifyd/-/issues/23.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #16238

Reported by:
Juan Simón
Reported on: 2019-12-01
Last modified on: 2020-05-24

People

Assignee:
Simon Steinbeiss
CC List:
1 user

Version

Attachments

Additional information