Is there a way of making the notifications from WALC to show in my notification history (in KDE Plasma)? #176
Replies: 4 comments 4 replies
-
function doNotify(){
Notification.requestPermission().then(function (result){
var myNotification = new Notification('The guy that sent me the message...', {
'body': 'Test Notification',
'icon': 'https://upload.wikimedia.org/wikipedia/commons/thumb/6/6b/WhatsApp.svg/1200px-WhatsApp.svg.png'
});
});
} This worked ☝️ |
Beta Was this translation helpful? Give feedback.
-
Yeah, not really sure why it does that, also sometimes the notification just flashes in and out quickly. I'll see what I can do. It is a bit tricky since I can't change WhatsApp's code |
Beta Was this translation helpful? Give feedback.
-
So here's what I found. WALC is not registered as application by KDE, it's registered as "Other Applications". So if you uncheck the "Show in history" option for "Other Applications", WALC notification won't appear in history. I tried using The question here is how to make WALC registered as it's own application by KDE. I tried messing with desktop file but so far no luck. |
Beta Was this translation helpful? Give feedback.
-
After a discussion with a friendly and helpful KDE developer whom also implemented the cool notification inline reply, this will be fixed along with adding inline reply! However, implementing this is quite complicated since I have to rewrite the notification from scratch, so that will come after 0.2.2 |
Beta Was this translation helpful? Give feedback.
-
Can you force electron to use
notify-send
?I have no experience in electron, although I'm quite good at JS, but if there is a way to get electron to use
notify-send
then I'd like to contribute to the project and do it myself.Originally posted by @YoungFellow-le in #174 (reply in thread)
Beta Was this translation helpful? Give feedback.
All reactions