Tag: timezone

timedatectl或dpkg-reconfigure tzdata in 16.04

我一直在使用以下脚本将Ubuntu 14.04服务器设置为UTC时区: echo “Etc/UTC” > /etc/timezone dpkg-reconfigure –frontend noninteractive tzdata echo UTC=yes >> /etc/default/rcS 现在,在16.04,似乎我可以使用timedatectl配置所有内容。 现在我的脚本看起来像: timedatectl set-local-rtc 0 timedatectl set-ntp 1 timedatectl set-timezone UTC 这是对的吗? 是否将任何服务器设置为使用UTC时区作为本地时间和RTC? 没有运行dpkg-reconfigure tzdata会有什么遗漏

如何在Gnome Classic中设置多个时区?

由于某些奇怪的原因,使用Gnome Classic(Ubuntu 12.04)中的日期时间指示器无法将其他时区添加到时钟中。 在我切换到Gnome Classic之前我使用了Unity,并且可以添加更多时区。 即使在Gnome Classic中,我也能看到日期时间指示器菜单中的其他时区,我在使用Unity时添加了该时区。 当我进入系统设置>日期和时间时,没有添加其他时区的选项。 如何在Gnome Classic中设置其他时区?