I have done some more careful testing of this patch, and it actually fixes the problem incorrectly. If you keep this patch, it will actually allow you to set alarms, but set them incorrectly. I am deleting this old patch from the thread and adding a new one, which fixes the problem correctly (this one I have tested quite thoroughly). To fix the bug properly, follow these steps:
1. First undo the bad patch supplied previously (now deleted from this thread):
$ sudo patch -R /usr/bin/setalarm setalarm.diff
2. Apply the new patch:
$ sudo patch /usr/share/wakeup/setnextalarm.py setnextalarm.patch
Note that the new patch fixes a different file than the old one!
I have done some more careful testing of this patch, and it actually fixes the problem incorrectly. If you keep this patch, it will actually allow you to set alarms, but set them incorrectly. I am deleting this old patch from the thread and adding a new one, which fixes the problem correctly (this one I have tested quite thoroughly). To fix the bug properly, follow these steps:
1. First undo the bad patch supplied previously (now deleted from this thread): wakeup/ setnextalarm. py setnextalarm.patch
$ sudo patch -R /usr/bin/setalarm setalarm.diff
2. Apply the new patch:
$ sudo patch /usr/share/
Note that the new patch fixes a different file than the old one!