The officially official Devuan Forum!

You are not logged in.

#1 2022-01-07 23:43:43

oui
Member
Registered: 2017-09-02
Posts: 107  

wrong localization

I did reinstall but wrong passing the steps for the localisation.

consequence; the time is wrong as the time zone is also wrong. and the formats for the visualization of time etc. also (I need those used in the European Union, for ex. in English speaking countries but not GB).

the other things (especially language, country) stay better like the are now (also wrong, to limit the changes...).

is a

simple way for ex. using dpkg

known to make the 3 changes marked in fat above?

Offline

#2 2022-01-08 11:59:37

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 2,326  

Re: wrong localization

To change the system locale & timezone run

# dpkg-reconfigure locales tzdata

If the system clock itself is wrong use

# apt install ntp update-rc.d
# update-rc.d ntp defaults
# /etc/init.d/ntp start && sleep 10
# hwclock --systohc

EDIT: the above code block presumes that Windows is not also installed. If Windows is installed than make that use a sensible time standard:

https://wiki.archlinux.org/title/System … ft_Windows

Ubuntu and various random crappy interweb sites seem to recommend disabling UTC in GNU/Linux systems but that's stupid advice. Make Windows use UTC instead.

Last edited by Head_on_a_Stick (2022-01-08 12:11:24)


To obtain a root shell use su -. Using just su will result in "command not found" messages.

Offline

Board footer