You are not logged in.

#1 2024-04-22 16:35:41

Alberto-Trujillo
Member
From: Poole, Dorset, UK
Registered: 2017-02-21
Posts: 66

[SOLVED] Location change

Good afternoon,

I'm using i3 on a mac

Please, can you help me understand the steps to follow to change a system that was installed with

ln -sf /usr/share/zoneinfo/Europe/London

but I would like to change to "Europe/Madrid?

I did this,

ln -sf /usr/share/zoneinfo/Europe/Madrid
hwclock --systohc
vim /etc/locale.gen

and I change this,
en_GB.UTF-8 UTF-8
by,
es_ES.UTF-8 UTF-8

locale-gen

But the system stopped working correctly and I returned it to how it was originally.
At the moment I have London time and not Spain time.

Thank you

Last edited by Alberto-Trujillo (2024-04-23 16:47:33)


"I believe I never knew what the word 'round' meant until I saw the Earth from space."
(Aleksei Leonov)

Offline

#2 2024-04-22 16:39:21

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,182

Re: [SOLVED] Location change

You missed updating /etc/locale.conf

As for "the system stopped working correctly", that doesn't cut it, you have to tell us actual problems.

Offline

#3 2024-04-23 10:09:23

Alberto-Trujillo
Member
From: Poole, Dorset, UK
Registered: 2017-02-21
Posts: 66

Re: [SOLVED] Location change

Good morning, thank you Scimmia,

Ok, first thanks for telling me what I missed, and I'll try to do it again.

Regarding what the system stopped working correctly, is that when I changed the location, I restarted and logged in again within i3, but the status bar did not show my Wi-Fi connection, nor other details such as HD capacity, used memory and available, etc.

Thank you again, and have a good day!


"I believe I never knew what the word 'round' meant until I saw the Earth from space."
(Aleksei Leonov)

Offline

#4 2024-04-23 13:25:55

Alberto-Trujillo
Member
From: Poole, Dorset, UK
Registered: 2017-02-21
Posts: 66

Re: [SOLVED] Location change

Hello Scimmia,
Please excuse my last message, and ignore it completely.
On this occasion I followed the initial steps again, and also included the one that I had ignored and that you reminded me of, editing the /etc/locale.conf file and everything went very well.
I also had to edit the .i3status.conf file.
I list here the steps to take for those who consult this thread.

$ sudo ln -sf /usr/share/zoneinfo/Europe/Madrid /etc/localtime
$ sudo hwclock --systohc
$ sudo vim /etc/locale.gen
$ sudo locale-gen
$ sudo vim /etc/locale.conf

Thank you very much for your time, and I mark this question as resolved.


"I believe I never knew what the word 'round' meant until I saw the Earth from space."
(Aleksei Leonov)

Offline

Board footer

Powered by FluxBB