Hot answers tagged time
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 ...
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. :)
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
This is done by synchronizing with ntpdate tool. man ntpdate NAME ntpdate - set the date and time via NTP ntpdate sets the local date and time by polling the Network Time Proto‐ col (NTP) server(s) given as the server arguments to determine the cor‐ rect time. It must be run as root on the local host (unless the option -q is ...
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!
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(22.214.171.124) transmit(126.96.36.199) transmit(188.8.131.52) transmit(184.108.40.206) I would contact your ISP and ask if they are blocking ...
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 ...
sudo dpkg-reconfigure tzdata then go to Etc, there to UTC, enter, you're done. It actually changes files /etc/timezone and /etc/localtime.
For me, it was enough to restart unity: sudo killall unity-panel-service
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 ...
It is happening to me sometimes, the solution is: sudo restart lightdm WARNING: This will logout all users immediately, possibly losing data.
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 ...
Ubuntu synchronises with the ntpdate utility once at each boot when the network connection comes up. By default Ubuntu does not install an ntp daemon. This can be added by installing the ntp package. The ntp daemon allows for the time to be continually synchronised while the system is running.
Nice question! The script below creates a logfile: ~/viewport_log.txt in your home directory, where it reports the current session's viewport (workspace) usage time per viewport. The report is updated once per two seconds, looking like (in a quick run): workspace1 0:00:24 workspace2 0:00:05 workspace6 0:00:04 workspace8 0:00:05 in the format ...
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 ...
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 ...
Try: sudo ntpdate ntp.ubuntu.com Yes it would certainly mess with the SSL certs because they would be future-dated. It doubt it's a bug in Ubuntu, your CMOS clock in the BIOS must have been set to that somehow.
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 ...
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 ...
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
To only get the total minutes of the day, I would use the following command: $ date "+%H*60+%M" | bc Example: $ date +%R 09:30 $ date "+%H*60+%M" | bc 570 The trick is to format the date output to allow bc to interpret and calculate the formula.
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 ...
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 ...
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 ...
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.
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
Ok, solved it: 1) Make sure you have the locale you need, can't say which you specifically need but when you know you create it like this (using en_DK.utf8) sudo locale-gen en_DK.utf8 2) To make sure this locale is in effect for thunderbird you add it to the script that starts thunderbird, so first find that script: 2a) find the right script which ...
You can use the GUI in the time and date preferences to set your timezone and then be sure to run this command in the terminal: sudo ntpdate ntp.ubuntu.com This will ensure that your machine polls the ubuntu server to get the right time and date for your timezone. To verify, type date in the terminal.
I have found a solution. Read the following material: link Basically if you have Windows host and Ubuntu guest, do the following: Find a name of you VM (Virtual Machine) - run VB, select your VM, open settings, in 'General' tab check the name, e.g. in my case Ubuntu 12.04 32bit In Windows, start a command line interpreter, go to `C:\Program Files\Oracle ...
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 ...
Only top voted, non community-wiki answers of a minimum length are eligible