Timezones and incorrect KDE time

Forum rules
Before you post please read this

Timezones and incorrect KDE time

Postby vidtek on Fri Aug 15, 2014 1:29 pm

When moving internationally, KDE is very stubborn regarding locales.
There are many different places that require changes to be made.
The most obscure and hardest to track down was .profile in the ~/home/your_user directory.

I couldn't work out what was happeneing, I re-installed Mint17 in my new location Bournemouth UK, and still
Mint thought I was in Perth.

Culprit-I kept my ~/home directory with all the config files in my new install. Simple and obvious when you know, but what a hassle to figure out. I just changed the locale and hey presto - right time.

Here is my old .profile file:

# ~/.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
TZ='Australia/Perth'; export TZ
# 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

As you can see the locale entry was still for Australia/Perth, although relocated back to the UK.
Gigabyte Z68XUD43B i7 16gb ram 5tb GTS450 2 x pcie hr2200 64-bit Mint 17 & win 8.1 mce Be/FE myth 0.27
Laptop Samsung NP R580 i5 nvidia linux Petra & win 8.1 mce
vidtek
Level 1
Level 1
 
Posts: 22
Joined: Sat Jul 14, 2012 9:23 pm
Location: from 13-03-2014 in Bournemouth UK

Linux Mint is funded by ads and donations.
 

Return to KDE

Who is online

Users browsing this forum: Jim Hauser and 2 guests