Add Events in your Default Calendar
===================================
Open Terminal
Type sudo nautilus
Enter Password of Administrator
Now Open /usr/share/calendar
Now Open Text Editor like gedit
Now Create a new file call calendar.personal
Now Add Data in this file look like.....
Code Starting
-------------
/*
* Personal
*
* $FreeBSD: src/usr.bin/calendar/calendars/calendar.personal,v 1.0 2009/15/02 15:45:20 grog Exp $
*/
#ifndef _calendar_personal_
#define _calendar_personal_
LANG=utf-8
01/22 Jiten R Shah born, 1993
09/05 Mitesh R Shah born, 1986
#endif /* !_calendar_personal_ */
Code End
--------
Now save this file at /usr/share/calendar
Now open another file calendar.all [This file are used to tell calendar command there are one new file call calendar.personal]
Now edit clendar.all file in Text Editor like gedit
After Edit File look like.....
/*
* International and national calendar files
*
* This is the calendar master file. In the standard setup, it is
* included by /etc/calendar/default, so you can make any system-wide
* changes there and they will be kept when you upgrade. If you want
* to edit this file, copy it into /etc/calendar/calendar.all and
* edit it there.
*
* $FreeBSD: src/usr.bin/calendar/calendars/calendar.all,v 1.8 2002/11/19 00:29:36 grog Exp $
*/
#ifndef _calendar_all_
#define _calendar_all_
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#endif /* !_calendar_all_ */
Add Help For New Events
=======================
Open Terminal
Type sudo nautilus
Enter Password of Administrator
Now Open /usr/share/man/man1
Now Cut calendar.1.gz Archive & Paste it in your Desktop
Now Extract calendar.1.gz Archive to your Desktop
Now Open calendar.1 file in Text Editor like gedit
Now find following lines in calendar.1 file
.Sh FILES
.Bl -tag -width ~/.calendar/calendar -compact
.It Pa calendar
file to read calendar data from
.It Pa ~/.calendar
directory in the user's home directory (which
.Nm
changes into if
.Pa calendar
does not exist in the current directory)
.It Pa ~/.calendar/calendar
file to use if no calendar file exists in the current directory
.It Pa ~/.calendar/nomail
.Nm
will not send mail if this file exists
.It Pa calendar.birthday
births and deaths of famous (and not-so-famous) people
.It Pa calendar.christian
Christian holidays (should be updated yearly by the local system administrator
so that roving holidays are set correctly for the current year)
.It Pa calendar.computer
days of special significance to computer people
.It Pa calendar.fictional
Fantasy and Fiction dates (mostly LOTR)
.It Pa calendar.history
everything else, mostly U.S. historical events
.It Pa calendar.holiday
other holidays (including the not-well-known, obscure, and
.Em really
obscure)
.It Pa calendar.judaic
Jewish holidays (should be updated yearly by the local system administrator
so that roving holidays are set correctly for the current year)
.It Pa calendar.music
musical events, births, and deaths (strongly oriented toward rock n' roll)
.It Pa calendar.openbsd
.Ox
related events
.It Pa calendar.pagan
Pagan holidays, celebrations and festivals
.It Pa calendar.usholiday
U.S. holidays
.It Pa calendar.world
World wide calendar
.It Pa calendar.croatian
Croatian calendar
.It Pa calendar.german
German calendar
.It Pa calendar.russian
Russian calendar
.El
.Sh SEE ALSO
.Xr at 1 ,
.Xr cal 1 ,
.Xr cpp 1 ,
.Xr mail 1 ,
.Xr cron 8
After finding this line Add two more lines after calendar.russsian look like.....
.It Pa calendar.russian
Russian calendar
.It Pa calendar.personal
My Personal calendar
Now Save the file calendar.1
Now Create Archive calendar.1.gz
Now Cut & Paste calendar.1.gz Archive in /usr/share/man/man1 location.
Enjoy.....


0 comments