How do I change Neo's timezone?

Discussion in 'UDOO NEO' started by Vinz87, Jan 17, 2016.

  1. Vinz87

    Vinz87 UDOOer

    Joined:
    Nov 11, 2015
    Messages:
    105
    Likes Received:
    19
    I don't see how to change Neo's timezone in Linux
     
  2. sambrin

    sambrin New Member

    Joined:
    Jan 7, 2016
    Messages:
    7
    Likes Received:
    1
    sudo dpkg-reconfigure tzdata


    Sent from my iPhone using Tapatalk
     
  3. Vinz87

    Vinz87 UDOOer

    Joined:
    Nov 11, 2015
    Messages:
    105
    Likes Received:
    19
    thanks
     
  4. Vinz87

    Vinz87 UDOOer

    Joined:
    Nov 11, 2015
    Messages:
    105
    Likes Received:
    19
    Unfortunately it gets reset after reboot: is it possible to change it permanently?
     
  5. Felix Serna

    Felix Serna New Member

    Joined:
    Jan 18, 2016
    Messages:
    2
    Likes Received:
    4
    Try to edit the file:
    /opt/udoo-web-conf/shscripts/timezone.sh

    with something like:
    cp -f /usr/share/zoneinfo/Europe/Madrid /etc/localtime

    Obviously change the continent/city with your appropriate info (look for the file inside the "/usr/share/zoneinfo" directory which better suits your location)

    Félix
     
    Last edited: Jan 21, 2016
    Andrea Rovai and Xykon like this.
  6. Andrea Rovai

    Andrea Rovai Well-Known Member

    Joined:
    Oct 27, 2014
    Messages:
    1,703
    Likes Received:
    240
    Has it worked?
     
  7. Vinz87

    Vinz87 UDOOer

    Joined:
    Nov 11, 2015
    Messages:
    105
    Likes Received:
    19
    Yes it worked, I modified the timezone written in that file, and Neo stored it permanently.


    Inviato dal mio iPhone utilizzando Tapatalk
     
    lomby and Andrea Rovai like this.
  8. lomby

    lomby New Member

    Joined:
    Mar 14, 2016
    Messages:
    1
    Likes Received:
    0
    Worked also for me.
    But i want to underline that "sudo dpkg-reconfigure tzdata" command is needed anyway.
     
  9. Francesco

    Francesco Active Member

    Joined:
    Jun 23, 2015
    Messages:
    220
    Likes Received:
    110
    In the next days a new release of udoo-web-conf will be released. It features a GUI tool to change the timezone.
     
    Vinz87 and waltervl like this.
  10. Danilo Micu

    Danilo Micu New Member

    Joined:
    Mar 14, 2016
    Messages:
    6
    Likes Received:
    0
    I just uncomment the Los Angeles line and commneted out the Tokyo line.

    #!/bin/bash

    sudo cp -f /usr/share/zoneinfo/America/Los_Angeles /etc/localtime
    #sudo cp -f /usr/share/zoneinfo/Europe/Rome /etc/localtime
    #sudo cp -f /usr/share/zoneinfo/Asia/Tokyo /etc/localtime

    It worked but you need to get around the permission of the file else it wili not be saved.

    try: sudo nano /opt/udoo-web-conf/shscripts/timezone.sh.

    Doing this you will save the changes.
     

Share This Page