Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using fluxbox on Arch, and the time is displayed incorrectly in the panel. The time works in XFCE, so I'm not sure why it isn't working in fluxbox.

Is there a way to set the time in fluxbox from the internet?

share|improve this question

closed as off-topic by Michael Homer, jasonwryan, slm Feb 1 '15 at 5:54

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions describing a problem that can't be reproduced and seemingly went away on its own (or went away when a typo was fixed) are off-topic as they are unlikely to help future readers." – Michael Homer, jasonwryan, slm
If this question can be reworded to fit the rules in the help center, please edit the question.

Is 'date' on a terminal showing right time? Did you set 'TZ' variable on your environment? you could check it with: 'env | grep TZ'. – tripledes Sep 1 '12 at 21:30
up vote 0 down vote accepted

Figured it out with

# hwclock --set --date="YYYY-MM-DD hh:mm:ss"
share|improve this answer

If your system has a connection to the internet, use NTP to set up the time. For arch Linux, you can find the instructions here.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.