Results 1 to 2 of 2

Thread: Creating URL specific shortcuts/launchers on Lubuntu Desktop with their own icons

  1. #1
    Join Date
    Dec 2006
    Location
    Bangalore, India
    Beans
    8
    Distro
    Ubuntu 9.10 Karmic Koala

    Creating URL specific shortcuts/launchers on Lubuntu Desktop with their own icons

    Hi,

    Would like to add some icons that correspond to Office 360 Outlook, Word, Powerpoint etc. on my Lubuntu Desktop for faster access, s.t. those URLs open with browser of my preference (Firefox).
    Right clicking on Desktop doesn't show any "Create URL" type of entry, but just an Empty File. What I did try was to name the file as Outlook.sh with the following text:
    Code:
    #!/bin/sh
    firefox https://outlook.office.com/mail/inbox
    Then I changed the permission to execute. Right-clicking on it, I don't see any way to change the associated ICON (it stays same of Text file), and double-clicking on it I am prompted that this is shell-script and if I'd like to Execute it or Execute it in a terminal. I don't want to see that prompt and for it to be directly opened in Firefox (without executing it in a terminal) and for the icon to be an icon of my choice (ideally the Office360 icons). Can this be achieved ?

    regards,
    BD
    Last edited by bdutta; 1 Week Ago at 09:31 AM.

  2. #2
    Join Date
    Dec 2014
    Beans
    1,012

    Re: Creating URL specific shortcuts/launchers on Lubuntu Desktop with their own icons

    Don't use a script, use a .desktop-file. Put this
    Code:
    [Desktop Entry]
    Type=Link
    Name=Outlook
    URL=https://outlook.office.com/mail/inbox
    Icon=put-the-path-and-filename-for-your-Icon-here
    in a text file named 'outlook.desktop' on your desktop (replacing the red part with a valid path and filename) and mark the file as executable.

    Holger

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
  •