How to Store links in a portable way

Do you save web links (shortcuts) to your file system? If not, you can skip this post.

The problem we have to solve is how to store a web http link to your filesystem so that once you double click it, the URL opens.

In windows you could create url files like in this example.

In linux you could create .desktop files like in this example.

Which is the best way? None. Because both solutions are not platform independent. If you choose to change your operating system later on, none of your links would be working.

The neutral way is to create a simple html file as shown below:

<meta http-equiv="refresh" content="0; url=" />

Double click the html file and voila, the page will open.

Obviously, you can change to URL to whatever you like.



Clock messed up when dual booting

The problem:

  • Linux store the time on the hardware clock as UTC by default
  • Windows store the time on the hardware clock as the local time by default

Since both operating systems access the hardware clock you may encounter problems when you dual boot between them.

A comment for the geeks:

The advantage of having the hardware clock as UTC is that you don’t need to change the hardware clock when moving between timezones or when Daylight Savings Time (DST) begins or ends as UTC does not have DST or timezone offsets.

Changing Windows to use UTC

If you dual boot Windows and Linux/MAC and the clock is messed up after each boot, you should either :

  1. run regedit
  2. navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation
  3. add key RealTimeIsUniversal as DWORD and set it’s value to 1.
  4. disable Windows time service:
sc config w32time start= disabled

You can download a REG script that performs the first 3 steps from hereΒ but you will have to perform the last step (disable the service) manually.

Changing Linux to use local time

Pre-Ubuntu 15.04 systems (e.g. Ubuntu 14.04 LTS):

  1. edit /etc/default/rcS
  2. add or change the following section
# Set UTC=yes if your hardware clock is set to UTC (GMT) UTC=no

Ubuntu 15.04 systems and above (e.g. Ubuntu 16.04 LTS):

  1. open a terminal and execute the following command
timedatectl set-local-rtc 1


Mint 19 Setup Tutorial πŸ…

Basic installation

1 – Preparation and installation

  1. Download rufus
  2. Download latest stable cinnamon version ISO
  3. Use Rufus to create a bootable USB
  4. Boot the system with the USB. You can try to press F10 while booting in order to activate the boot menu. If it does not work you will have to enter the BIOS (you should google for the keyboard shortcut according to the manufacturer).

When you boot from the USB you will most probably be asked whether you want to ue BIOS mode or UEFI mode. If you already have Windows installed in BIOS mode then you should select BIOS mode. In any other case you should select UEFI mode. Continue reading Mint 19 Setup Tutorial πŸ…

Personal portal to the Internet