-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Notification not working on linux #181
Comments
Does this pull request fix the issue? |
yes and no. There was a lot of trouble trying to build that version of webmessage because it seems like one of the dependencies seems to just be gone, but luckily I had a version of it on my desktop from when I was trying to build it before so I was able to get it to work after a lot of trial and error. Anyways, the notifications work when I compile it for hot-reloads, but not when built for production. I'm not really sure what the issue is, maybe it's just something with how I have it configured or maybe the way that it builds the .AppImage and snap files is weird and it doesn't fully support notifications. So I think for now this is still an issue, unless someone else can try building it and seeing if it works for them. |
Hey ZXSwire3, How can I build this version? mind to walk me through installing it? I cloned it but I couldn't build it at all. I contacted the person who submitted this pull request but he hasn't replied yet. is your notification fixed now? I'm on garuda linux with kde but it never worked since the very first time I installed it using appimage. Please help me installing it. BTW, have you tried SMserver by any chance. it's similar to this app but it looks like they use browser to connect instead. If you have used it previously, how was it compared to this app. which one do you like better? please let me know. In addition, I noticed the ip address to connect to tweak app in my iphone changes so every time that happens I have to try to resync between my laptop and iphone with renewed ip. Is there any way to use static one? do you have to change your ip address every now and then too? Thank you in advance. |
It's kind of complicated, I believe that some of the dependencies for this project has just disappeared. I think I still have the dependency that was removed so I can just upload it to github so that you're able to clone it and build it. Have you installed npm and yarn? If you have both of those then all you'll need is that missing dependency that I will upload when I get a chance. I'll reply to this message with the link to it when I upload it.
yes and no, if all you want is for a notification to pop up in your notification tray then yes, but if you want a sound notification then it won't work still.
I have tried it, I personally didn't like it as much as WebMessage, but it's really a personal choice. I didn't like that I had to have a browser open to use it and I just thought that WebMessage looked better. I think that SMServer might be a better choice over all because I think it has more features that WebMessage, but I have pretty much everything that I want from WebMessage so I personally won't be changing unless SMServer gets more updates. It seems like both are not actively in development so whichever gets more features sooner I'd probably use.
You can actually set a static ip on your router for that specific device that you are using as a host. I did this because I was also getting tired of having to reconnect the client with the host. |
Hey ZXSwire3, Thanks a lot for your quick reply. I would appreciate it very much if you can send me the link to your fixed version that includes these dependencies. Yes, I do have npm and yarn installed already. When I tried to build his original version, it just gave me following error: $ vue-cli-service electron:build As for SMserver, I couldn't connect to the address/port that I set to for some reason. Do you know if this app's notification works? In my case, it's the other way around. my sound notification is working but not KDE's popup notification. when you said pop up, did you mean a notificatoin with actual message preview? That's what I'm trying to get ideally. Right now, I can't even tell whether there is a new message or not. If I want to set a static ip on my router. I can just set it for this laptop but not the rest of devices at home? I've never done this before. Mind to kinda walk me through this? I would like to give it try. Thanks a lot for all the tips. :) |
What did you run? Have you tried using this one? https://github.com/shiv213/WebMessage
Did you have WebMessage daemon running at the same time on your device? I believe that when I was trying to set up one or the other, I would have to remove the tweak or at least disable it with something like iCleaner. I believe that the notifications would work for it since it's just runs in the browser, as long as your browser is able to send notifications.
I believe that it did show the actual message, but I only used it in xfce so I'm not sure how it will respond in kde. It for sure does show a pop up though.
You would want to set the device that is running the WebMessage tweak to have a static ip. It's different for every router so you would have to either look up how to do it on your router or just dig around in your router settings to find it. For example, on my router it's under |
Hi ZXSwire3, I'm so sorry for the late reply. There was a family emergency for the past few days. Thanks a lot for all the tips. Best |
What did you run? Have you tried using this one? https://github.com/shiv213/WebMessage yes, that is the version I tried to build but It failed. I would appreciate it very much if you can send me the link to your version that includes all the dependencies to build this. |
I tried smserver after removing tweak but it still doesn't connect to the address/port I set it to. |
"It's kind of complicated, I believe that some of the dependencies for this project has just disappeared. I think I still have the dependency that was removed so I can just upload it to github so that you're able to clone it and build it. Have you installed npm and yarn? If you have both of those then all you'll need is that missing dependency that I will upload when I get a chance. I'll reply to this message with the link to it when I upload it." Hey ZXSwire3, Would you mind sharing your version that includes those dependencies that you've mentioned above so I can try building it again? I would appreciate it very much if you can upload it here but if you don't have time you can just tell me which dependencies you had to add. Thank you in advance Best |
Hey @CSab6482, Were you able to fix this issue? Last time I tried that version, I got some dependencies related error. Were you able to build his code ok? I tried to follow up with @ZXSwire3 but he hasn't been replying to my last messages. It's pretty frustrating without notification. |
I'm so sorry, life got busy and I just forgot about it. I think I might have found the backup of it. This should be the correct one, I would test it but I don't currently have a linux machine anymore and it seems like Windows is just super messed up when it comes to building things. Let me know if it works, otherwise I might not be able to help out. |
Thank you for the files but how can I go about installing it? Also, is this same version as the following? #185 Last time I tried to build it myself, I ended up giving it up because it kept on giving me dependencies error. I'm not sure if I was doing something wrong but I just wanna make sure I do this correctly this time. P.S. BTW, I was able to try smserver as well as static address for tweak thanks to your tips. :) I liked how smserver's notification worked without extra configurations. However, smserver's notification only worked for me when it was in https mode but it was either not getting new messages or slow to update new messages in that mode. In http, everything worked perfect except for the notification. In addition, I didn't like how smserver app had to be kept open on my phone in order to keep the server running in the background (I'm sure there are some tricks to hide it) |
I can't remember to be sure, I'm pretty sure it is because I believe that I downloaded that version and just put the dependencies into it, but if you want to be safe then you can just clone that repo and then copy all the files from #185 and put them into the one that I provided. As for installing you just want to navigate to the folder in your terminal and then type |
Thanks a lot for the quick reply. I tried yarn serve but it gives me an error " ERROR TypeError: transpileDependencies.map is not a function". I'm not familiar with vue but brief googling says to update the vue to 5.0.0. Any idea what might be the cause of this? |
@ZXSwire3 |
I'm not too familiar with vue either, I think that I might have tried doing |
ok, I just got on that machine and I was able to build it, this one is for sure the correct one. Let me know if it works |
LOL, perfect timing. I was just replying to your previous email. thanks a lot! I'll keep you posted after trying this version. :) |
Yes!! Finally it's working! what did you do differently? so you don't remember where you got this version from? this is perfect!! makes me really wonder how you were able to build this in case this breaks again and I have to do it myself later. so it was just that one dependency that you had to add on your own? do you remember what it was called? only error I kept on getting was "TypeError: transpileDependencies.map is not a function". Anyways, thank you so much for all your help! :) |
I tried using the .AppImage file and installing it through snap, but both resulted in no notifications in general. Notifications would not appear in my system notifications at all, and worst of all I would not get a notification sound with either the default notification sound or with the custom sound.
The text was updated successfully, but these errors were encountered: