Using Calcurse to keep track of appointments and tasks
Points of View
Calcurse combines a calendar with appointments management and a task list, so you can use a terminal to keep track of the day's events at a glance.
Console tools enjoy an excellent reputation in the Linux community: They consume very little in terms of resources, work really fast, and often perform their tasks with just a few keystrokes [1]. The Calcurse program [2] is a typical example. It combines a calendar with schedule management and a task list. You have the option of using the application either at the command line or in an ncurses-based user interface.
The program's name combines the two words "Calendar" and "ncurses." Its author, Frederic Culot, developed the software in 2004. Although Calcurse was developed originally only for his own use, it was later released under a free BSD license.
Calcurse is currently available as a stable package for several distributions: Fedora, Debian, and Ubuntu, as well as FreeBSD, NetBSD, and OpenBSD. The project supports the i386, AMD64, and Sparc platforms, among others. This article was based on the 2.9.2 and 3.1.2 versions of the package on Debian and Xubuntu, respectively.
Target Group
Calcurse is designed for individuals – not for teams or workgroups: Apart from its import and export functions, it does not contain any functions for exchanging and syncing calendar and appointment entries.
The program is aimed primarily at users who prefer working at the keyboard. Its frugal resource requirements make it possible to use the software on less powerful devices. The operating concept may at times seem unusual, but it is extremely efficient. Even users who are not used to working at the keyboard will still be able to work quickly.
Calcurse can be addressed either via its ncurses interface or via the command line. In the documentation, the author describes these approaches as interactive and non-interactive modes. The latter is used for searching in most cases. When you call the program with the appropriate switches, Calcurse scours its database and outputs requested data line by line on the terminal.
Interactive Mode
In interactive mode, you run the program by calling it without additional options. The main view shows a number of subwindows: the calendar with the day view (left), an overview of the month (top right), the ToDo list of tasks (bottom right), and a status bar at the bottom. The bar shows you the current date and the time remaining until your next appointment (Figure 1).
Below this, Calcurse shows you the key assignments. Users of the Vim text editor will immediately feel at home because Calcurse uses similar key mappings. The keys H, J, K, and L are the left, down, up, and right motion keys, and the program complements these with other keys, depending on the pane in which you are working. Pressing a lets you add entries, whereas d lets you delete them, and e lets you make changes.
Ctrl+G takes you to a date of your choice. Pressing Ctrl+L scrolls one day forward, and Ctrl+H one day back. You can scroll one week forward by pressing Ctrl+J, and Ctrl+K takes you one week back.
The Tab key toggles between the day and month overviews, as well as the ToDo list. The software highlights the current window; in Figure 1, this is the monthly summary, top right. You can press v to see details of the selected entry in the day view (Figure 2).
Calcurse stores and manages notes for day entries. Pressing N or > lets you add a new note and edit an existing one. To do this, the program opens the text editor configured for this action – typically Vim – to edit the note. Calcurse creates a file for this in the background below ~/.calcurse/notes/
; it links the file with the corresponding entry in the appointment list.
The monthly view breaks down the days into a weekly overview. Today, and all other days of the month on which you have already entered appointments, are highlighted. Additionally, you can press the 0 and Shift+4 keys to go to the beginning or end of the week.
ToDo List
Calcurse organizes the task list by priority. The smallest value, 1, is the highest priority; the highest value, 9, is assigned to the least important tasks. The task with the lowest priority appears at the top. To increase or decrease the priority press + and -. If the order changes, Calcurse re-sorts the list of tasks. Press d to delete a selected task.
If the details of a task do not completely fit in the window, the software abbreviates the title for the entry. Pressing v shows you the complete entry – which then appears in a separate window (similar to Figure 2) .
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
The Gnome Foundation Struggling to Stay Afloat
The foundation behind the Gnome desktop environment is having to go through some serious belt-tightening due to continued financial problems.
-
Thousands of Linux Servers Infected with Stealth Malware Since 2021
Perfctl is capable of remaining undetected, which makes it dangerous and hard to mitigate.
-
Halcyon Creates Anti-Ransomware Protection for Linux
As more Linux systems are targeted by ransomware, Halcyon is stepping up its protection.
-
Valve and Arch Linux Announce Collaboration
Valve and Arch have come together for two projects that will have a serious impact on the Linux distribution.
-
Hacker Successfully Runs Linux on a CPU from the Early ‘70s
From the office of "Look what I can do," Dmitry Grinberg was able to get Linux running on a processor that was created in 1971.
-
OSI and LPI Form Strategic Alliance
With a goal of strengthening Linux and open source communities, this new alliance aims to nurture the growth of more highly skilled professionals.
-
Fedora 41 Beta Available with Some Interesting Additions
If you're a Fedora fan, you'll be excited to hear the beta version of the latest release is now available for testing and includes plenty of updates.
-
AlmaLinux Unveils New Hardware Certification Process
The AlmaLinux Hardware Certification Program run by the Certification Special Interest Group (SIG) aims to ensure seamless compatibility between AlmaLinux and a wide range of hardware configurations.
-
Wind River Introduces eLxr Pro Linux Solution
eLxr Pro offers an end-to-end Linux solution backed by expert commercial support.
-
Juno Tab 3 Launches with Ubuntu 24.04
Anyone looking for a full-blown Linux tablet need look no further. Juno has released the Tab 3.