LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-17-2010, 11:29 PM   #1
rabiticide
Member
 
Registered: Dec 2008
Posts: 42

Rep: Reputation: 15
Making a custom timezone


I don't really like Los Angeles (they steal all our water) and neither Tijuana nor Vancouver make sense to me, so I am trying to make my own, custom timezone of Felton, California.

How do I do this? I changed my /etc/timezone to "America/Felton" but upon reboot my calendar still says "Los Angeles"

Which files do I need to change?
 
Old 02-17-2010, 11:37 PM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Just as long as they don't steal your beer.

Anyway, you can't just set a randomly named timezone. You'd need to define it first.
Also the way to do this could be distro specific. For example, in Debian you'd need the file /usr/share/zoneinfo/America/Felton and then you would select it by 'dpkg-reconfigure tzdata'.

Evo2.
 
Old 02-17-2010, 11:51 PM   #3
rabiticide
Member
 
Registered: Dec 2008
Posts: 42

Original Poster
Rep: Reputation: 15
pardus
 
Old 02-18-2010, 12:06 AM   #4
rabiticide
Member
 
Registered: Dec 2008
Posts: 42

Original Poster
Rep: Reputation: 15
kay, now I renamed the /usr/share/zoneinfo/america/Los_Angeles file as .../Felton. Should work, 'cause we're the same timezone, right?

Now my clock says 10:22 p.m. in Felton, but when I minimize it, it says 6:22 a.m. tomorrow??
 
Old 02-18-2010, 12:23 AM   #5
rabiticide
Member
 
Registered: Dec 2008
Posts: 42

Original Poster
Rep: Reputation: 15
...and besides, why did Indiana get eight cities? Vevay Indiana has a population of 1735!!

Who decided that these cities go into ALL distros?
 
Old 02-18-2010, 12:45 AM   #6
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
I don't know how Pardus deals with timezones, and I don't know how your "clock" works. Use the "date" command to get information about the time from your system. If you want this to work I think you'll have to do a little research.

Have fun.

Evo2.
 
Old 02-18-2010, 02:08 AM   #7
rabiticide
Member
 
Registered: Dec 2008
Posts: 42

Original Poster
Rep: Reputation: 15
um... "linux questions" IS my research... is there somewhere else? I don't mean to sound obtuse, but where would I research this?

PS i set my clock to "default to local time" and now it's 11:53 in Felton (what I wanted)

the timezone are bin files which I don't know how to make or alter. Since every distro I've ever seen has the same cities (with 8 silly towns in Indiana) I guess this was done once, a long time ago, by someone in Indiana.

This can be tagged as solved, I guess, but I'm still curious about why Indiana got 8 towns and California just 1...
 
Old 02-18-2010, 02:20 AM   #8
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
First place to start is usually to read any documentation that comes with the package. Then you can also find out where upstream is for the package, visit that web site etc.

Evo2.
 
Old 02-18-2010, 02:40 AM   #9
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
What has this to do with any of the linux distributions or their developers? They are not the people to decide and declare time zones? There should definitely be a independent body for this.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Making custom distro with LFS. Drycola Linux From Scratch 6 09-05-2009 12:16 PM
Making Custom Boot ISO sspisharody Linux - Newbie 1 01-05-2009 01:15 PM
tutorial custom package making? Potatopopper Slackware 4 11-19-2005 04:07 PM
Making custom PC - need compatable setup Ygarl Linux - Hardware 1 09-01-2005 11:23 AM
making custom bootable CD out of ISO? slackman Slackware 5 12-01-2003 12:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration