Linux Lite Forums
How can I get Remind to generate a Notify-send popup at startup? - Printable Version

+- Linux Lite Forums (https://www.freecinema2022.gq/forums)
+-- Forum: Software - Support (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=5)
+--- Forum: Other (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=20)
+--- Thread: How can I get Remind to generate a Notify-send popup at startup? (/showthread.php?tid=384)



How can I get Remind to generate a Notify-send popup at startup? - linuxlite99 - 06-03-2014

How can I get remind to generate a notify-send popup at startup?


Re: How can I get Remind to generate a Notify-send popup at startup? - Valtam - 06-03-2014

Open a terminal and do:

Code:
leafpad /home/user/.config/reminder.sh

replace user with your username.

add the following to the file:

Code:
#!/bin/bash
sleep 3
echo "This is my reminder" | xargs -0 notify-send

save and close the file.
Then in the same terminal do:

Code:
chmod +x /home/user/.config/reminder.sh

replace user with your username.
Then do Menu, Settings, Session and Startup, Application Autostart tab.
Click on +Add in Name and Description put My Reminder in Command put:

Code:
sh /home/user/.config/reminder.sh

click Ok, then Close.


Re: How can I get Remind to generate a Notify-send popup at startup? - linuxlite99 - 06-04-2014

I actually meant the Remind calendar program. I would like it to popup all my reminders for the day at startup. I know it can do time reminders with gxmessage as follows: remind -z -k'gxmessage -title "reminder" %s &' ~/.reminders &. But I would like to use notify-send instead of gxmessage.