You are not logged in.
currently using xmonad with xmobar but the clock seems to be wrong after some upgrades...
.xmobarrc
Config { font = "-*-Fixed-Bold-R-Normal-*-13-*-*-*-*-*-*-*"
, bgColor = "black"
, fgColor = "green"
, position = TopW L 90
, lowerOnStart = True
, commands = [ Run Cpu ["-L","3","-H","50","--normal","green","--high","red"] 10
, Run Memory ["-t","Mem: <usedratio>%"] 10
, Run Swap [] 10
, Run Date "%a %b %_d %l:%M" "date" 10
, Run Battery [] 10
, Run StdinReader
]
, sepChar = "%"
, alignSep = "}{"
, template = "%StdinReader% }{ %cpu% | %memory% %swap% | %battery% | Date: %date%"
}
Last edited by unregistered (2009-08-27 13:53:28)
Offline
use the date command un command line. You need to be root.
Offline
ok so I did
sudo date -s "8/27/2009 08:55:00"
and running the date command shows the updated time but xmobar does not update and when I restart the computer, it goes back to the wrong time, what should I do?
EDIT: ok when I restart xmonad, xmobar shows the correct time but the problem is everytime I restart, it goes back to the wrong time, how can I make the computer store the change?
Last edited by unregistered (2009-08-27 01:01:46)
Offline
I had this, reinstalled coreutils and the problem went away. I got lucky I think.
--
thinkpad X60s [t400s coming soon] | archlinux i686 | xmonad | dmenu |
Offline
I had this, reinstalled coreutils and the problem went away. I got lucky I think.
reinstalling coreutils and updating the date didn't work for me when i reboot date's wrong again
Offline
sounds like you need to check that your BIOS is in localtime or UTC and set rc.conf accordingly. then just install openntp and forget about it.
Last edited by brisbin33 (2009-08-27 02:06:04)
//github/
Offline
I didn't change my bios or rc.conf settings and it worked perfectly fine before the update.
My rc.conf says that its set to localtime, i forgot what my bios is, I'll check the next time I restart...
EDIT: ok so I checked and the BIOs didn't say anything about whether its set to localtime or whatever( using phoenixBIOs ), what I do know is that the time set at the BIOs is different from the one showing in the clock on xmobar. The time on BIOs is correct but incorrect for the one in the clock on xmobar
Last edited by unregistered (2009-08-27 11:30:23)
Offline
I installed openntpd and ran it in the background by putting @openntpd into the daemons array, the problem still persist after each restart
no matter whether rc.conf is set to UTC or localtime. I have to do sudo /etc/rc.d/openntpd restart and restart xmonad in order to get the correct time but even then, the problems comes up again the next time I restart
Rather than just a few hours in advance now, its about 1 day in advance everytime I restart
Last edited by unregistered (2009-08-27 12:51:51)
Offline
do you have an /etc/rc.conf.pacnew?
ok so I changed the /etc/rc.conf.pacnew to rc.conf and it worked fine now, thanks.
Offline