How to change system timezone permanently?


up vote
0
down vote
favorite
"dpkg-reconfigure tzdata" does the job perfectly. But I require a method that doesn't include a text based gui. I have searched and seen some ways which require using "tzselect" and then export "TZ" environment variable while others suggest to create symbolic link "ln -s /usr/share/zoneinfo/ /etc/localtime". Can you tell me which one to use so that the system time is changed permanently and persistent across reboots.
dpkg system-settings timezone
add a comment |Â
up vote
0
down vote
favorite
"dpkg-reconfigure tzdata" does the job perfectly. But I require a method that doesn't include a text based gui. I have searched and seen some ways which require using "tzselect" and then export "TZ" environment variable while others suggest to create symbolic link "ln -s /usr/share/zoneinfo/ /etc/localtime". Can you tell me which one to use so that the system time is changed permanently and persistent across reboots.
dpkg system-settings timezone
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
"dpkg-reconfigure tzdata" does the job perfectly. But I require a method that doesn't include a text based gui. I have searched and seen some ways which require using "tzselect" and then export "TZ" environment variable while others suggest to create symbolic link "ln -s /usr/share/zoneinfo/ /etc/localtime". Can you tell me which one to use so that the system time is changed permanently and persistent across reboots.
dpkg system-settings timezone
"dpkg-reconfigure tzdata" does the job perfectly. But I require a method that doesn't include a text based gui. I have searched and seen some ways which require using "tzselect" and then export "TZ" environment variable while others suggest to create symbolic link "ln -s /usr/share/zoneinfo/ /etc/localtime". Can you tell me which one to use so that the system time is changed permanently and persistent across reboots.
dpkg system-settings timezone
dpkg system-settings timezone
asked Apr 18 at 3:44
user8070445
31
31
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
accepted
See this answer: https://serverfault.com/a/84528/459227
In short, you can set the timezone you want in /etc/timezone
and then you can call dpkg-reconfigure -f noninteractive tzdata
so it applies the settings without asking on a text based GUI.
Thanks, will give it a try and see if its persistent across reboots.
â user8070445
Apr 18 at 4:11
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
accepted
See this answer: https://serverfault.com/a/84528/459227
In short, you can set the timezone you want in /etc/timezone
and then you can call dpkg-reconfigure -f noninteractive tzdata
so it applies the settings without asking on a text based GUI.
Thanks, will give it a try and see if its persistent across reboots.
â user8070445
Apr 18 at 4:11
add a comment |Â
up vote
0
down vote
accepted
See this answer: https://serverfault.com/a/84528/459227
In short, you can set the timezone you want in /etc/timezone
and then you can call dpkg-reconfigure -f noninteractive tzdata
so it applies the settings without asking on a text based GUI.
Thanks, will give it a try and see if its persistent across reboots.
â user8070445
Apr 18 at 4:11
add a comment |Â
up vote
0
down vote
accepted
up vote
0
down vote
accepted
See this answer: https://serverfault.com/a/84528/459227
In short, you can set the timezone you want in /etc/timezone
and then you can call dpkg-reconfigure -f noninteractive tzdata
so it applies the settings without asking on a text based GUI.
See this answer: https://serverfault.com/a/84528/459227
In short, you can set the timezone you want in /etc/timezone
and then you can call dpkg-reconfigure -f noninteractive tzdata
so it applies the settings without asking on a text based GUI.
answered Apr 18 at 4:08


Filipe Brandenburger
5867
5867
Thanks, will give it a try and see if its persistent across reboots.
â user8070445
Apr 18 at 4:11
add a comment |Â
Thanks, will give it a try and see if its persistent across reboots.
â user8070445
Apr 18 at 4:11
Thanks, will give it a try and see if its persistent across reboots.
â user8070445
Apr 18 at 4:11
Thanks, will give it a try and see if its persistent across reboots.
â user8070445
Apr 18 at 4:11
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1025990%2fhow-to-change-system-timezone-permanently%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password