Monthly, term, etc., calendars for the New Year and beyond!

Miscellaneous tools
Post Reply
Message
Author
musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

Monthly, term, etc., calendars for the New Year and beyond!

#1 Post by musher0 »

Hello, all.

One of the useful ways to use the less utility and the GNU utilities that come with
your Puppy is to create calendars. Combining various GNU utilties with the decoration
capacity of urxvt, one can make helpful programs which take little space in memory
and are pleasing enough to look at.

Attached are calendar scripts for the current month, the current term
(or quarter, or trimester, whatever you usually call it), both semesters of a
year, as well as scripts to bring up on screen calendars of the previous, current
and next years
.

You call the year script with the additional parameter "-" to view the calendar of the
last year, and with "+" to view the calendar of the next year. With no parameter,
the calendar of the current year pops up.

The semester script automatically detects which semester it is.

The trimester one works fine now. But it might still need some testing, relative to
the roll-around of the three months from November of one year until January of the
next, and similarly for December. I programmed it in the abstract, I think it'll work,
but if you have input on this when those months arrive, I'll be grateful.

As to the monthly calendar, it was designed for quick viewing from an aewm and/or
pekwm menu, so it closes automatically after 10 seconds. No input is needed. it'll
quit on its own, while the other calendars require you to press the 'q' key.

The monthly and yearly calendars are transparent, the other two are not. I didn't
standardize the coloring -- is it necessary? Feedback on colors, anyone? :)

Four icons are included in the attached *.pet archive, if you need them.

Also two fixed-space TTF fonts. In a console, please type

Code: Select all

fc-cache -r
to "really" integrate them in your default font set before you use these scripts.

Enjoy! :) And Happy New Year to all!

BFN.

musher0
~~~~~~~~~~
P.S. 1 -- To run the above bash scripts you'll need the *.pet archive of the latest
less (v. 470), available at
http://murga-linux.com/puppy/viewtopic. ... ost#815558

P.S. 2 -- I have built in a translation capacity in those scripts. For now, the scripts
react only to LANG="fr_XY.UTF8" and LANG="en_XY.UTF8" environments. Non-
Anglophone or multilingual Puppy programmers / scripters are of course welcome to
adapt for their language the language variables and strings in these scripts.
Attachments
Calendar-scripts-1.0+2fonts.pet
Fixed-space fonts "Monaco" and "Proc2" are included. Be careful NOT to use
proportional fonts if you change the font on the urxvt line or in the $FNT variable.
(64.81 KiB) Downloaded 224 times
year.jpg
(47.59 KiB) Downloaded 359 times
month.jpg
(10.57 KiB) Downloaded 362 times
semester(1).jpg
(27.59 KiB) Downloaded 357 times
trimester.jpg
(21.36 KiB) Downloaded 355 times
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

Pelo

il ne faut pas multiplier les êtres logiques

#2 Post by Pelo »

il ne faut pas multiplier les êtres logiques ! voir OSMO
ah on n'aime pas suscribers, Monsieur Musher0, c'est la guerre !

Pelo

Prepare your calenders right now.

#3 Post by Pelo »

Prepare your calenders right now. It's a long way to get it complete
Dint forget Pically, and my nice suscribers application
Attachments
Pically.jpg
Calendrier easy, calendrier free but pretty
(90.41 KiB) Downloaded 89 times
Last edited by Pelo on Fri 24 Jun 2016, 14:39, edited 1 time in total.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#4 Post by musher0 »

Pelo, you're off topic.

You're squatting my thread. Why don't you start your own calendar thread instead of
polluting this one?

You're getting on my nerves! /

[Traduction : ]
Pelo, t'es hors sujet.

T'occupes illégalement mon fil de discussion. Pourquoi ne crées-tu pas ton propre fil
de calendrier au lieu de polluer celui-ci ?

I' m.'énerve, i' m'énerve !
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

Pelo

. it was kind of me to get it up in the forum

#5 Post by Pelo »

:D the topic was sleeping... it was kind of me to get it up in the forum, like Jajuk. Don't mis understand my action.
Sure, if the discussion remains between you and me, as often, it's not very productive. However keep your bonne humeur, Muuusher :)
Topics without answer get the writer sad..
Don't shot the pianist :!:

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#6 Post by musher0 »

Who should I shoot, then? The composer? :twisted:
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

Pelo

I don't know, but don't shoot Pelo,

#7 Post by Pelo »

I don't know, but don't shoot Pelo, you training partner, in french, in english, perhaps in spanish :!: as the composer has gone away once again.

Pelo

Mozilla Sunbird Calendar works fine in Puppy

#8 Post by Pelo »

Sunbird
Like I said, this probably isn't the right way to do it but it works. I am using Puppy 1.0.3 from CD and Sunbird is in /root so its always there.
2005, 2017 on canadian Slacko Patriot OS.
Attachments
sunbird.jpg
And looks nice.
(59.97 KiB) Downloaded 72 times

Post Reply