Results 1 to 3 of 3

Thread: How to set time ?

  1. #1

    Default How to set time ?

    Since I change timezone in "Date&Time KDE Control module", after every reboot time became wrong.
    I had try to change file /etc/sysconfig/clock, but nothing has changes.
    Is here another way to do it?

  2. #2

    Default Re: How to set time ?

    On 2014-03-07, kartashevVladimir <kartashevVladimir@no-mx.forums.opensuse.org> wrote:
    > Is here another way to do it?


    Have you tried YaST?



  3. #3
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,624
    Blog Entries
    3

    Default Re: How to set time ?

    Quote Originally Posted by kartashevVladimir View Post
    Is here another way to do it?
    The running system depends on the symbolic link at "/etc/localtime". That needs to agree with what is in "/etc/sysconfig/clock".

    As another responder suggested, the best would be to use Yast, which will probably manage to keep everything consistent.

    For temporary zone changes, as when traveling with my laptop, I just set TZ in the environment in my shell profile. The desktop software should all inherit that value of TZ.

    A few lines from ".profile"
    Code:
    ### check for a temporary timezone change.
    if [ -r $HOME/timezone.sh ] ; then
            . $HOME/timezone.sh 
    fi
    If traveling to New York, I would create "timezone.sh" with
    Code:
    TZ=US/Eastern
    export TZ
    and, on return home, I would delete that file.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •