1 .TH GSIMPLECAL 1 "2012\-03\-26"
3 gsimplecal \- lightweight calendar applet
7 .B gsimplecal [\-h|\-\-help|\-v|\-\-version|next_month|prev_month]
11 This manual page documents the usage of the
17 is a lightweight calendar applet. When it is started, it first shows up, when
18 you run it again, it closes the running instance. It was intentionally made for
19 use with tint2 panel to be launched upon clock click, but of course it will
20 work without it, you can bind it to some hotkey in you window manager, for
24 Also, you may configure gsimplecal to display different world timezones clocks.
25 See the \fICONFIGURATION\fP section to get to know how to.
28 .SH COMMANDS AND OPTIONS
30 \fB\-v, \-\-version\fP
31 Print the program name and version to stdout, then exit with code 0.
35 Print the short usage help to stderr, then exit with error code 2.
38 \fBprev_month, next_month\fP
39 If the program is not running, simply run it.
40 If the program is running, change currently displayed month.
43 If no options and commands are given, the program is toggled, i.e. if it is
44 running it stops, otherwise it starts.
49 To configure the application you should manually create the file
51 \fB$XDG_CONFIG_HOME/gsimplecal/config\fP
54 ~/.config/gsimplecal/config)
55 with contents like this:
68 external_viewer = sunbird \-showdate "%Y\-%m\-%d"
70 clock_format = %a %d %b %H:%M
72 mainwindow_decorated = 0
74 mainwindow_keep_above = 1
78 mainwindow_skip_taskbar = 1
80 mainwindow_resizable = 0
82 mainwindow_position = none
84 mainwindow_xoffset = 0
86 mainwindow_yoffset = 0
97 The options are pretty self explanatory, but here is detailed description:
100 \fBshow_calendar\fP: 1 or 0, defaults to 1.
101 Sets whether the calendar should be shown. Most users want this option to be 1.
104 \fBshow_timezones\fP: 1 or 0, defaults to 0.
105 Sets whether the different timezone clocks should be shown.
108 \fBmark_today\fP: 1 or 0, defaults to 1.
109 Sets whether today's date will be marked in the calendar (besides the default
110 selection, i.e. when you click on the other day, today will remain marked
111 somehow, e.g. in bold print).
114 \fBshow_week_numbers\fP: 1 or 0, defaults to 0.
115 Sets whether week numbers are shown in the calendar.
118 \fBclose_on_unfocus\fP: 1 or 0, defaults to 0.
119 Sets whether the calendar will close if the window loses focus. Note that if
120 mainwindow_skip_taskbar is set to 1 then the calendar window may not be given
124 \fBexternal_viewer\fP: string, defaults to empty string.
125 Command line to run when doubleclicking a date. This string is strftime'd
126 (see \fIman strftime\fP for the possible substitutions)
127 and passed to the shell. Thus you can use pipes, redirections, and whatever,
130 Currently the shell is hardcoded to
133 though. I hope that will do for all the users, but if you've got a trouble,
134 please file a ticket (see \fIREPORTING BUGS\fP).
137 \fBclock_format\fP: string
138 Sets the clocks format. Look \fIman strftime\fP for the possible formats.
141 \fBmainwindow_decorated\fP: 1 or 0, defaults to 0.
142 Tells your window manager to decorate or not to decorate the main window.
145 \fBmainwindow_keep_above\fP: 1 or 0, defaults to 1.
146 Sets whether the main window should be placed on top of other windows by your
150 \fBmainwindow_sticky\fP: 1 or 0, defaults to 0.
151 Tells your window manager to show gsimplecal on all desktops.
154 \fBmainwindow_skip_taskbar\fP: 1 or 0, defaults to 1.
155 Sets whether the main window should be shown in the task list by your panel or
159 \fBmainwindow_resizable\fP: 1 or 0, defaults to 1.
160 Sets whether your window manager should allow the main window to be resized.
161 If you are using a tiling window manager which supports floating windows,
162 setting this options to 0 will most likely tell your WM not to tile the window.
163 (Tested with XMonad and Awesome).
166 \fBmainwindow_position\fP: mouse|center|none, defaults to mouse.
167 Tells your window manager where to place the gsimplecal window:
171 close to the mouse cursor position (this one is useful when you bind gsimplecal
172 on some mouse click command);
176 in the center of the screen;
180 it's up to your window manager to decide, where to place the window
181 (this one is useful when you bind gsimplecal invocation on some hotkey, so you
182 can configure your window manager to place gsimplecal in some predefined
186 \fBmainwindow_xoffset\fP and \fBmainwindow_yoffset\fP: integer, default to 0.
187 Allow for main window position fine tuning. Throw an integer at these, and
188 it'll move the window by that number of pixels.
191 \fBclock_label\fP and \fBclock_tz\fP: string
192 These two options should go in pairs and \fBmust\fP be in the order given.
194 Each pair creates new clock. The clock_label variable sets the string to be
195 displayed near the clock, the clock_tz sets the timezone.
197 If you omit the value for clock_tz, local time will be shown.
199 For a list of timezones see \fIman timezone\fP, or \fIls /usr/share/zoneinfo\fP
202 .SH KEYBOARD ACCELERATORS
204 You may use the following keyboard accelerators while gsimplecal window has a focus:
207 Escape, Ctrl+w, Ctrl+q: close the window
209 j: switch to the next month
211 k: switch to the previous month
213 J: jump one year forward
215 K: jump one year backward
217 g, Home: jump to the current date
220 These are not yet configurable, but I'm working on it.
225 Please, report any issues to the gsimplecal issue tracker, available at:
227 https://github.com/dmedvinsky/gsimplecal/issues
231 Created by Dmitry Medvinsky et al.