Arch Linux BasedManjaro

How To Change TimeZone on Manjaro

Change TimeZone on Manjaro

In this tutorial, we will show you how to change TimeZone on Manjaro. Manjaro Linux, an open-source operating system, is renowned for its user-friendly interface and robust performance. Based on the powerful Arch Linux, it offers a seamless experience for both beginners and seasoned Linux users. One of the fundamental aspects of setting up any operating system, including Manjaro, is configuring the system timezone. The timezone setting is pivotal for accurate time display, system logs, cron jobs, and other time-dependent services.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you the step-by-step installation of the change TimeZone on a Manjaro Linux.

Prerequisites

  • A server or desktop running one of the following operating systems: Manjaro, and other Arch Linux-based distributions.
  • It’s recommended that you use a fresh OS install to prevent any potential issues.
  • SSH access to the server (or just open Terminal if you’re on a desktop).
  • Ensure that your Manjaro system is connected to the internet.
  • A user account with sudo privileges. This is necessary to execute administrative commands.

Change TimeZone on Manjaro

Step 1. Checking the Current Timezone.

Before you embark on the journey of changing the timezone, it’s beneficial to know your current timezone setting. In Manjaro, this can be achieved by using the timedatectl command. Here’s how you can do it:

timedatectl status

This command will display a variety of information, including the current date, time, and timezone. The timezone is listed next to ‘Time zone’. Make a note of this, as it could be useful for troubleshooting later on.

Step 2. Listing Available Timezones.

To change the timezone, you need to know the exact name of the timezone you want to use. Linux uses a specific naming convention for timezones, which typically includes the region and the city, such as ‘America/New_York‘ or ‘Europe/London‘.

timedatectl list-timezones

This command will display a long list of timezones. You can scroll through this list using the arrow keys. If you know the region of your timezone, you can quickly find it by typing the region’s name. For example, if you’re looking for a timezone in Europe, type ‘Europe’, and the terminal will jump to the timezones starting with ‘Europe’.

Step 3. Changing the Timezone on Manjaro.

Once you’ve found the correct timezone, you can set it using the timedatectl set-timezone command followed by the timezone. Here’s a step-by-step guide:

sudo timedatectl set-timezone Your/Timezone

For example, if you want to set the timezone to Pacific Time, you would use:

sudo timedatectl set-timezone America/Los_Angeles

The terminal will ask for your password. Type your password and press Enter. Remember, when you type your password, no characters will appear in the terminal, but your keystrokes are being registered.

After changing the timezone, it’s a good practice to verify that the change was successful. You can do this by running the timedatectl status command again. The output should now show the new timezone. If the timezone listed next to ‘Time zone’ has changed to your new timezone, congratulations! You’ve successfully changed your system’s timezone.

Step 4. Troubleshooting Common Issues.

If you encounter any issues while changing the timezone, such as permission issues or the system time still being incorrect, there are a few things you can try.

  • Permission Issues.

Ensure you‘re using the sudo command to run the timedatectl set-timezone command, as changing the system timezone requires root privileges. If you still encounter permission issues, double-check that your user account has the necessary privileges to execute sudo commands.

  • Incorrect System Time.

If the system time is still incorrect after changing the timezone, you may need to update the system clock. You can do this with the hwclock --hctosys command. Additionally, consider setting up an NTP (Network Time Protocol) client to keep your system time synchronized with a reliable time source.

Congratulations! You have successfully changed TimeZone. Thanks for using this tutorial to configure TimeZone on the Manjaro system. For additional help or useful information, we recommend you check the official Manjaro website.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get the best deal!

r00t

r00t is a seasoned Linux system administrator with a wealth of experience in the field. Known for his contributions to idroot.us, r00t has authored numerous tutorials and guides, helping users navigate the complexities of Linux systems. His expertise spans across various Linux distributions, including Ubuntu, CentOS, and Debian. r00t's work is characterized by his ability to simplify complex concepts, making Linux more accessible to users of all skill levels. His dedication to the Linux community and his commitment to sharing knowledge makes him a respected figure in the field.
Back to top button