Help with (.desktop) Desktop Shortcut
#1
Hello,

I am trying to place shortcuts to some websites on my app drawer, but they don't show up. I created some simple .desktop files like this:

Code:
[Desktop Entry]
Name=Pine64 Forum
Type=Link
URL=https://forum.pine64.org
Icon=/home/user/.local/share/app_logos/logo.png

This is, what Firefox creates, when I do this on my desktop pc. The "desktop-file-validate" tool doesn't report errors.
I tried placing the file in "/usr/share/applications" and in "/home/user/.local/share/applications".

I rebooted several times, but I don't get to see anything in the app drawer.

Can someone help me with this?

Thanks!
  Reply
#2
I would think you need to specify how to open the URL:
...
Type=Application
Exec - firefox %u
...
where %u is replace by the URL
Put the entry in "/home/user/.local/share/applications"
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to include desktop file and icon in a postmarketos package patrickMcDonald 0 473 07-27-2023, 12:34 PM
Last Post: patrickMcDonald
  Shortcut Locations sergio.pantalone 0 1,612 09-16-2020, 06:17 AM
Last Post: sergio.pantalone

Forum Jump:


Users browsing this thread: 1 Guest(s)