You are not logged in.
Pages: 1
Hi I'm new to #! Is there a GUI to change time zone available?
I've installed #! on a netbook that I use for travelling so it is useful to change zone with minimal fuss.
Last edited by vajra (2014-08-02 16:36:36)
Other distros I use / have used... opensuse, ubuntu, eeebuntu, mint, centos, puppy, debian stable. Crunchbang is the perfect lightweight distro for my eee pc 901 netbook
Offline
Have you tried "sudo dpkg-reconfigure tzdata"? It gives you two lists you can select from -- almost a GUI, and if you stay in one country you don't even have to change the first list. It's really not that difficult.
Last edited by porkpiehat (2014-01-13 19:21:48)
There are no stupid questions. Only stupid people.
Offline
yes i found that but it's not the sort of thing i'm likely to remember on a plane flying somewhere without internet.
Also, I'm not sure the change is permanent. I'll try experiementing.
Last edited by vajra (2014-01-13 19:32:42)
Other distros I use / have used... opensuse, ubuntu, eeebuntu, mint, centos, puppy, debian stable. Crunchbang is the perfect lightweight distro for my eee pc 901 netbook
Offline
You can make an alias in your .bashrc file:
alias timezone='sudo dpkg-reconfigure tzdata'then just type "timezone" in a terminal. You could also bind a key in Openbox to start a terminal and run the command.
There are no stupid questions. Only stupid people.
Offline
You can make an alias in your .bashrc file:
alias timezone='sudo dpkg-reconfigure tzdata'then just type "timezone" in a terminal. You could also bind a key in Openbox to start a terminal and run the command.
+1 I was literally just typing that when your post appeared 
I often make OB menu entries/keybinds/bash aliases for longish/hard to remember commands.
"Hey, we're CrunchBang users! What could happen?"
--modified quote from The Incredibles 
Offline
ok thanks. i guess i'm getting used to how lightweight #! is - which is what i wanted anyway! I'm used to distros with a lot more guis.
Other distros I use / have used... opensuse, ubuntu, eeebuntu, mint, centos, puppy, debian stable. Crunchbang is the perfect lightweight distro for my eee pc 901 netbook
Offline
Only GUI I could locate for this is part of gnome-system-tools. Apparently gnome-control-center is a necessary recommends (couldn't "unlock" time-admin without it installed), and this currently pulls most of Gnome 3 even if --no-install-recommends is specified.
Offline
And the interesting thing is that "dpkg-reconfigure tzdata" is an ncurses GUI -- all it really does is change the contents of /etc/localtime and /etc/timezone. Almost everything in Linux is controlled by a text config file somewhere.
So the gnome utility, in the end, probably just changes the contents of a few files.
https://wiki.debian.org/TimeZoneChanges
To see or change what timezone your Debian system is configured for,
# dpkg-reconfigure tzdataWhat does this do? It changes /etc/localtime.
Last edited by porkpiehat (2014-01-13 21:27:51)
There are no stupid questions. Only stupid people.
Offline
gnome-control-center isn't what is needed for unlocking the gnome-system-tools functions, although maybe it brought something else with it. policykit-1-gnome?
Offline
I didn't actually go through with installing gnome-control-center as I didn't want to bork my system (as Gnome 3 is wont to do on Openbox systems). I already had policykit-1-gnome on my system, probably pulled in as a recommends or dependency by something else I had already manually installed.
Offline
I installed gnome-system-tools (on a test machine), and "sudo time-admin" does work, but it seems silly to me to install 10M of Gnome just to get a different GUI front-end to dpkg-reconfigure tzdata.
Last edited by porkpiehat (2014-01-13 23:21:54)
There are no stupid questions. Only stupid people.
Offline
So yeah, I agree that, as things stand, dpkg-reconfigure is the best tool for the job. But surely somebody's built a pretty little GTK interface for it somewhere?
Offline
So yeah, I agree that, as things stand, dpkg-reconfigure is the best tool for the job. But surely somebody's built a pretty little GTK interface for it somewhere?
I looked in the past and never found one. Not a function I need very often anyway 
Offline
You can put all the town you will go in your conky like that :
Pingelly:${alignc}${font arial:size=12}${time %H:%M:%S}${font}
Paris: ${alignc}${font arial:size=12}${tztime Europe/Paris %H:%M:%S}${font}
NY: ${alignc}${font arial:size=12}${tztime America/New_York %H:%M:%S}${font}
LA: ${alignc}${font arial:size=12}${tztime America/Los_Angeles %Hthe source : thanks to Arpinux
I need to learn how to speak/write English big_smile
latest Firefox on #! handylinux
Offline
You can put all the town you will go in your conky like that :
Pingelly:${alignc}${font arial:size=12}${time %H:%M:%S}${font} Paris: ${alignc}${font arial:size=12}${tztime Europe/Paris %H:%M:%S}${font} NY: ${alignc}${font arial:size=12}${tztime America/New_York %H:%M:%S}${font} LA: ${alignc}${font arial:size=12}${tztime America/Los_Angeles %Hthe source : thanks to Arpinux
Funnily enough I just did something like that last night! Looks great. But I'm also going to add an easy way of changing the main time zone by adding this to menu.xml
<item label="timezone">
<action name="Execute">
<command>
terminator -x sudo dpkg-reconfigure tzdata
</command>
</action>
</item>I think I'll mark this topic solved
Other distros I use / have used... opensuse, ubuntu, eeebuntu, mint, centos, puppy, debian stable. Crunchbang is the perfect lightweight distro for my eee pc 901 netbook
Offline
I realised this isn't actually solved. It apparently works...
sudo dpkg-reconfigure tzdata
Current default time zone: 'Europe/London'
Local time is now: Fri Aug 1 19:02:49 BST 2014.
Universal Time is now: Fri Aug 1 18:02:49 UTC 2014.However, the time shown in tint is still Madrid eg: 20:02 instead of 19:02
My tint2rc has
# Clock
time1_format = %H:%MI also tried
# Clock
time1_format = %TBut that gives the Madrid time too.
How can I get tint to change the time zone on its clock?
Other distros I use / have used... opensuse, ubuntu, eeebuntu, mint, centos, puppy, debian stable. Crunchbang is the perfect lightweight distro for my eee pc 901 netbook
Offline
Tint2 is a little funny about updating changes; even if you use the "Restart tint2" shortcut in the right-click menu, some changes - especially lower system-level changes like those affected by dpkg-reconfigure - might not be reflected until after a logout/login or a reboot. Have you already rebooted, and is tint2 still showing the wrong time?
Offline
Rebooting doesn't change anything.
Other distros I use / have used... opensuse, ubuntu, eeebuntu, mint, centos, puppy, debian stable. Crunchbang is the perfect lightweight distro for my eee pc 901 netbook
Offline
I've been trying everything to change my system time, but it seems to be locked somehow.
This page http://www.cyberciti.biz/faq/howto-linu … -variable/
suggests a number of methods but I remain on CEST – Central European Summer Time.
Example of what I've tried...
date
Sat Aug 2 18:27:52 CEST 2014
sudo ln -sf /usr/share/zoneinfo/Europe/London localtime
date
Sat Aug 2 18:27:52 CEST 2014So my question is
Is there something about the way Crunchbang is set up that won't allow these methods to work?
Results of the standard method talked about on this forum...
xxx@xxx:/usr/share/zoneinfo/Europe$ date
Sat Aug 2 18:49:02 CEST 2014
xxx@xxx:/usr/share/zoneinfo/Europe$ sudo dpkg-reconfigure tzdata
Current default time zone: 'Europe/Madrid'
Local time is now: Sat Aug 2 18:49:40 CEST 2014.
Universal Time is now: Sat Aug 2 16:49:40 UTC 2014.
xxx@xxx:/usr/share/zoneinfo/Europe$ date
Sat Aug 2 18:49:54 CEST 2014
xxx@xxx:/usr/share/zoneinfo/Europe$ sudo dpkg-reconfigure tzdata
Current default time zone: 'Europe/London'
Local time is now: Sat Aug 2 17:50:04 BST 2014.
Universal Time is now: Sat Aug 2 16:50:04 UTC 2014.
xxx@xxx:/usr/share/zoneinfo/Europe$ date
Sat Aug 2 18:50:11 CEST 2014Last edited by vajra (2014-08-02 16:54:07)
Other distros I use / have used... opensuse, ubuntu, eeebuntu, mint, centos, puppy, debian stable. Crunchbang is the perfect lightweight distro for my eee pc 901 netbook
Offline
I think it should be:
sudo ln -s /usr/share/zoneinfo/Europe/London /etc/localtimeOffline
I think it should be:
sudo ln -s /usr/share/zoneinfo/Europe/London /etc/localtime
I ran it from the /etc directory which is the same & as I understand it "dpkg-reconfigure tzdata" changes the contents of /etc/localtime and /etc/timezone anyway, so there is something else going on.
Other distros I use / have used... opensuse, ubuntu, eeebuntu, mint, centos, puppy, debian stable. Crunchbang is the perfect lightweight distro for my eee pc 901 netbook
Offline
Please post the output of the following commands, and also give us the correct local time (what does a clock on your wall show?) when you run these commands:
sudo hwclock --debug
cat /etc/adjtimeLast edited by porkpiehat (2014-08-02 19:12:52)
There are no stupid questions. Only stupid people.
Offline
xxx@xxx:/etc$ sudo hwclock --debug
[sudo] password for xxx:
hwclock from util-linux 2.20.1
Using /dev interface to clock.
Last drift adjustment done at 1406932284 seconds after 1969
Last calibration done at 1406932284 seconds after 1969
Hardware clock is on UTC time
Assuming hardware clock is kept in UTC time.
Waiting for clock tick...
...got clock tick
Time read from Hardware Clock: 2014/08/02 19:55:34
Hw clock time : 2014/08/02 19:55:34 = 1407009334 seconds since 1969
Sat 02 Aug 2014 21:55:34 CEST -0.505627 seconds
xxx@xxx:/etc$ cat /etc/adjtime
0.003267 1406932284 0.000000
1406932284
UTC
xxx@xxx:/etc$ In tint2 I get CEST time. Conky shows me 6 different time zones all correctly. What I would like is to be able to change the system time & tint time to my local time where ever I am. Normally I am in Spain (CEST) but right now I want London time. I keep glancing at the tint clock & think I'm an hour late!
Thanks for any help you can give.
Other distros I use / have used... opensuse, ubuntu, eeebuntu, mint, centos, puppy, debian stable. Crunchbang is the perfect lightweight distro for my eee pc 901 netbook
Offline
I realised I can change the time zone of the tint2 clock by ading this line to tint2rc
time1_timezone = :Europe/LondonAt least that way I am seeing the local time on my screen even if the system time is stuck on Madrid. Not very elegant but that way I can change the clock to the local time wherever I am.
Other distros I use / have used... opensuse, ubuntu, eeebuntu, mint, centos, puppy, debian stable. Crunchbang is the perfect lightweight distro for my eee pc 901 netbook
Offline
Pages: 1
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.