You are not logged in.

#1 2013-01-17 20:13:19

Leandros
Member
Registered: 2012-12-01
Posts: 25

[Solved] Awesome WM showing wrong time

I just set my clock and timezone correctly with npt, but now my awesome wm isn't showing the correct time anymore.

± % timedatectl status                                                                                           !4746
      Local time: Thu, 2013-01-17 21:11:21 CET
  Universal time: Thu, 2013-01-17 20:11:21 UTC
        RTC time: Thu, 2013-01-17 20:11:20
        Timezone: Europe/Berlin
      UTC offset: +0100
     NTP enabled: no
NTP synchronized: no
 RTC in local TZ: no
      DST active: no
 Last DST change: CEST → CET, DST became inactive
                  Sun, 2012-10-28 02:59:59 CEST
                  Sun, 2012-10-28 02:00:00 CET
 Next DST change: CET → CEST, DST will become active
                  the clock will jump one hour forward
                  Sun, 2013-03-31 01:59:59 CET
                  Sun, 2013-03-31 03:00:00 CEST

Changing RTC time to local time doesn't work (timedatectl set-local-rtc 1), it seems like that awesome is using the Universal Hardware clock time.
Is there a way to change, that my system time and awesome time is in sync?

Last edited by Leandros (2013-01-17 20:43:39)

Offline

#2 2013-01-17 20:43:22

Leandros
Member
Registered: 2012-12-01
Posts: 25

Re: [Solved] Awesome WM showing wrong time

Solved! Digging through the hwclock commands revealed this: "sudo hwclock -w --localtime" which change the localtime on the hwclock, and is used by awesome.

Offline

Board footer

Powered by FluxBB