[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: vreemde bug met online account gnome 3.4



Paul Gevers schreef op wo 30-10-2013 om 19:40 [+0100]:
>> Heb je ntp geinstalleerd?  Dat lost meestal alle tijd-problemen op.

Vast, maar niet je tijdzone. Het zorgt er alleen maar voor dat je
systeemklop op UTC loopt. Als je tijdzones goed wil hebben moet je je
systeem vertellen wat je hebt.

$ tzselect # een voorbeeld om het voor je huidige user te regelen.

Paul

tzselect ken ik niet. Maar bij de grafische installatie wordt toch om een tijdzone gevraagd? Dan moet het toch reeds goed ingesteld zijn? Enfin, toch maar even de commando uitproberen. Hieronder is de uitkomst:

familie@Voncken:~$ tzselect
Please identify a location so that time zone rules can be set correctly.
Please select a continent or ocean.
1) Africa
2) Americas
3) Antarctica
4) Arctic Ocean
5) Asia
6) Atlantic Ocean
7) Australia
8) Europe
9) Indian Ocean
10) Pacific Ocean
11) none - I want to specify the time zone using the Posix TZ format.
#? 8
Please select a country.
1) Aaland Islands   18) Greece     35) Norway
2) Albania   19) Guernsey     36) Poland
3) Andorra   20) Hungary     37) Portugal
4) Austria   21) Ireland     38) Romania
5) Belarus   22) Isle of Man     39) Russia
6) Belgium   23) Italy     40) San Marino
7) Bosnia & Herzegovina  24) Jersey     41) Serbia
8) Britain (UK)   25) Latvia     42) Slovakia
9) Bulgaria   26) Liechtenstein     43) Slovenia
10) Croatia   27) Lithuania     44) Spain
11) Czech Republic   28) Luxembourg     45) Sweden
12) Denmark   29) Macedonia     46) Switzerland
13) Estonia   30) Malta     47) Turkey
14) Finland   31) Moldova     48) Ukraine
15) France   32) Monaco     49) Vatican City
16) Germany   33) Montenegro
17) Gibraltar   34) Netherlands
#? 34

The following information has been given:

Netherlands

Therefore TZ='Europe/Amsterdam' will be used.
Local time is now: Wed Oct 30 23:12:56 CET 2013.
Universal Time is now: Wed Oct 30 22:12:56 UTC 2013.
Is the above information OK?
1) Yes
2) No
#? 1

You can make this change permanent for yourself by appending the line
TZ='Europe/Amsterdam'; export TZ
to the file '.profile' in your home directory; then log out and log in again.

Here is that TZ value again, this time on standard output so that you
can use the /usr/bin/tzselect command in shell scripts:
Europe/Amsterdam

Als ik het permanent wil maken, moet dus .profile aangepast worden. Waar in de onderstaande .profile kan "TZ='Europe/Amsterdam'; export TZ" geplaatst worden (als dat tenminste nodig is)?
# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.

# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
#umask 022

# if running bash
if [ -n "$BASH_VERSION" ]; then
    # include .bashrc if it exists
    if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
    fi
fi

# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
    PATH="$HOME/bin:$PATH"
fi

Groet,
Frank
Reply to: