You are not logged in.
Good morning, I introduce myself briefly. I am Ricardo from Chile.I am new to Bunsenlabs.
(I installed it a few days ago).
It seems to me a beautiful, fascinating operating system that has a lot of potential.
I have found some small problems that I have been solving but I do not know the issue of changing the system time and I do not understand how it can be changed and that is why I have registered here to solve the doubt.
I need to adjust the time of my system and if You can help me I will be very grateful.
Thank you very much in advance.
Have a beautiful evening.
Last edited by The_Prince (2022-02-28 20:07:47)
Offline
Hi Ricardo, Welcome to bunsenlabs!
When installing, you are asked if you want to syncronize your clock with timeserver, using ntp. See https://wiki.debian.org/NTP and https://www.digitalocean.com/community/ … -debian-10.
If you choosed to sync clock, it should sync when computer starts up.
Is it a virtual machine (vm) or physical computer?
I have noticed problem with clock drifting if you let vm sleep.
You can sett correct date / time with commands:
sudo date --set yyyy:mm:dd
sudo date --set h:m:s
See more info on https://wiki.debian.org/DateTime
Is the clock drifting or does it maybe shows UTC (Greenwich Meridian time)
You can get more info of your clock with command:
sudo hwclock --verbose --show
Last edited by rbh (2022-02-28 11:37:37)
// Regards rbh
Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu
Offline
Also to check if timezone is set correctly:
timedatectl | grep -i zone
Offline
^ Systemd setups only.
8bit
^ Systemd setups only.
No. From man timedatectl:
timedatectl may be used to show the current status of time synchronization services, for example systemd-timesyncd.service(8).
Note "for example".
I have not systemd-timesyncd.service, but "timedatectl status", returns:
$ LC_ALL=C timedatectl status
Local time: Mon 2022-02-28 18:23:33 CET
Universal time: Mon 2022-02-28 17:23:33 UTC
RTC time: Mon 2022-02-28 17:23:33
Time zone: Europe/Stockholm (CET, +0100)
System clock synchronized: yes
NTP service: n/a
RTC in local TZ: no
// Regards rbh
Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu
Offline
Also to check if timezone is set correctly:
timedatectl | grep -i zone
^ using two programs `timedatectl` and `grep` instead of just one.
2 ways to find out with one:
$ cat /etc/timezone
Europe/London
Or if you prefer the code & offset:
$ date +"%Z %z"
GMT +0000
@eight.bit.al ^ init agnostic
Obviously if your timezone differs from mine you'll get different output.
I am Ricardo from Chile.
So they should probably see:
$ cat /etc/timezone
America/Santiago
Though I suppose one of the other two available are also possibilities.
If it's wrong then open a terminal:
sudo dpkg-reconfigure tzdata
I think Picking America & then scrolling a long way down to Santiago will be correct (most of Chile).
Though you might want America > Punta_Arenas or concievably even Pacific > Easter (for Easter Island)
Last edited by Bearded_Blunder (2022-02-28 18:46:32)
Blessed is he who expecteth nothing, for he shall not be disappointed...
If there's an obscure or silly way to break it, but you don't know what.. Just ask me
Offline
Thank God I have fixed it. I have used only two commands and it was too easy to correct the time zone.
$ cat /etc/timezone
This command returned something like etc/UTC if I remember correctly. He was clearly wrong.
Then continue with the next command.
sudo dpkg-reconfigure tzdata
Select America/Santiago and problem solved.
Thank you all very much for your kind help and time.
Offline
Glad to help.
If you could possibly edit your first post & put [SOLVED] at the start of the title, it saves the moderators some work.
Blessed is he who expecteth nothing, for he shall not be disappointed...
If there's an obscure or silly way to break it, but you don't know what.. Just ask me
Offline