Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

MX-17 Snapshot live persistence - Conky time [Solved]

Post Reply
Message
Author
User avatar
tascoast
Forum Guide
Forum Guide
Posts: 1086
Joined: Sat Aug 06, 2011 4:58 am

MX-17 Snapshot live persistence - Conky time [Solved]

#1 Post by tascoast » Wed Dec 20, 2017 9:14 pm

I created a general snapshot of my (64-bit) MX-17 install, then created a live USB.
Upon booting to the live USB, I created root and home persistence, setting time to my location (plus general desktop tweaks and a Synaptic update).
I notice after a reboot that Conky still shows the incorrect time and so wonder if there's something else required to have it match the Panel/system time?
Mick
Last edited by tascoast on Thu Dec 21, 2017 4:05 am, edited 1 time in total.
Lenovo ThinkCentre A58 4GBRAM, MX-16 RC1/MX14.04/MX-15.01/antiX16(64-bit)-Aspire One D255E 1.66GHz, 512KB cache, 1GB RAM-MX-15.01/W10

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 22480
Joined: Wed Jul 19, 2006 6:13 am

Re: MX-17 Snapshot live persistence - Conky time

#2 Post by Jerry3904 » Wed Dec 20, 2017 9:49 pm

First of all, I would toggle off and on if you didn't try that.

Then, if you're manually setting the time to be different than the system time, I'm not sure what can be done. How did you change the time, using what method? Maybe using MX Time Settings would help if you didn't do that before.
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, Kingston SSD 120 GB and WesternDigital 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB

User avatar
BitJam
Forum Guide
Forum Guide
Posts: 2472
Joined: Sat Aug 22, 2009 11:36 pm

Re: MX-17 Snapshot live persistence - Conky time

#3 Post by BitJam » Thu Dec 21, 2017 12:15 am

How did you set the timezone? Did you use F2 or F3 in the legacy bootloader? Did you use the text menu in the UEFI bootloader? Is the "incorrect time" consistent with EST/EDT (New York City timezone)?

Here, running live, Conky shows the correct time when I use F3 in the legacy bootloader to set the timezone but I didn't make a snapshot.

The way the timezone is handled got changed (yet again) in Debian Stretch. I suspect this is related to your problem. It may have been caused by the snapshot program or by the program you used to set the time. What is the output of these commands:

Code: Select all

ls -l /etc/localtime
ls -l /live/linux/etc/localtime
cat /etc/timezone
The crux of the change in Stretch is the /etc/localtime file now *must* be a symlink. It used to be that a copy of the zoneinfo file sufficed (which still works fine on my Gentoo system). On Debian stretch, if it is not a symlink then an incorrect timezone is used in X while the correct timezone is used in the virtual consoles.

If /etc/localtime is not a symlink then I suggest that you erase it and replace it with a symlink to the correct file under /usr/share/zoneinfo. This should work:

Code: Select all

sudo rm /etc/localtime
sudo ln -s /usr/share/zoneinfo/$(cat /etc/timezone) /etc/localtime
Will I cry when it's all over?
When I die will I see Heaven?

User avatar
tascoast
Forum Guide
Forum Guide
Posts: 1086
Joined: Sat Aug 06, 2011 4:58 am

Re: MX-17 Snapshot live persistence - Conky time

#4 Post by tascoast » Thu Dec 21, 2017 3:18 am

Toggle Conky did not change things but MX Time Settings did, once the local time zone was entered. I only set the Orage Clock once I'd created persistence and booted up again, but I gather you could have several regional times displayed this way, without changing the system time.

I thought things had changed somehow, although a general snapshot logically reset things to defaults, I presume. It's not something I've noticed in the past running live snapshots in MX-16 with Conky included, although they were likely personal snapshots.

Everything else with the snapshot checks out really well.

Thanks for the explanation BitJam. I just use the legacy bootloader on my machines. I'm digesting the details but for me, MX Time Settings adjusted things accordingly for my needs. I'll test F3 next time around. It's a bit of a juggle since the old reliable dongle is a bit inconsistent in operation in MX-17.
Lenovo ThinkCentre A58 4GBRAM, MX-16 RC1/MX14.04/MX-15.01/antiX16(64-bit)-Aspire One D255E 1.66GHz, 512KB cache, 1GB RAM-MX-15.01/W10

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 22480
Joined: Wed Jul 19, 2006 6:13 am

Re: MX-17 Snapshot live persistence - Conky time [Solved]

#5 Post by Jerry3904 » Thu Dec 21, 2017 7:17 am

Excellent! That's the first time i actually every saw anyone say they set the local time with it, so now I know one situation where it serves a function.
Production: 4.15.0-1-amd64, MX-17.1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, Kingston SSD 120 GB and WesternDigital 1TB
Testing: AAO 722: 4.15.0-1-386. MX-17.1, AMD C-60 APU, 4 GB

User avatar
BitJam
Forum Guide
Forum Guide
Posts: 2472
Joined: Sat Aug 22, 2009 11:36 pm

Re: MX-17 Snapshot live persistence - Conky time [Solved]

#6 Post by BitJam » Thu Dec 21, 2017 11:50 am

Unfortunately, we still don't know what caused the problem so we certainly haven't fixed it. It is possible there is still a clue left if you run:

Code: Select all

ls -l /live/linux/etc/localtime
and show us the output. It would also help if you tell us how you originally set the timezone. I'm not saying you did anything wrong or bad. I'm trying to figure out what went wrong so we can fix it so it doesn't happen again.

H'mm. Since this is a live system you can try to replicate the problem after disabling persistence. This will get you back to the raw snapshot.
Will I cry when it's all over?
When I die will I see Heaven?

User avatar
dolphin_oracle
Forum Veteran
Forum Veteran
Posts: 9406
Joined: Sun Dec 16, 2007 1:17 pm

Re: MX-17 Snapshot live persistence - Conky time [Solved]

#7 Post by dolphin_oracle » Sun Dec 31, 2017 1:13 pm

tascoast wrote:I created a general snapshot of my (64-bit) MX-17 install, then created a live USB.
Upon booting to the live USB, I created root and home persistence, setting time to my location (plus general desktop tweaks and a Synaptic update).
I notice after a reboot that Conky still shows the incorrect time and so wonder if there's something else required to have it match the Panel/system time?
Mick

can we presume that when you changed the system time originally, you simply used the orage clock preferences to choose a new timezone?
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad T530 - MX-17
lenovo s21e & 100s - antiX-17, MX17(live-usb)
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
tascoast
Forum Guide
Forum Guide
Posts: 1086
Joined: Sat Aug 06, 2011 4:58 am

Re: MX-17 Snapshot live persistence - Conky time [Solved]

#8 Post by tascoast » Fri Jan 05, 2018 2:50 am

dolphin_oracle wrote:
tascoast wrote:I created a general snapshot of my (64-bit) MX-17 install, then created a live USB.
Upon booting to the live USB, I created root and home persistence, setting time to my location (plus general desktop tweaks and a Synaptic update).
I notice after a reboot that Conky still shows the incorrect time and so wonder if there's something else required to have it match the Panel/system time?
Mick

can we presume that when you changed the system time originally, you simply used the orage clock preferences to choose a new timezone?
Yeah.... :blindfold: A bit of a pre-vacation logic fail regarding system and application time, but happy 2018 to all. :happy:
Lenovo ThinkCentre A58 4GBRAM, MX-16 RC1/MX14.04/MX-15.01/antiX16(64-bit)-Aspire One D255E 1.66GHz, 512KB cache, 1GB RAM-MX-15.01/W10

Post Reply

Return to “Software / Configuration”