Software & AppsOperating SystemLinux

How To Restore Missing Date & Time Applet in Unity Panel

Ubuntu 19

The Unity panel in Ubuntu is a convenient place to find applets for many important functions, including the date and time. However, sometimes the date and time applet may disappear from the Unity panel. If you’re facing this issue, don’t worry. This article will guide you through several methods to restore the missing date and time applet in the Unity panel.

Solution 1: Restart Unity Panel Service

The first and simplest method is to restart the Unity panel service. This can be done by opening a terminal and running the following command:

killall unity-panel-service

The killall command is used to terminate all processes with a specific name, in this case, unity-panel-service. This command effectively restarts the Unity panel service, which can often bring back the missing date and time applet.

This solution has been reported to work on Ubuntu versions 13.10, 14, 14.10, and 14.04LTS.

Solution 2: Reinstall and Reconfigure indicator-datetime Package

If the first solution doesn’t work, you can try reinstalling the indicator-datetime package. This package is responsible for displaying the date and time applet in the Unity panel. To reinstall this package, open a terminal and run the following command:

sudo apt-get install indicator-datetime

The sudo command is used to run the following command with superuser privileges, while apt-get install is used to install packages. In this case, indicator-datetime is the package we want to install.

After reinstalling the package, you can reconfigure the date and time settings by running:

sudo dpkg-reconfigure --frontend noninteractive tzdata

The dpkg-reconfigure command is used to reconfigure an already installed package. The --frontend noninteractive option is used to ensure that the reconfiguration process is non-interactive, meaning it won’t prompt you for input. tzdata is the package that contains time zone data.

Finally, restart Unity by running:

sudo killall unity-panel-service

This solution has been reported to work on Ubuntu versions 13.10, 14, and 14.04.

Solution 3: Check “Show a clock in the menu bar” Option

Another solution is to check if the “Show a clock in the menu bar” option is enabled. To do this, click on the Ubuntu logo in the top-left corner and search for “Time and Date”. Open the “Time and Date” application and go to the “Clock” tab. Make sure the option “Show a clock in the menu bar” is checked.

Additionally, ensure that the indicator-datetime package is installed by running the command mentioned in Solution 2.

This solution has been reported to work on Ubuntu version 13.10.

Solution 4: Reinstall indicator-datetime Package and Log Out

If the above solutions don’t work, you can try reinstalling the indicator-datetime package and then logging out and logging back in. To reinstall the package, use the command mentioned in Solution 2. After reinstalling, log out of your session and log back in to see if the date and time applet reappears.

This solution has been reported to work on Ubuntu versions 13.10 and 14.04.

Solution 5: Restore Default Unity Settings

If none of the above solutions work, you can try restoring the default Unity settings by running:

unity --reset

The unity command is used to manage the Unity desktop environment, and the --reset option is used to reset Unity to its default configuration. This command may bring back the missing date and time applet.

This solution has been suggested as a last resort, as it will reset all of your Unity settings to their defaults.

Conclusion

These are some of the solutions you can try to restore the missing date and time applet in the Unity panel. Remember, the effectiveness of these solutions may vary depending on your specific system configuration. If you’re still having trouble, consider seeking help from the Ubuntu community.

How do I open a terminal in Ubuntu?

To open a terminal in Ubuntu, you can press Ctrl + Alt + T on your keyboard. Alternatively, you can search for "Terminal" in the Dash or press the Super key (Windows key) and type "Terminal".

What is the Unity panel in Ubuntu?

The Unity panel is a bar located at the top of the screen in Ubuntu’s Unity desktop environment. It contains various applets and indicators that provide quick access to important functions and system information, such as the date and time, volume control, network connectivity, and application menus.

How do I reinstall a package in Ubuntu?

To reinstall a package in Ubuntu, you can use the sudo apt-get install --reinstall [package-name] command. Replace [package-name] with the name of the package you want to reinstall. This command will remove the package and then reinstall it, which can help resolve issues related to the package.

What is the purpose of the `sudo` command?

The sudo command in Ubuntu is used to run a command with superuser (root) privileges. It allows you to perform administrative tasks and make changes to the system that require elevated permissions. When using sudo, you will be prompted to enter your password to verify your identity and authorization.

How do I log out of my session in Ubuntu?

To log out of your session in Ubuntu, you can click on the power icon located in the top-right corner of the screen, next to the clock. From the drop-down menu, select "Log Out". Alternatively, you can press Ctrl + Alt + Del on your keyboard and choose the "Log Out" option.

Leave a Comment

Your email address will not be published. Required fields are marked *