selenium-h / notification-center Goto Github PK
View Code? Open in Web Editor NEWA GNOME Shell Extension that detaches the notification center and place it on top panel
License: GNU General Public License v3.0
A GNOME Shell Extension that detaches the notification center and place it on top panel
License: GNU General Public License v3.0
I'd love if the icon could display the notification count. Of course, persistent notifications like a music apps should be ignored from the count.
Greetings,
Gnome 41 was released this month and I was wondering if/when the extension will be updated? Thank you for your time and thank you for making an amazing extension I couldn't live without! Cheers
Hi, currently when notifications are "moved" to the Notification Center the calendar ones come along with it, which disables the functionality of to navigating the calendar (when one clicks different dates the calendar notifications for that date show)
Is it possible to only move the regular notification (or clone the calendar ones) to the Notification center and have the calendar ones remain next to the clock.
Using Pop!_OS 20.04 with pop-shell enabled. I have tried disabling / enabling the extension as well as completely removing it and adding it again. That option does not work, notifications remain next to calendar.
Edit : It appears to be caused by removing either of the default notification options, i.e Media Section, Events list, Notification list. If either one of those is set to "Don't show", the events come back besides the Calendar Menu
Hi,
It seems that this extension is no longer maintained?
I have it working on Ubuntu 22.04 LTS.
Are you planning at all to start maintaining this extension again?
Hi!
My apologies for the bad title. Well, it is a bad title to me at least, but I can't find a better one.
Look at this picture:
On the left, today, it shows I have three reminders. If I click on another day, like yesterday, in which I had no events in agenda, the panel height remains the same and its content shift downward so to align vertically.
Is it possible to avoid this behaviour by resizing the popover accordingly?
Since I switched to Fedora 33, the Clear Button no longer works.
It was not an update but a fresh installation on a new SSD.
I have already removed and reinstalled the extension several times, both from the GNONE Extionsionsion Sites and the GIT repository.
The button clear has no function anymore.
I use the middle click to mute notfications all the time but the problem is i still hear the alert sound , it would be nice to have an option to mute it but only for notifications
Hi, thanks a lot for this extension!
I noticed some issues: the "events" sections is nearly never hidden from the calendar popup, and the clock section also reappears randomly.
Using Gnome 40 and last version from github :)
I can't enable the extension
When clicking on the bell icon to show the center and leaving it, a few of these are shown:
g_source_remove: assertion 'tag > 0' failed
ArchLinux
Gnome 3.32.1
When I click to open a notification in the notification panel, the notification panel keeps open.
It would be nice that the notification panel it closes when I click to open a notification.
I have the extension Noannoyance installed too but I think the behaviour is the same if this extension is not installed.
Thanks in advance.
Hi, could I use this extension to copy text from SMS?
It just disappears when I click on it.
Right now, when you enable the "do not disturb" mode the bell icon goes grey.
However, if you enabled the auto hide option, you will not have any feedback that this mode is active.
I suggest disabling auto-hide when "do not disturb" is active and replacing the bell icon with a circle backslash.
First, thank you for creating this extension and keeping it updated.
What I think would greatly help you and people looking at the repo is to properly leverage what git allows you to do.
Right now, all your commits message are not useful because they just describe how you are using git right now: as a way to upload files.
However, if one wants to get a changelog, or understand what a recent commit did, it's harder.
It's also not just for others to look at what you did, but for you: it makes you track what you did, and you don't have to open the files again just to see what you worked on recently.
Another problem is that those commits seem to be atomic sometimes: multiple unrelated changes merged into one single commit. The problem with this approach is that you can't properly isolate what code comes from a single change. If for example a change you made wasn't right or you changed your mind, with one change per commit, you can just use git revert [commit hash]
that will just undo what the corresponding commit contained. You can't do that if one commit contains multiple separate changes.
There are numerous websites like https://githowto.com that provides a tutorial to better grasp the different concepts if you need.
I found about this amazing extension searching for a way to change my discord notification location so it would be nice to have the option to change the notification banner location from top to bottom
TypeError: this.dndItem is undefined
Error: Extension point conflict: there is already a status indicator for role NotificationCenter
Hi!
I'd like to translate this extension into my native language (italian).
Can you please add the .pot file? :)
Shows incompatible in GNOME 42.5, Ubuntu 22.04
TypeError: gtkVersion.Prefs_NotificationCenterExtension is not a constructor
Stack trace:
buildPrefsWidget@/home/user/.local/share/gnome-shell/extensions/notification-center@Selenium-H/prefs.js:19:16
_init@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:32:44
ExtensionPrefsDialog@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:10:4
OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:129:33
asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:115:22
run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:186:20
main@resource:///org/gnome/Shell/Extensions/js/main.js:22:13
run@resource:///org/gnome/gjs/modules/script/package.js:206:19
start@resource:///org/gnome/gjs/modules/script/package.js:190:8
@/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17
Add a key binding under settings menu that's able to do the same action as pushing the button "Clear" when Notification Center is visible.
It would be very handy when you want to clear notifications quickly without lifting hands from keyboard. I know that you can navigate through using arrows but depending on the amount of items is not useful enough.
enhancement
I'd love if the icon could flash for unread notifications. Setting up a blacklist of applications to ignore would be great.
Hey there,
This seems like a great addon. Just started using it a few minutes ago and saw there was a list you could specify options for individual applications. It would be awesome if you could do additional actions per application when a notification is received. I know it's a bit of a stretch, but an example of something that would be great to be able to do is, if I have my volume down then if I get a notification from Telegram from a specific person, be able to have that notification make a noise, but then the volume is back down otherwise.
I realize that is way more difficult, so to be able to perhaps simply specify a script to run if a notification comes from an application, then I could try to handle the action on my own. That way I could have a script that runs on a Discord notification, one for Slack, etc, etc.
Either way, I appreciate the time you have put into this addon,
Thanks,
-MH
Greetings,
Gnome 42 was recently released, it's not available on Arch, openSUSE Tumbleweed, Fedora 36 (Beta), Gentoo, and a few others as well I'm sure. But I just wanted to open a bug report and say that your amazing extension is I'm sad to report not working on Gnome 42. Here's the error it shows from the Extensions app:
Error code:
Object 0x3293f0c24958 is not a subclass of GObject_Object, it's a Object
I'm currently on EndeavourOS Gnome myself, if you need anymore information from me please let me know, I'm happy to help in anyway I can to get this extension working again, it's one I could not live without! :)
Occasionally (usually after laptop sleep and unlock), the message list will no longer show incoming notification thought a the notification "dot" next to the icon will appear.
My guess some edge case is missing but I since I can not reproduce this reliably it's hard to debug.
Only errors I've seen in the logs are:
Apr 18 09:22:27 machine gnome-shell[27680]: st_widget_get_theme_node called on the widget [0x560f75807f80 StIcon] which is not in the stage.
Apr 18 09:22:27 machine gnome-shell[27680]: st_widget_get_theme_node called on the widget [0x560f75807f80 StIcon] which is not in the stage.
Apr 18 09:22:27 machine gnome-shell[27680]: st_widget_get_theme_node called on the widget [0x560f75807f80 StIcon] which is not in the stage.
Apr 18 09:22:27 machine gnome-shell[27680]: st_widget_get_theme_node called on the widget [0x560f75807f80 StIcon] which is not in the stage.
Given the log I am playing with, wrapping
in try/catch and see if that helps, but I thought I'd report itHere is what is shown when gnome-shell 3.34 starts:
Usage of object.actor is deprecated for NotificationCenter
get@resource:///org/gnome/shell/ui/environment.js:240:29
manageAutohide@/usr/share/gnome-shell/extensions/notification-center@Selenium-H/extension.js:316:5
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
resetIndicator@/usr/share/gnome-shell/extensions/notification-center@Selenium-H/extension.js:503:5
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
newNotif@/usr/share/gnome-shell/extensions/notification-center@Selenium-H/extension.js:440:5
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
addThisSection/<@/usr/share/gnome-shell/extensions/notification-center@Selenium-H/extension.js:120:78
addMessageAtIndex@resource:///org/gnome/shell/ui/messageList.js:584:9
_onNotificationAdded@resource:///org/gnome/shell/ui/calendar.js:979:9
_emit@resource:///org/gnome/gjs/modules/signals.js:135:27
pushNotification@resource:///org/gnome/shell/ui/messageTray.js:785:9
notify@resource:///org/gnome/shell/ui/messageTray.js:792:9
addNotification@/usr/share/gnome-shell/extensions/[email protected]/shell/notification.js:339:13
AddNotificationAsync@resource:///org/gnome/shell/ui/notificationDaemon.js:811:9
_handleMethodCall@resource:///org/gnome/gjs/modules/overrides/Gio.js:371:9
_wrapJSObject/<@resource:///org/gnome/gjs/modules/overrides/Gio.js:404:16
Usage of object.actor is deprecated for DateMenuButton
get@resource:///org/gnome/shell/ui/environment.js:240:29
removeDotFromDateMenu@/usr/share/gnome-shell/extensions/notification-center@Selenium-H/extension.js:490:5
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
startNotificationCenter@/usr/share/gnome-shell/extensions/notification-center@Selenium-H/extension.js:546:5
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
enable@/usr/share/gnome-shell/extensions/notification-center@Selenium-H/extension.js:28:3
_callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:131:13
loadExtension@resource:///org/gnome/shell/ui/extensionSystem.js:263:21
_loadExtensions/<@resource:///org/gnome/shell/ui/extensionSystem.js:473:13
collectFromDatadirs@resource:///org/gnome/shell/misc/fileUtils.js:27:17
_loadExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:452:9
_enableAllExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:482:13
_sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:513:13
init@resource:///org/gnome/shell/ui/extensionSystem.js:31:9
_initializeUI@resource:///org/gnome/shell/ui/main.js:238:5
start@resource:///org/gnome/shell/ui/main.js:138:5
Settings schema 'org.gnome.shell.extensions.notification-center' does not contain a key named 'max-height'
== Stack trace for context 0x557337b82270 ==
#0 5573390b3680 i /usr/share/gnome-shell/extensions/notification-center@Selenium-H/extension.js:111 (7fccb556dca0 @ 222)
#1 7fffe5042f60 b resource:///org/gnome/gjs/modules/_legacy.js:82 (7fcce5fb98b0 @ 71)
#2 5573390b35c8 i /usr/share/gnome-shell/extensions/notification-center@Selenium-H/extension.js:47 (7fccb556d820 @ 300)
#3 7fffe5043ed0 b resource:///org/gnome/gjs/modules/_legacy.js:82 (7fcce5fb98b0 @ 71)
#4 5573390b3540 i /usr/share/gnome-shell/extensions/notification-center@Selenium-H/extension.js:22 (7fccb556d700 @ 15)
#5 7fffe5045300 b resource:///org/gnome/shell/ui/extensionSystem.js:131 (7fcce5c47f70 @ 504)
#6 7fffe50453a0 b resource:///org/gnome/shell/ui/extensionSystem.js:285 (7fcce5c4c4c0 @ 13)
#7 7fffe5045490 b self-hosted:261 (7fcce5fc05e0 @ 223)
#8 5573390b33f0 i resource:///org/gnome/shell/ui/extensionSystem.js:282 (7fcce5c4c3a0 @ 75)
ArchLinux
Gnome 3.32.1
Mar 09 12:56:57 travis-x1-carbon gnome-shell[1608]: Usage of object.actor is deprecated for CalendarMessageList
get@resource:///org/gnome/shell/ui/environment.js:285:29
_init@/home/travis/.local/share/gnome-shell/extensions/notification-center@Selenium-H/extension.js:96:87
wrapper@resource:///org/gnome/gjs/modules/script/_legacy.js:82:27
enable@/home/travis/.local/share/gnome-shell/extensions/notification-center@Selenium-H/extension.js:27:24
_callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:160:32
loadExtension@resource:///org/gnome/shell/ui/extensionSystem.js:311:26
_loadExtensions/<@resource:///org/gnome/shell/ui/extensionSystem.js:536:18
collectFromDatadirs@resource:///org/gnome/shell/misc/fileUtils.js:27:17
_loadExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:515:19
_enableAllExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:545:18
_sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:576:18
init@resource:///org/gnome/shell/ui/extensionSystem.js:54:14
_initializeUI@resource:///org/gnome/shell/ui/main.js:244:22
start@resource:///org/gnome/shell/ui/main.js:138:5
@<main>:1:47
Mar 09 12:56:57 travis-x1-carbon gnome-shell[1608]: Usage of object.actor is deprecated for CalendarMessageList
get@resource:///org/gnome/shell/ui/environment.js:285:29
_init@/home/travis/.local/share/gnome-shell/extensions/notification-center@Selenium-H/extension.js:96:184
wrapper@resource:///org/gnome/gjs/modules/script/_legacy.js:82:27
enable@/home/travis/.local/share/gnome-shell/extensions/notification-center@Selenium-H/extension.js:27:24
_callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:160:32
loadExtension@resource:///org/gnome/shell/ui/extensionSystem.js:311:26
_loadExtensions/<@resource:///org/gnome/shell/ui/extensionSystem.js:536:18
collectFromDatadirs@resource:///org/gnome/shell/misc/fileUtils.js:27:17
_loadExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:515:19
_enableAllExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:545:18
_sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:576:18
init@resource:///org/gnome/shell/ui/extensionSystem.js:54:14
_initializeUI@resource:///org/gnome/shell/ui/main.js:244:22
start@resource:///org/gnome/shell/ui/main.js:138:5
@<main>:1:47
Mar 09 12:56:57 travis-x1-carbon gnome-shell[1608]: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
Mar 09 12:56:57 travis-x1-carbon gnome-shell[1608]: JS ERROR: Extension notification-center@Selenium-H: TypeError: Gtk.IconTheme.get_default(...) is null
setNotificationIconName@/home/travis/.local/share/gnome-shell/extensions/notification-center@Selenium-H/extension.js:499:47
wrapper@resource:///org/gnome/gjs/modules/script/_legacy.js:82:27
startNotificationCenter@/home/travis/.local/share/gnome-shell/extensions/notification-center@Selenium-H/extension.js:515:10
wrapper@resource:///org/gnome/gjs/modules/script/_legacy.js:82:27
enable@/home/travis/.local/share/gnome-shell/extensions/notification-center@Selenium-H/extension.js:28:22
_callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:160:32
loadExtension@resource:///org/gnome/shell/ui/extensionSystem.js:311:26
_loadExtensions/<@resource:///org/gnome/shell/ui/extensionSystem.js:536:18
collectFromDatadirs@resource:///org/gnome/shell/misc/fileUtils.js:27:17
_loadExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:515:19
_enableAllExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:545:18
_sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:576:18
init@resource:///org/gnome/shell/ui/extensionSystem.js:54:14
_initializeUI@resource:///org/gnome/shell/ui/main.js:244:22
start@resource:///org/gnome/shell/ui/main.js:138:5
@<main>:1:47
It would be very nice if the notification panel can be opened with a keyboard shortcut.
Like SUPER+M does for the standard notification tray
I regularly see the the following in the log:
Could not delete runtime/persistent state file: Error removing file /home/terence/.local/share/gnome-shell/notifications
The following are displayed after shell is (re)started:
JS WARNING: [/usr/share/gnome-shell/extensions/notification-center@Selenium-H/extension.js 18]: assignment to undeclared variable notificationCenter
JS WARNING: [/usr/share/gnome-shell/extensions/notification-center@Selenium-H/extension.js 193]: assignment to undeclared variable len
And here when you click the bell icon for the first time although it might me a gnome-shell issue? :
JS WARNING: [resource:///org/gnome/shell/ui/popupMenu.js 503]: reference to undefined property "_delegate"
JS WARNING: [resource:///org/gnome/shell/ui/popupMenu.js 19]: reference to undefined property "_delegate"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.