Re: desktop notifications (Re: idea for capture anywhere in x)

2022-10-29 Thread Ihor Radchenko
Samuel Wales writes: > perhaps some fuction in org-capture-before-finalize-hook could raise > emacs for a tiny period of time or something, in the case that it is > invoked when emacs is not visible. if so, and idk if poss, i would > have to try it to find out if it wfm. > > then i wouldn't hafe

Re: desktop notifications (Re: idea for capture anywhere in x)

2022-10-29 Thread Samuel Wales
i am lost in a sea of partial solutions and hints that myb rain cannot process at this time, despite their straightforwardness. i do like the idea of having confidence that a capture worked thgouh very much. perhaps some fuction in org-capture-before-finalize-hook could raise emacs for a tiny per

desktop notifications (Re: idea for capture anywhere in x)

2022-10-29 Thread Max Nikulin
On 29/10/2022 11:59, Ihor Radchenko wrote: Functions in org-capture-before-finalize-hook have access to the contents of the capture buffer text. So, one can call `start-process' to run notify-send shell command and put the actual captured text into the notification (displayed briefly or for long

Re: desktop notifications (Re: idea for capture anywhere in x)

2022-10-26 Thread Max Nikulin
On 26/10/2022 15:07, Samuel Wales wrote: can dunst go away after a short period? I have never tried it. Unsure if it has enough configuration options. Does it mean that you get notification displayed? Have you tried? notify-send --expire-time 2000 ... i launch dbus manually as fluxbox

Re: desktop notifications (Re: idea for capture anywhere in x)

2022-10-26 Thread Samuel Wales
i called notify-send from the cli in emacs shell mode running bash, with emacs maximized as most of my apps are. in fluxbox terminology at least, maximized means takes up the whole screen. fullscreen would mean occupies the top. no text result and no gui result from notify-send. can dunst go aw

Re: desktop notifications (Re: idea for capture anywhere in x)

2022-10-26 Thread Max Nikulin
On 26/10/2022 13:22, Samuel Wales wrote: i have the daemon and the binary but notify-send "summary" "text" seems to do nothing obvious. called from shell mode. my emacs is maximized. so is firefox. Does notify-send complain (with some delay) concerning timeout during attempt to connect to d

Re: desktop notifications (Re: idea for capture anywhere in x)

2022-10-25 Thread Samuel Wales
i have the daemon and the binary but notify-send "summary" "text" seems to do nothing obvious. called from shell mode. my emacs is maximized. so is firefox. On 10/25/22, Max Nikulin wrote: > On 26/10/2022 12:05, Samuel Wales wrote: >> >>> You may hook notifications-notify to org-capture-after-

desktop notifications (Re: idea for capture anywhere in x)

2022-10-25 Thread Max Nikulin
On 26/10/2022 12:05, Samuel Wales wrote: You may hook notifications-notify to org-capture-after-finalize-hook to see notification when the capture is successful. sounds like it could be reassuring if it is not obtrusive. Try the following command to get impression notify-send "summary"