Enable time synchronization (NTP)

NTP, the Network Time Protocol, is used to keep the computer clocks synchronized to the Coordinated Universal Time (UTC) then it can be easily translated by the system to a local time using the timezone db.

NTP is one of the oldest Internet protocols in current use.

Introduction

As a privacy measure all the remote connections on Trisquel are disabled by default, ntp being a network-based system making remote connections, is not installed by default.

The goal of this wiki is to provide simple instructions for users that require this service enabled.

timesyncd

This can be easily persistently enabled by installing the timesyncd daemon.

sudo apt install systemd-timesyncd sudo timedatectl set-ntp true

The latter command is used to enable the service directly, otherwise you have to reboot Trisquel, to start systemd-timesyncd.service.

The status may be viewed with: timedatectl status

Enabling/Disabling NTP with Graphical User Interface (GUI)

To enable or disable NTP graphically, you can use the Time and Date Manager by opening a terminal and run:

$ mate-time-admin
or for example, via the Mate Control Center.

https://trisquel.info/files/time-and-date-manager-ntp.png

Other time sync daemons

There might be other options rather than timesyncd, but they will likely need manual setup and a higher experience.

Here a non-exhaustive list,