0

I recently tried to open a URL link I saved onto my desktop by double-clicking it, but it will not open correctly. If I DRAG & DROP the file into chrome works fine. The file is saved with a ".url" extension.

ThunderBird
  • 1,915
  • 13
  • 19
  • 31
  • Just to let you know: 14.04 is unsupported and considered off topic – ldias May 12 '20 at 12:08
  • Your Ubuntu version is no longer supported. You better update it! Your question can be closed because it is off-topic now. – VidathD May 12 '20 at 13:07

1 Answers1

1

See if this works first

This is a known issue with Google Chrome. See:Chrome doesn't recognise .url files properly

The workaround is to use an Extension such as .URL Handler

Once installed you need to go to Chrome Extensions (chrome://extensions/) and turn on Allow access to file URLs toggle.

If it doesn't try this

  1. Paste this in terminal and press enter: ln -s /opt/google/chrome/chrome /usr/bin/chrome
  2. Install thunar file manager: sudo apt-get install thunar
    • Right-click a .URL file
    • Select: "Open With"
    • "Open With Other Application"
    • Select on "Use a custom command" example
  3. Copy the following command to the text-field: bash -c "cat %f | grep URL | cut -d'=' -f2 | xargs chrome &"
  4. Click the default checkbox.

example.

  1. Press open.
  2. You can uninstall thunar file manager: sudo apt-get remove thunar
VidathD
  • 2,594
  • 5
  • 18
  • 49