Visualize time sequences with Timeline
On the Timeline
![](/var/linux_magazin/storage/images/issues/2015/176/timeline/78002306_20.png/652254-1-eng-US/78002306_20.png_medium.png)
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).
![](/var/linux_magazin/storage/images/issues/2015/176/timeline/figure-3/652263-1-eng-US/Figure-3_large.png)
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.
![](/var/linux_magazin/storage/images/issues/2015/176/timeline/figure-4/652266-1-eng-US/Figure-4_large.png)
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
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.
![Learn More](https://www.linux-magazine.com/var/linux_magazin/storage/images/media/linux-magazine-eng-us/images/misc/learn-more/834592-1-eng-US/Learn-More_medium.png)
News
-
NVIDIA Released Driver for Upcoming NVIDIA 560 GPU for Linux
Not only has NVIDIA released the driver for its upcoming CPU series, it's the first release that defaults to using open-source GPU kernel modules.
-
OpenMandriva Lx 24.07 Released
If you’re into rolling release Linux distributions, OpenMandriva ROME has a new snapshot with a new kernel.
-
Kernel 6.10 Available for General Usage
Linus Torvalds has released the 6.10 kernel and it includes significant performance increases for Intel Core hybrid systems and more.
-
TUXEDO Computers Releases InfinityBook Pro 14 Gen9 Laptop
Sporting either AMD or Intel CPUs, the TUXEDO InfinityBook Pro 14 is an extremely compact, lightweight, sturdy powerhouse.
-
Google Extends Support for Linux Kernels Used for Android
Because the LTS Linux kernel releases are so important to Android, Google has decided to extend the support period beyond that offered by the kernel development team.
-
Linux Mint 22 Stable Delayed
If you're anxious about getting your hands on the stable release of Linux Mint 22, it looks as if you're going to have to wait a bit longer.
-
Nitrux 3.5.1 Available for Install
The latest version of the immutable, systemd-free distribution includes an updated kernel and NVIDIA driver.
-
Debian 12.6 Released with Plenty of Bug Fixes and Updates
The sixth update to Debian "Bookworm" is all about security mitigations and making adjustments for some "serious problems."
-
Canonical Offers 12-Year LTS for Open Source Docker Images
Canonical is expanding its LTS offering to reach beyond the DEB packages with a new distro-less Docker image.
-
Plasma Desktop 6.1 Released with Several Enhancements
If you're a fan of Plasma Desktop, you should be excited about this new point release.