F5F Stay Refreshed Software Operating Systems Create a shortcut on the Ubuntu desktop to launch a browser on a specific site.

Create a shortcut on the Ubuntu desktop to launch a browser on a specific site.

Create a shortcut on the Ubuntu desktop to launch a browser on a specific site.

M
mistercraft77
Posting Freak
900
10-30-2020, 12:49 PM
#1
Hello, I'm using Ubuntu 20.04 on my ThinkPad T61. I need a desktop shortcut that launches the webbrowser and opens a website. I've tried before but it didn't work. [Desktop Entry] Version=1.0 Name=Apple Music GenericName=Open's the Brave browser with the web client of Apple Music. Comment=Open's the Brave browser with the web client of Apple Music. Exec=/usr/share/applications/brave-browser.desktop https://music.apple.com/de/browse Path=/usr/share/applications/Icon=/home/leon/Downloads/ami.png Terminal=False Type=Application Categories=Application What can I do to make this work? I've changed the code a few times but nothing functioned. Thanks and have a nice day. Best regards, Leon
M
mistercraft77
10-30-2020, 12:49 PM #1

Hello, I'm using Ubuntu 20.04 on my ThinkPad T61. I need a desktop shortcut that launches the webbrowser and opens a website. I've tried before but it didn't work. [Desktop Entry] Version=1.0 Name=Apple Music GenericName=Open's the Brave browser with the web client of Apple Music. Comment=Open's the Brave browser with the web client of Apple Music. Exec=/usr/share/applications/brave-browser.desktop https://music.apple.com/de/browse Path=/usr/share/applications/Icon=/home/leon/Downloads/ami.png Terminal=False Type=Application Categories=Application What can I do to make this work? I've changed the code a few times but nothing functioned. Thanks and have a nice day. Best regards, Leon

C
ckg63
Member
196
10-30-2020, 01:08 PM
#2
Create a desktop shortcut for a URL using UTF-8 encoding. The entry should display the link correctly. If you're using Brave as your default browser, it should open the link with Brave. Instead of referencing another .desktop file in "Exec," ensure the path points to the actual browser executable (you can find this in the Brave-browser.desktop file).
C
ckg63
10-30-2020, 01:08 PM #2

Create a desktop shortcut for a URL using UTF-8 encoding. The entry should display the link correctly. If you're using Brave as your default browser, it should open the link with Brave. Instead of referencing another .desktop file in "Exec," ensure the path points to the actual browser executable (you can find this in the Brave-browser.desktop file).

T
tamemarco
Senior Member
482
10-30-2020, 03:17 PM
#3
I am familiar with the following resources on plasma [Desktop Entry] with the link provided:
T
tamemarco
10-30-2020, 03:17 PM #3

I am familiar with the following resources on plasma [Desktop Entry] with the link provided:

R
Rxnger
Member
198
10-30-2020, 07:11 PM
#4
Thank you for your messages. The .desktop file doesn't display the icon I mentioned, and when I attempt to launch it, it reports an error indicating a missing command. Unfortunately, I can't determine exactly which command is missing.
R
Rxnger
10-30-2020, 07:11 PM #4

Thank you for your messages. The .desktop file doesn't display the icon I mentioned, and when I attempt to launch it, it reports an error indicating a missing command. Unfortunately, I can't determine exactly which command is missing.

R
ryder873
Member
66
11-07-2020, 08:11 AM
#5
Gnome might not link a default URL handler. Check /usr/share/applications/brave-browser.desktop and retrieve the brave-browser path instead of relying on brave-browser.desktop. Use the command as shown.
R
ryder873
11-07-2020, 08:11 AM #5

Gnome might not link a default URL handler. Check /usr/share/applications/brave-browser.desktop and retrieve the brave-browser path instead of relying on brave-browser.desktop. Use the command as shown.