calcurse icon indicating copy to clipboard operation
calcurse copied to clipboard

Files `apts`, `conf` for calcurse installed with homebrew or MacPorts: not where documentation says they are (MacOS)

Open bjce opened this issue 3 years ago • 1 comments

First of all thank you very much to the developpers and maintainers of Calcurse which is a great piece of software

I installed version calcurse version 4.7.1 via homebrew

I cannot find where the todo and apts files are located, despite to what is written in the documentation which says that they are there:

$HOME/.calcurse/
          |___apts
          |___conf
          |___hooks/
          |___keys
          |___notes/
          |___todo

On my machine, however they are no such structure. Similar files have been installed there:

$HOME/.config/calcurse/
                ├── conf
                ├── hooks/
                └── keys

There are 2 main differences with respect to the documentation:

  • There is no $HOME/.calcurse/$ directory
  • In $HOME/.config/calcurse/: the files conf and keys are present but todo and apts are absent (at least not there)

The other location where brew installed things is in /usr/local/Cellar/calcurse/4.7.1. But there I could not find the files neither

I finally the found the location of those 3 missing items (apts, notes/, todo), which are in another location as the three first items (conf, hooks/ keys):

$HOME/.local/share/calcurse
                     ├── apts
                     ├── notes/
                     └── todo

I also tried to install it viw a MacPorts which resulted in exactly the same outcome:

I uninstalled the app with brew uninstal calcurse, removed manually $HOME/.config/calcurse/ and $HOME/.local/share/calcurse downloaded the port calcurse-4.7.1.tar.gz and installed with

$ tar -xzf calcurse-4.7.1.tar.gz
$ cd calcurse-4.7.1
$ ./configure && make && sudo make install

and got exactly installed files location. So, on my machine: whether I used homebrew or a Macport, the location of the file does not correspond to the location in the documentation.

To sum up, here are the paths of the 6 items

$HOME/.config/calcurse/
                ├── conf
                ├── hooks/
                └── keys
$HOME/.local/share/calcurse
                     ├── apts
                     ├── notes/
                     └── todo

Many thanks in advance!

bjce avatar Jul 10 '21 13:07 bjce

I cannot find where the todo and apts files are located, despite to what is written in the documentation ...

The link you refer to has not been updated. Try looking at the installed version of the man page calcurse(1).

lhca avatar Jul 11 '21 23:07 lhca