osd_clock command not found

In this troubleshooting guide we learn how to fix osd_clock command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

osd_clock: command not found

or when using sudo you get the following error message

sudo: osd_clock: command not found

Solutions to osd_clock: command not found

How To Fix osd_clock: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu osd_clock is provided by osdclock package.

osdclock is:

A clock which uses the X On-Screen Display library to display itself.

It supports a strftime(3)-style format parameter and can be configured to show up only at specific intervals.

To fix this problem, we can install more using the command below.

sudo apt-get -y install osdclock

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install osdclock.

sudo apt -y install osdclock

Or if you have aptitude installed you can use the following command.

sudo aptitude install osdclock

Summary

In this tutorial we learn how to fix osd_clock command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.