Comments (8)
Are you also using the notifications indicator and/or switchboard plug from master? The new notification server doesn't use the old gala settings keys, so it won't be affected by toggling those
from notifications.
makes sense ... altough I just installed switchboard-plug-notifications and wingpanel-indicator-notifications from master. Unfortunately notifications are still shown in DnD and look like this:
Is this also due to missing more dependencies?
from notifications.
FWIW: If it's too troublesome to get this running, I'll happily revert back to the stable packages. What do you think?
Would just have been nice to get the Time Limit app working in DnD as I use it quite often - but it's not mission critical.
from notifications.
@marbetschar I'm not sure what's going on there. It looks like maybe the notification server isn't running and this is some kind of built in fallback with GLib? Can you confirm that io.elementary.notifications
is running?
from notifications.
@danrabbit good catch. It's indeed not running - although use-new-notifications
is still set to true
. I started it manually using io.elementary.notifications &
and it logged the following to the Terminal (also tried reboot, no change):
** (io.elementary.notifications:5946): WARNING **: 18:23:25.454: Application.vala:46: Could not aquire bus org.freedesktop.Notifications
from notifications.
I'm using this in NixOS 20.09 pre git with https://github.com/elementary/switchboard-plug-notifications/releases/tag/2.1.6 https://github.com/elementary/wingpanel-indicator-notifications/releases/tag/2.1.4. I can confirm that this is running. I also have the patch in session-settings that overrides use-new-notifications
to true
.
Doing:
notify-send -u low Hey Hey
I see a notification. The -u low
makes it low urgency.
I am using notifications at 22cdbd3.
from notifications.
I have found the bug. It is likely NixOS specific.
The code in wingpanel-indicator-notfications has the recursive boolean set to false
https://github.com/elementary/wingpanel-indicator-notifications/blob/d9bff149e1a38ec2aa30522f92bb47b39f19b6a2/src/Indicator.vala#L48.
In NixOS we don't install gsettings-schemas globally, so XDG_DATA_DIRS
has multiple entries to /nix/store paths.
Reading the docs
The returned source may actually consist of multiple schema sources from different directories, depending on which directories were given in `XDG_DATA_DIRS` and `GSETTINGS_SCHEMA_DIR`. For this reason, all lookups performed against the default source should probably be done recursively.
By making recursive true, and adding some debug code, I can see clearly that this fixes the issue for me.
from notifications.
Closing since this should be resolved in the notifications indicator
from notifications.
Related Issues (20)
- Calendar preview from notification
- Notification settings don't work for Spotify HOT 4
- Clicking a notification does not pass target parameters to action HOT 10
- Notifications are not withdrawn when using GLib.Application.withdraw_notification HOT 1
- Port Notifications to GTK4
- Chosen icon is not displayed in popup with `notify-send` from Terminal
- Notifications coming from web browser playing 2 different sounds in the same time HOT 4
- Send a notification on behalf of applications using the unity API to communicate progress
- Urgent notifications automatically dismissed when being replaced
- Transparent bubbles and 'other' missing HOT 4
- Spotify ignores notification settings HOT 2
- Notification bubble too small HOT 1
- Add a notification rate limiter. HOT 1
- Notifications tab out of fullscreen apps and changes workspaces HOT 2
- All notifications' settings belong to the other category
- Invisible notification blocking input HOT 2
- Progress Notifications API HOT 2
- FTBFS with Vala 0.56.16
- Use Flatpak PermissionStore for app settings
- Black border around notification cards (Black theme)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from notifications.