LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-14-2022, 04:09 AM   #16
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,762

Rep: Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931

The hardware clock AKA BIOS or RTC is not the system clock. It has no time zone setting and therefore has to be referenced. UEFI motherboards after 2016 according to the Arch wiki have a BIOS timezone setting but I don't have anything that modern...

If the hardware clock is set to local time it must be converted to UTC first then the system clock is set at boot time. Once the network is up ntp if installed syncs the system clock to a time server.
 
Old 07-14-2022, 04:11 AM   #17
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,408

Original Poster
Rep: Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338
Right - A lot of replies (Thanks) and I've read them all. Some facts here
  1. I'm on UTC.
  2. /etc/localtime is a symlink pointing to /usr/share/zoneinfo/Eire.
  3. It is correct that the RazPi has no RTC. Slarm64 accounts for this in init, by setting time from ntp servers. When you install first, it comes up in Jan 1970. I haven't added an RTC.
  4. ntp is on Irish ntp servers and handles Winter/Summertime changes OK.
  5. Yes, the system is fine, but the display is messed up and holding on to that mess accross reboots, which is even more irritating.
  6. I think we all know the OS side of time, and it's certainly laid out for me here in detail.
  7. What we don't know is where the XFCE clock is getting it's nutty ideas from.
  8. Another useful thing to know is where it is saving them to.
  9. xclock behaves and displays the right time, not xfce's version of the time.
  10. Interestingly, if I right-click on the clock digits, offering me Clock (greyed out), Properties, Move, Remove, & a link to the Panel Menu. Why Clock is greyed out I don't know.

EDIT: Right after I wrote this post, I logged out of X, deleted every file in my homedir linked to X and beginning with a dot (.XAuth, .xresources, etc) & restarted X. Still the two hour difference. Does anyone know what runs the xfce clock?

Last edited by business_kid; 07-14-2022 at 04:33 AM.
 
Old 07-14-2022, 05:25 AM   #18
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,408

Original Poster
Rep: Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338Reputation: 2338
Sorted it myself, finally.

I started X as root. The time was correct, which narrowed the problem to my homedir. But I'd already cleared out all the dot<something> files there. So I zeroed in on ~/.config/xfce4 next. Now in research mode, I would have thoroughly sorted through those files, but those days are past. I restored a backup of ~/.config/xfce4, and it's displaying the correct time .

It had been bugging me, because I had been glancing at it for a quick timecheck, rather than one-handedly root out a mobile phone. I did have a quick culprit search, and located ~/.config/xfce4/panel/clock-14.rc. My correct version reads
Code:
bash-5.1$ cat .config/xfce4/panel/clock-14.rc
DigitalFormat=%T
TooltipFormat=%A %d %B %Y
ClockType=2
ShowFrame=false
ShowSeconds=false
ShowMilitary=true
ShowMeridiem=false
TrueBinary=false
FlashSeparators=false
What the incorrect version looked like, I've no idea. But it's the prime suspect after it's been executed .
 
2 members found this post helpful.
Old 07-15-2022, 12:53 AM   #19
henca
Member
 
Registered: Aug 2007
Location: Linköping, Sweden
Distribution: Slackware
Posts: 990

Rep: Reputation: 674Reputation: 674Reputation: 674Reputation: 674Reputation: 674Reputation: 674
Quote:
Originally Posted by business_kid View Post
  • Interestingly, if I right-click on the clock digits, offering me Clock (greyed out), Properties, Move, Remove, & a link to the Panel Menu. Why Clock is greyed out I don't know.
The "greyed out" "Clock" at the top of the menu should probably be considered as a title rather than a menu choice. On my XFCE installation I get such grey titles on every item I right-click on in the panel. "Applications menu", "Action buttons", "Orage panel clock" and "Launcher" are all examples of such grey titles.

regards Henrik
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting time and time zone altogether properly in Slack-current, KDE4 spaceballs Slackware 3 04-20-2011 05:15 AM
how to understand user time, sys time, wait time, idle time of CPU guixingyi Linux - Server 1 08-24-2010 10:10 AM
Setting time and date / setting calendar format Kalbadus Linux - Newbie 1 05-15-2010 12:40 AM
xfce - setting date and time Mithrilhall Linux - General 2 07-23-2007 01:51 PM
Setting System Time: kernel in wrong time zone warrenweiss Linux - General 7 05-15-2004 03:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration