Found this on Reddit. (r/programmerhumor)
Should help, next time you’re struggling with tar syntax.

Found this on Reddit. (r/programmerhumor)

Should help, next time you’re struggling with tar syntax.

39 notes

Prevent the clock from displaying the wrong time while dual booting.

There’s a glitch I recently came across where I noticed the time on my clock kept either jumping ahead or going back in time every time I booted between my Ubuntu and Windows 7 install.

Apparently it’s caused by the difference in time keeping technique used by both Ubuntu and Windows.

The system, our motherboards specifically, store the current time to be able to count it even if the system isn’t ON and no operating system is booted.

The operating system then retrieves this time later to display it.  

Linux/Unix and Mac usually use UTC to store and retrieve the time from the motherboard, whereas Windows 7 notably saves the time as “local” time.

The difference here causes the time to be displayed incorrectly on either one or both installations.

Luckily, there’s a simple enough solution.

It’s easier make your Linux install switch to “local” as opposed to UTC, than it is to switch your Windows 7 over to UTC. I would also like to give Ubuntu more priority here since this is an Ubuntu blog after all.

Make Ubuntu use “local” time:

  • Edit the file /etc/default/rcS  -  You can do this using gedit, and using the following command:

gksudo gedit /etc/default/rcS

  • Scroll to (or search for) the following line, changing the “yes” to “no.” If it doesn’t already exist, you can also add the line yourself.

UTC=no

Note that the default (as well as recommended,) value for UTC is “yes”.

If you want to go the Windows route, and want to set your Windows 7 install to switch to UTC instead, follow the official Ubuntu help guide here.

You can also find the problem addressed here on AskUbuntu.com.

Your system should stop defying the laws of physics and jumping back and forth between time now.

3 notes

a change of name

I chose to use an edgy and risque name to attract attention when I decided to start this blog. I have to find a job soon, however, and can’t talk about the blog with a name like such with everyone. It would get pretty awkward pretty soon, don’t you think?

So now for the question of what I could rename it to, and I thought it would be a good idea to see if any of you had any suggestions or any other thoughts. Or whether you think I should even change it.

I would really appreciate some feedback.

What do you think?

2 notes