-
Notifications
You must be signed in to change notification settings - Fork 79
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
No sounds or notifications/alerts in Windows #75
Comments
Just as an update, I followed this post about getting native notifications on Windows for agenda events as an attempt, but didn't work either. However sounds DO work after installing |
To get notifications working in Windows, I have the following bits under a windows conditional: (setq alert-default-style 'toaster)
(setq alert-toaster-command (expand-file-name "~/build/toaster/toast/bin/Release/toast.exe"))
(setq alert-toaster-default-icon (expand-file-name "~/opt/emacs-26.2-x86_64/share/icons/hicolor/128x128/apps/emacs.png"))
|
This is likely related to issue #47 in the Until that's working again, here's a workaround.
(defun org-pomodoro-notify (title message)
"Temporary replacement for function of the same name which uses
the buggy alert.el package. TITLE is the title of the MESSAGE."
(let*
((toast "toast")
(t-title (concat " -t \"" title))
(t-message (concat "\" -m \"" message "\""))
(t-image (concat " -p \"C:\\Program Files\\emacs\\share\\icons\\hicolor\\128x128\\apps\\emacs.png\""))
(my-command (concat toast t-title t-message t-image)))
(call-process-shell-command my-command))) This will replace the function of the same name provided in toast -t "My Title" -m "My Message!" -p "C:\\Program Files\\emacs\\share\\icons\\hicolor\\128x128\\apps\\emacs.png" |
Hi,
First of all, sorry if this question is too basic, but I'm quite a beginner with Emacs/Org Mode and can't figure it out.
I'm using Windows (10) and have set almost all org-pomodoro sound-related variables to 'on', and checked that paths to sound files are all good. I even tried setting
wmplayer
as "Audio player" as suggested in #41, but can't make sounds play in Windows.Also, I don't get any alerts/notifications...
Could you please point me in some direction to get this to work?
Thanks in advance!
The text was updated successfully, but these errors were encountered: