Posts: 452
Jerry
Joined: 12 Sep 2007
#1
I found a simple calendar that fits antiX very well named
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://code.google.com/p/gsimplecal/"
linktext was:"gsimplecal"
====================================
. It only displays a small calendar, which is perfect for me since I use Google for PIM stuff on all devices.

I see how to bind it to a hotkey, but would like to bind it to a click on the clock, the most common method I have found in DMs for bringing up a calendar and one that is easy to remember.

Is there a way to do this myself, or does it require someone with actual coding knowledge?! TIA
Posts: 609
dark-D
Joined: 02 Jun 2008
#2
go to ~/.icewm/preferences and add

Code: Select all

ClockCommand gsimplecal
double click on the clock to show the calendar.
Posts: 452
Jerry
Joined: 12 Sep 2007
#3
Thanks, but I am running antiX-base (should have mentioned that...) and icewm is nowhere to be seen.

But now I am going to see if I can get that somewhere in .fluxbox

Later
Posts: 609
dark-D
Joined: 02 Jun 2008
#4
from what i know fluxbox doesn't have the option to open a program from the clock. you can replace the fluxbox toolbar with tint2 and then it will work, because gsimplecal was made by the tint2 developer.
rmcellig
Posts: 177
rmcellig
Joined: 04 Mar 2014
#5
This worked for me in icewm preferences file:

TaskBarShowClock=1
TaskBarClockLeds=0
ClockCommand="gsimplecal"
TimeFormat="%T"
DateFormat="%c"

It's the ClockCommand line. Works great!!
Posts: 72
cwilliams
Joined: 16 Aug 2013
#6
Thanks rmcellig , that worked perfect.
gsimplecal was just what I was looking for and 1 left click on the clock did it in icewm"preferences".
Very nice , thanks.
Colin