Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 24 Sep 2016, 23:52
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Monthly, term, etc., calendars for the New Year and beyond!
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [7 Posts]  
Author Message
musher0


Joined: 04 Jan 2009
Posts: 8572
Location: Gatineau (Qc), Canada

PostPosted: Fri 02 Jan 2015, 16:12    Post subject:  Monthly, term, etc., calendars for the New Year and beyond!
Subject description: A practical use of the "real" less, combined with urxvt and the date utility
 

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? Smile

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:
fc-cache -r

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

Enjoy! Smile 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.php?p=815558&sort=lastpost#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.
Calendar-scripts-1.0+2fonts.pet
Description  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.
pet

 Download 
Filename  Calendar-scripts-1.0+2fonts.pet 
Filesize  64.81 KB 
Downloaded  120 Time(s) 
year.jpg
 Description   
 Filesize   47.59 KB
 Viewed   275 Time(s)

year.jpg

month.jpg
 Description   
 Filesize   10.57 KB
 Viewed   277 Time(s)

month.jpg

semester(1).jpg
 Description   
 Filesize   27.59 KB
 Viewed   269 Time(s)

semester(1).jpg

trimester.jpg
 Description   
 Filesize   21.36 KB
 Viewed   274 Time(s)

trimester.jpg


_________________
musher0
~~~~~~~~~~
"The greatest of minds are the ones that never close." | "Les plus grands esprits sont ceux qui ne se ferment jamais."
(starhawk, Resident Philosopher | philosophe en résidence) Wink
Back to top
View user's profile Send private message Visit poster's website 
Pelo


Joined: 10 Sep 2011
Posts: 9397
Location: Mer méditerrannée (1 kms°)

PostPosted: Fri 02 Jan 2015, 21:28    Post subject: il ne faut pas multiplier les êtres logiques  

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

_________________
Sprinters choose Puppy Linux as mascot, always happy, always speedy.
Back to top
View user's profile Send private message Yahoo Messenger 
Pelo


Joined: 10 Sep 2011
Posts: 9397
Location: Mer méditerrannée (1 kms°)

PostPosted: Fri 03 Jun 2016, 14:51    Post subject: Prepare your calenders right now.  

Prepare your calenders right now. It's a long way to get it complete
Dint forget Pically, and my nice suscribers application
Pically.jpg
 Description   Calendrier easy, calendrier free but pretty
 Filesize   90.41 KB
 Viewed   16 Time(s)

Pically.jpg


_________________
Sprinters choose Puppy Linux as mascot, always happy, always speedy.

Last edited by Pelo on Fri 24 Jun 2016, 10:39; edited 1 time in total
Back to top
View user's profile Send private message Yahoo Messenger 
musher0


Joined: 04 Jan 2009
Posts: 8572
Location: Gatineau (Qc), Canada

PostPosted: Fri 03 Jun 2016, 15:20    Post subject:  

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
~~~~~~~~~~
"The greatest of minds are the ones that never close." | "Les plus grands esprits sont ceux qui ne se ferment jamais."
(starhawk, Resident Philosopher | philosophe en résidence) Wink
Back to top
View user's profile Send private message Visit poster's website 
Pelo


Joined: 10 Sep 2011
Posts: 9397
Location: Mer méditerrannée (1 kms°)

PostPosted: Fri 03 Jun 2016, 21:19    Post subject: . it was kind of me to get it up in the forum  

Very Happy 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 Smile
Topics without answer get the writer sad..
Don't shot the pianist Exclamation

_________________
Sprinters choose Puppy Linux as mascot, always happy, always speedy.
Back to top
View user's profile Send private message Yahoo Messenger 
musher0


Joined: 04 Jan 2009
Posts: 8572
Location: Gatineau (Qc), Canada

PostPosted: Fri 03 Jun 2016, 21:44    Post subject:  

Who should I shoot, then? The composer? Twisted Evil
_________________
musher0
~~~~~~~~~~
"The greatest of minds are the ones that never close." | "Les plus grands esprits sont ceux qui ne se ferment jamais."
(starhawk, Resident Philosopher | philosophe en résidence) Wink
Back to top
View user's profile Send private message Visit poster's website 
Pelo


Joined: 10 Sep 2011
Posts: 9397
Location: Mer méditerrannée (1 kms°)

PostPosted: Fri 03 Jun 2016, 22:14    Post subject: I don't know, but don't shoot Pelo,  

I don't know, but don't shoot Pelo, you training partner, in french, in english, perhaps in spanish Exclamation as the composer has gone away once again.
_________________
Sprinters choose Puppy Linux as mascot, always happy, always speedy.
Back to top
View user's profile Send private message Yahoo Messenger 
Display posts from previous:   Sort by:   
Page 1 of 1 [7 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0376s ][ Queries: 12 (0.0049s) ][ GZIP on ]