Hot answers tagged time
Any idea how I change from IST to GMT? To switch to UTC, simply execute sudo dpkg-reconfigure tzdata, scroll to the bottom of the Continents list and select Etc; in the second list, select UTC. If you prefer GMT instead of UTC, it's just above UTC in that list. :)
As a regular user run this in a terminal when using gnome-shell: gsettings set org.gnome.desktop.interface clock-show-date true For 11.10, use this instead: gsettings set org.gnome.shell.clock show-date true Hope this is what you're looking for!
Because of the way the two operating systems set the hardware clock. by Default ubuntu uses UTC, and windows localtime. So when you shut down, your hard ware clock is set to say "13:00". When you boot, windows sees "13:00" as localtime, so 1 PM, but Ubuntu sees that as UTC and so converts the time back from UTC to local time. You can fix this by either ...
Reference: http://www.maketecheasier.com/date-time-missing-ubuntu-1310/ 01) Reinstall indicator-datetime. It should be installed by default, but just in case you have removed it unknowingly, it is best to run the install command again. sudo apt-get install indicator-datetime 02) Next, we are going to reconfigure the date time: sudo ...
After mucking around for most of the day, I have come to the following conclusion: ntpdate-debian is the version to use if you want to use a config script, and in that case, you would edit the /etc/default/ntupdate file. ntpdate cannot be used without arguments nor does it have a config file. If you want to use this to update, you have to state the ntp ...
The normal way : Go to System -> Administration -> Language Support On the Text Tab, choose your prefered language to display numbers, dates, ... The advanced way for your Desktop Applet : Press Alt+F2 Type: gconf-editor & Hit return Navigate to “Apps > Panel > Applets > Clock_Screen0 > Prefs” Double-click on the ‘Format’ value. Change it to ...
I don't know of a single file, but this may give you the info needed: cat /etc/timezone grep UTC /etc/default/rcS date # hardware clock sudo hwclock --show
Yes, run this command in a Terminal: gsettings set org.gnome.shell.clock show-seconds true And you can verify with: gsettings get org.gnome.shell.clock show-seconds Or you can install dconf-tools and use dconf-editor to browse to org.gnome.shell.clock
It is happening to me sometimes, the solution is: sudo restart lightdm WARNING: This will logout all users immediately, possibly losing data.
Sounds like you have a timezone issue. The easiest way to fix this is to reconfigure the tzdata package sudo dpkg-reconfigure tzdata There are alternative ways, like symlinking the correct zonefile from /usr/share/zoneinfo to /etc/localtime which will inform the system of the proper time: ln -sf /usr/share/zoneinfo/America/New_York /etc/localtime ...
sudo dpkg-reconfigure tzdata then go to Etc, there to UTC, enter, you're done. It actually changes files /etc/timezone and /etc/localtime.
I don't think you can achieve exactly the same effect without modifying the bash source. But you can get close, hopefully close enough for you. You can combine bash's hacky precommand hook and the SECONDS variable to show the wall clock time in a non-intrusive way. Here's a simple implementation due to Ville Laurikari. The functions timer_start and ...
Unable to find UTC or GMT in the menu, I ended up running tzselect from the command prompt. I selected 11, enter posix standard time, then entered UTC-0. This appears to have done it. thanks for all of the help.
Edit the file /etc/default/rcS with your favorite text editor, ie: sudo nano /etc/default/rcS Look for the UTC=foo (yes/no) line and change it to UTC=yes. From the rcS(5) man page: UTC This is used to govern how the hardware real time clock is interpreted when it is read (e.g., at boot time, for the purpose of setting the system clock) and ...
ntpdate is deprecated as of September 2012; apparently ntpd now has the ability to do one-time updates if needed, and ntpdate is based on "long-neglected" ntpd code. (News to me, since my system has ntpdate but not ntpd! I'll be fixing that presently; thanks for asking this question.) As for the difference between continuous versus periodic updates, I think ...
As mentioned in another answer, if you are running Ubuntu as a Guest under VirtualBox then you should be aware that the system time is automatically kept in sync by the Guest Additions (i.e., not through an option in the motherboard settings). Your solution in that case is to disable the Guest Additions, which can be achieved by executing sudo service ...
I'd switch to a virtual terminal at the GDM login screen (Ctrl+Alt+F1), log in and start iotop (you maybe need to install it first). Then switch back to GDM (Ctrl+Alt+F7), log in, and immediately switch back to iotop using Ctrl+Alt+F1. You should now see, which process is responsible for the heavy IO. Forgot to mention an alternative: you could try using ...
Maybe you should try changing your motherboard's battery. It's a possible cause.
Give a try to uptime command, $ uptime -s 2014-06-17 09:36:38 OR $ uptime -p up 10 hours, 12 minutes From uptime --help -p, --pretty show uptime in pretty format -s, --since system up since From man uptime, uptime gives a one line display of the following information. The cur‐ rent time, how long the system has been running, how many ...
Your hosting provider is blocking ntp packets. This heavy handed approach has been implemented by some ISPs in response to the DDoS attacks. You can see that ntpdate is sending the packets fron the ntpdate -vd : transmit(126.96.36.199) transmit(188.8.131.52) transmit(184.108.40.206) transmit(220.127.116.11) I would contact your ISP and ask if they are blocking ...
You'll have to do some manual editing using nano, or your editor of choice: sudo nano /etc/default/ntpdate and change the NTPSERVERS="ntp.[your-server-here]" If you restart your computer this change will be made active. If you're feeling impatient and don't want to wait for the server to automatically update you can do it manually: sudo ntpdate-debian ...
If you want to change the time format to German , you must install the German language from the Language Support and then set the "Regional Settings" in German If you want to change the format in Date and Time , you must install dconf-tool . From terminal do sudo apt-get install dconf-tools Find it through Dash by writing dconf open it and goto Com ...
The clock loosing time is most likely to be caused by a fault CMOS battery. You can work around it by running ntp. You can do this easily via the clock. Click on the clock and choose the bottom option of "Time & Date Settings..." You have to "unlock to change these settings" and enter your password. Near the bottom, where it says "Set the time", ...
This is because time is a bash builtin command - and the builtin doesn't support the options you're trying to use. Try this, use the full path of time to skip the built-in and use the real one: /usr/bin/time -f "%E" ls -l
It's simple .... Edit /etc/php5/apache2/php.ini this file which is used for PHP configuration by Apache & add below line in it. This is the right php.info path for the Apache web server, otherwise use the respective web-server's folder in the /etc/php5/ location. List of supported timezone in PHP click here. date.timezone = "Asia/Kolkata" ...
The drift file is /var/lib/ntp/ntp.drift. This is fairly standard. For RH/Fedora, it's /var/lib/ntp/drift. The units for the drift file are "PPM", or "parts per million". Your clock will drift due to fluctuations in the frequency oscillating the quartz crystal on your motherboard. A fluctuation of just 0.001% means losing or gaining about 1 second per day. ...
Click on the clock, and then select time and date settings, and then select "Manually" You can also ensure the ntp package is not installed (clicking on the button will show if you if you have it installed or not:
You can set the hardware clock with the command (for example) sudo hwclock --set --date="2012-12-15 20:49:00" You then need to syncronise the system clock to the hardware clock: sudo hwclock -s Reference: $ man hwclock
There are a couple of shutdown timers available on Launchpad that look interesting. Easyshutdown - simply shuts down your PC ComplexShutdown - it has much more options such as hibernate/suspend etc.
If you install the tzdata source package, you will find all your answers: sudo apt-get install apt-src mkdir tzdata && cd tzdata apt-src install tzdata Specifically: posix and right: Two different versions are provided: - The "posix" version is based on the Coordinated Universal Time (UTC). - The "right" version is based on the ...
Only top voted, non community-wiki answers of a minimum length are eligible