calcurse
calcurse copied to clipboard
[Feature Request] - Add support for multiple calendars
This software is great and CalDAV works nice so far, but what I am really missing, which is keeping me from using calcurse, is the lack of support for multiple calendars.
It would be amazing, if someone could add a feature to keep multiple calendars – ideally with CalDAV support.
You can already use (and synchronize) calcurse with multiple calendars, as see #14 and #59. The only thing that does not work is displaying multiple calendars within a running calcurse instance at the same time.
Thanks for your reply!
What I meant was that there is no support to view multiple calendars at once, as you already noted. I saw that I could create multiple instances of calcurse with different configuration directories, but that is not the same, unfortunately.
Ok, leaving this open... For the next release, our main priority is making major improvements to the synchronization script. So this might be a good candidate for 4.5.0...
I think this is a very important feature because it will enable dav and vdir features to be more consistent.
Is this still planned ? @lfos
Is this still planned ? @lfos
Yes.
I think the ability to display several calendar (with different colors) on the same calcurse instance is very important. Most people have at least a calendar for work and another for personal stuff.
I think the ability to display several calendar (with different colors) on the same calcurse instance is very important. Most people have at least a calendar for work and another for personal stuff.
I totally agree. However, this is also nontrivial to implement. Patches are welcome!
As discussed in a related thread on the mailing list, a first step in this direction would be adding support for additional read-and-edit-only calendars. You can specify one main data file. Any new items will be added to this main calendar file. Other items can be edited.
In a second phase, we can add support for switching the main calendar in a running instance (or, alternatively, always ask for the calendar to use when adding items).
I think the ability to display several calendar (with different colors) on the same calcurse instance is very important. Most people have at least a calendar for work and another for personal stuff.
I totally agree. However, this is also nontrivial to implement. Patches are welcome!
Of course, I always easier to ask than to implement. I just discovered calcurse and it is wonderful so far! Keep up the good work.
I would like to add my +1 to this, as it's the only feature missing keeping me from using calcurse as my main calendar software. I would even be satisfied with running multiple instances. That even sounded better and more organized, because I would have a calcurse instance per calendar, meaning I could theme each one differently to make it more clear what calendar I was working in. I was going to do that and dedicate a workspace to my calendars, but it seems one cannot run multiple instances at the same time, so that's a pain. Is this the case, or am I missing something? When I try to run another instance, I get an error.
Anyway, I don't mean to complain. I really appreciate the work that went into this. It's a fantastic piece of software that I wish I could use as my daily driver. I'll be studying the source and seeing if I can contribute to this feature somehow.
... but it seems one cannot run multiple instances at the same time, so that's a pain. Is this the case, or am I missing something?
You are. See the -D
option in the man page.
Dang. I swear I read through the man page. I remember reading that, but it wasn't clear to me that would solve this issue. I'll give it a shot. Thank you!
With help from above, I've done the following:
calcurse-caldav --init=keep-remote --config=$HOME/.calcurse-work/caldav/config --syncdb=$HOME/.calcurse-work/caldav/sync.db
calcurse -C .calcurse-work -D .calcurse-work
calcurse runs fine, which is great. However, it doesn't seem to be readying from syncdb at all. Is there another option I'm missing? Nothing jumps out at me from the man page.
For anyone wondering later, you have to also pass datadir
to calcurse-caldav, like so:
calcurse-caldav --init=keep-remote --config=$HOME/.calcurse-work/caldav/config --syncdb=$HOME/.calcurse-work/caldav/sync.db --datadir=$HOME/.calcurse-work
@jbh could you describe how your final workflow looks like and how it works?
@ovgeorge I haven't used it in a very long time, because I just kinda stopped using calendars altogether.
I think my dotfiles repo has references to my workflow. Take a look at dmenu_calcurse.
I'll try to take a look over them this weekend to see if I can remember anything in particular.