It is currently Sun Aug 20, 2017 11:07 pm



Welcome
Welcome to antiX-forum.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!


Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: bind gsimplecal to clock click?
PostPosted: Wed Jan 16, 2013 3:41 pm 
Offline

Joined: Wed Sep 12, 2007 4:55 pm
Posts: 446
I found a simple calendar that fits antiX very well named 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


Top
 Profile  
 
 Post subject: Re: bind gsimplecal to clock click?
PostPosted: Wed Jan 16, 2013 10:55 pm 
Offline
User avatar

Joined: Mon Jun 02, 2008 4:31 pm
Posts: 596
Location: shadows
go to ~/.icewm/preferences and add
Code:
ClockCommand gsimplecal

double click on the clock to show the calendar.

_________________
the man in black


Top
 Profile  
 
 Post subject: Re: bind gsimplecal to clock click?
PostPosted: Wed Jan 16, 2013 11:57 pm 
Offline

Joined: Wed Sep 12, 2007 4:55 pm
Posts: 446
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


Top
 Profile  
 
 Post subject: Re: bind gsimplecal to clock click?
PostPosted: Thu Jan 17, 2013 12:21 am 
Offline
User avatar

Joined: Mon Jun 02, 2008 4:31 pm
Posts: 596
Location: shadows
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.

_________________
the man in black


Top
 Profile  
 
 Post subject: Re: bind gsimplecal to clock click?
PostPosted: Fri Dec 04, 2015 2:59 am 
Offline

Joined: Tue Mar 04, 2014 8:37 pm
Posts: 177
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!!


Top
 Profile  
 
 Post subject: Re: bind gsimplecal to clock click?
PostPosted: Tue Dec 08, 2015 5:18 am 
Offline

Joined: Sat Aug 17, 2013 12:37 am
Posts: 72
Location: Rochester New York USA
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 


Who is online

Users browsing this forum: No registered users and 0 guests


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 post attachments in this forum

Search for:
Jump to:  
suspicion-preferred