Visualize time sequences with Timeline
On the Timeline

Timeline manages and visualizes time sequences in a simple and intuitive way.
Many good mysteries use a graphical representation of time, known as a timeline, to reconstruct the background of a crime. Even if you do not intend to start a career as a detective, however, a tool for visualizing time sequences can still be very useful.
The Python program Timeline [1] is a tool that lets you create, use, and modify timelines. A timeline essentially consists of a horizontal bar that symbolizes the passage of time in the direction of reading. On the bar, you can mark points in time, with time periods labeled on the horizontal axis.
Setting Up Timeline
Many distributions already have Timeline in their repositories, so you can install the program conveniently using the respective package managers. Alternatively, you can download the source code from SourceForge and follow the developers's instructions [2].
Timeline is pretty plain when it first launches. The only option it gives you is a Tutorial, which also comes in the form of a timeline (Figure 1). The structure of the Timeline window is simple: The timeline runs from left to right in the middle of the window. Above this line, you can insert single "Point Events" or timestamps. Below the timeline, you can set "Periods" – special event variants.
The rest of the tool's feature set is used primarily for organizing things or is purely cosmetic. Events can be divided into categories and even nested. Timeline shows these categories both on the left margin and – as a kind of legend – in the main window. The checkboxes on the left let you switch the individual categories on and off, which can improve the clarity of a complex timeline because the entries disappear from the window when you uncheck a category.
That basically sums up the key elements of Timeline. Because the program always marks the current time with a thin red line, you can use Timeline as a diary; it even has an integrated alarm function.
Currently, Timeline only works with the Gregorian calendar. In the future, the developers plan to support other time systems. Even relative times (e.g., 5 days later) and several nested timelines are on the agenda but are not yet implemented.
Ease of Use
Timeline is developed with intuitiveness as an essential design criterion. This is evident not only in the components of the timelines, which have been carefully reduced to the essential, but also in many other places. For example, basic use of Timeline has been made very simple: Grab the timeline with the mouse and move it as needed. While holding down the Ctrl key, you can adjust the horizontal unit continuously with the mouse wheel.
While holding down the Shift key, you can also move the display vertically, thereby achieving more clarity for more extensive timelines if many periods need to share space at the bottom. Double-clicking any event opens it for further processing. Once you've created a timeline, Timeline takes care of automatically saving it whenever you make changes to the entries.
Everything Is an Event
Events act as the central structural element for timelines. You can create, move, or otherwise adjust events and assign them to categories. Currently, timeline supports two different events: simple points in time and time periods defined by two points.
To create an event, you just double-click on the desired time somewhere near the time line. Timeline then opens the Create Event dialog (Figure 2). In the editor, you can create events or modify existing entries. You set the time of the event in detail with When. The button with the calendar sheet icon takes you to a small calendar in which you can select dates simply by clicking on them.
The following row of checkboxes is of central importance: This is where you define the type of event. To specify periods of time instead of simple points in time, check Period. Timeline then requests the endpoint for the period in an extended dialog. To enter times for an event, check Show time. Sometimes, however, the precise start or end of an event remains unclear (e.g., morning …). In this case, you check Fuzzy to define a special form of the event, which Timeline then marks with pointed ends in the view.
Locked lets you create events that you cannot move retroactively. Again, Timeline has a special way of highlighting this: The event starts and ends with an empty circle. Finally, the Ends today option automatically sets the end time of an event to the current date and optionally to the current time.
In the mandatory Text field, you need to enter a short and intuitive name for the event – ideally only one keyword. Timeline always shows the entry for this field in the timeline. For a more detailed description, you then use the larger text box in the Description tab. Timeline only shows its content when you hover over an event; these entries thus do not normally use up any additional space in the timeline. For longer texts in the Description, empty lines create paragraphs.
The Category is the primary way of organizing your events. A click on the button pops up a list of all existing categories, which also contains two entries for creating new categories or modify existing ones. Timeline displays events assigned to categories in the category-specific color, which the program explains in a legend. You can thus use categories to group organizationally related events (Figure 3).

Warning: When you delete a category, you make "zombies" of any events in this category; the corresponding time points are grayed in the timeline. They remain unchanged, however, so that you can assign them a new category later on.
The Container structure provides a second option for grouping events in Timeline. This works like categories but is independent of them. A container can contain events from different categories. The special thing about containers is that Timeline always manages the events it contains as a unit; that is, it moves them in a single step. Thus, whereas categories reflect logical similarities, containers are designed for organizational similarities.
The largest field in the Create Event dialog is the Description. As already mentioned, this is where you add a more complex and comprehensive description of the event. Below Icon, you can specify an image that Timeline displays when you hover pointer over the event.
The Alert dialog provides an alarm clock function; Timeline then alerts you when you reach an event deadline. First, set the wake-up time (Figure 4). When you reach this point in time, Timeline shows you a window with the agreed message – provided that the program is actually running at the time.

URLs that you specify in the Hyperlink tab can be accessed in the timeline from the context menu of the associated event. The program then opens the links in your system default web browser.
In the Progress tab, you can manually set the extent to which the workflow of a project is defined by a point in time or a period has advanced. Timeline then indicates this as a progress bar in the event markers.
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Direct Download
Read full article as PDF:
Price $2.95
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Find SysAdmin Jobs
News
-
CarbonOS: A New Linux Distro with a Focus on User Experience
CarbonOS is a brand new, built-from-scratch Linux distribution that uses the Gnome desktop and has a special feature that makes it appealing to all types of users.
-
Kubuntu Focus Announces XE Gen 2 Linux Laptop
Another Kubuntu-based laptop has arrived to be your next ultra-portable powerhouse with a Linux heart.
-
MNT Seeks Financial Backing for New Seven-Inch Linux Laptop
MNT Pocket Reform is a tiny laptop that is modular, upgradable, recyclable, reusable, and ships with Debian Linux.
-
Ubuntu Flatpak Remix Adds Flatpak Support Preinstalled
If you're looking for a version of Ubuntu that includes Flatpak support out of the box, there's one clear option.
-
Gnome 44 Release Candidate Now Available
The Gnome 44 release candidate has officially arrived and adds a few changes into the mix.
-
Flathub Vying to Become the Standard Linux App Store
If the Flathub team has any say in the matter, their product will become the default tool for installing Linux apps in 2023.
-
Debian 12 to Ship with KDE Plasma 5.27
The Debian development team has shifted to the latest version of KDE for their testing branch.
-
Planet Computers Launches ARM-based Linux Desktop PCs
The firm that originally released a line of mobile keyboards has taken a different direction and has developed a new line of out-of-the-box mini Linux desktop computers.
-
Ubuntu No Longer Shipping with Flatpak
In a move that probably won’t come as a shock to many, Ubuntu and all of its official spins will no longer ship with Flatpak installed.
-
openSUSE Leap 15.5 Beta Now Available
The final version of the Leap 15 series of openSUSE is available for beta testing and offers only new software versions.