Results 1 to 4 of 4

Thread: failed to create a url link on the desktop

  1. #1
    Join Date
    Feb 2010
    Beans
    17

    Question failed to create a url link on the desktop

    I am trying to create on the desktop a shortcut to an internet site.

    I did the following:

    - created a file ~/Desktop/ubuntu.desktop
    - added to the file this content:

    Code:
    [Desktop Entry]
    Version=1.0
    Type=Link
    Name=Ubuntu Forums
    Comment=
    Icon=gnome-fs-bookmark
    URL=https://ubuntuforums.org
    - made the file executable

    Code:
    chmod +x ubuntu.desktop
    I only get to see the file "ubuntu.desktop" on the desktop, and double clicking the link open the file for edit (as it would for any text file).

    I am on ubuntu 20.04.

    Anything am I missing ?

  2. #2
    Join Date
    Jun 2020
    Beans
    297

    Re: failed to create a url link on the desktop

    what browser ? I'm using Brave and it's as simple as more tools - create shortcut...and voila,there's the shortcut to the site on desktop and it works.
    ps. i'm using xubuntu,don't know if that matters
    xubuntu 20.04.3 LTS (focal fossa)

  3. #3
    Join Date
    Jan 2006
    Location
    Sunny Southend-on-Sea
    Beans
    8,414
    Distro
    Kubuntu 20.04 Focal Fossa

    Re: failed to create a url link on the desktop

    I'm pretty sure Gnome removed the ability to launch things from the desktop. You might be able to get the functionality back with an extension.

  4. #4
    Join Date
    Dec 2009
    Beans
    6,576

    Re: failed to create a url link on the desktop

    Change this:
    [Desktop Entry]
    Version=1.0
    Type=Link
    Name=Ubuntu Forums
    Comment=
    Icon=gnome-fs-bookmark
    URL=https://ubuntuforums.org
    To this:
    [Desktop Entry]
    Version=1.0
    Type=Application
    Name=Ubuntu Forums
    Comment=
    Icon=gnome-fs-bookmark
    Exec=firefox https://ubuntuforums.org
    Change firefox to your default browser.

    Save the file then right click the icon on the desktop and select Allow Launching:
    AllowLaunching.png

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •