wakeup for 16.10

Asked by James F Brown

I just upgraded to Ubuntu 16.10 and lost wakeup. I use it to tell me when to take my medicine and really would like to know IF and WHEN wakeup will be available for 16.10.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu wakeup Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

https://launchpad.net/ubuntu/+source/wakeup/+changelog

It depends on shell-fm which is removed also.

You could use Gnome-schedule and make it run a command to run notify-bin. Gnome-schedule is a GUI to cron. This will make a notification show and will remind you of whatever you need.

Revision history for this message
James F Brown (jamesfbrown) said :
#2

Could not get 16.10 to install anything connected to Gnome schedule. Just kept trying and then just quit. Rebooted and tried again and still nothing.
This is what I get when I try to install schedule with terminal:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package gnome-schedule

And nothing else.
I guess I just don't know what I am doing. I'm new at Linux and don't have any programming. AND I'm almost 74 years old. Just would like to have announcements that remind me to take my medicine which I had with wakeup.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

If you run:

sudo apt-get install libnotify-bin

Then we can test with:

notify-send "test"

Do you get a notification OK? We can then schedule this sort of thing.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4
Revision history for this message
James F Brown (jamesfbrown) said :
#5

I got the notification when I sent: notify-send "test" but it was just the word test that came up in the top right corner of screen with no sound or anything.

As for the program Indicator Remindor, when I clicked on the link, "available at the software center," I got the notice that the package indicator remindor was not found.

So if I use the notifysend how do I get it to sound an alert so if I'm not sitting looking at the screen, I'll hear it?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6

We could write a script to play an audio file then show the notification. When do you want the notification to occur?

Revision history for this message
James F Brown (jamesfbrown) said :
#7

Time to take your pain pills. to occur at noon and midnight everyday.

Revision history for this message
James F Brown (jamesfbrown) said :
#8

I can make the recording . Just need to know how to make the computer run it when needed.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#9

If you run:

sudo gedit /usr/bin/medsreminder
sudo chmod +x /usr/bin/medsreminder

Add these 3 lines:

#!/bin/bash
aplay /path/to/audiofile.ogg &
notify-send "Time to take your meds"

Save the new file (edit the audio file name obviously) and close gedit.

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#10

If you then run:

crontab -e

(select nano as the editor if offered) then add the below line in the file which opens:

* 0,12 * * * /usr/bin/medsreminder &

Press CTRL + X, Press Y to save and then press ENTER. It will now run the command at noon and midnight

Revision history for this message
James F Brown (jamesfbrown) said :
#11

Thanks actionparsnip, that solved my question.

Revision history for this message
James F Brown (jamesfbrown) said :
#12

THANK YOU FOR YOUR TIME!!!

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#13

No problem. If you add more to the script it will run as well, or you can add more schedules to the crontab.