You are not logged in.
Hello Sector11...
You may remember a couple of years ago we were able to "fix" the calendar reminders to give the correct display in conky.
You probably also noticed that some months (like this one - May) still had a problem.
I have now found a fix for this using cal instead of ncal. The only difference is that weeks start on a Sunday instead of a Monday but I can live with that!
In the remind-cal.sh script change
ncal -3$m -bh | awk -v DAYS=${dates} '{
to
cal -B1A1 | awk -v DAYS=${dates} '{
I have only just discovered this so don't have a full years display but at least either one or the other will work.
Kino
Offline
The only difference is that weeks start on a Sunday instead of a Monday
Try:
LC_TIME=en_GB.UTF-8 ncal
EDIT: Actually, you're from Stockport (hello neighbourino!) so en_GB.UTF-8 should already be set
Check the output of:
echo $LC_TIME
If it isn't set properly, use:
sudo dpkg-reconfigure locales
Last edited by Head_on_a_Stick (2016-05-13 16:40:23)
Offline
Hi! - I'm actually just 3 miles south - in Hazel Grove.
echo $LC_TIME
produces no output...
Apparently, the thing with cal (not ncal) starting week on Sunday is a known bug and I can live with that.
But, I've only just noticed there is still a slight problem with the calendar display - I was more intent on just checking the general appearance. So there may still be a tweak required.
Offline
Now fixed (I hope)
The problem was that cal was highlighting the current day and this affected the display.
This can be corrected by using the following code in remind-cal.sh
cal -h -B1A1 | awk -v DAYS=${dates} '{
Offline