How do I change the icon of an internet shortcut (to a webpage, not an app), in this case one that will open in Chrome? This change is to be for a specific shortcut, not a global change. If it makes a difference, the URLis http://client.foldingathome.org/ Thank you.
Asked
Active
Viewed 1,792 times
2
-
Just edit the launcher (same as shortcut, I guess) and select another icon. It is a text file, so use a text editor. – mikewhatever Jul 28 '19 at 19:18
-
First thing I tried was to edit the shortcut's properties. No option to change the icon. Note, this is the Pop OS version of Ubuntu. – Steev43230 Jul 28 '19 at 19:23
-
Popos is not Ubuntu, and it isn't supported here. Perhaps they use different tech for "shortcuts", who knows. – mikewhatever Jul 28 '19 at 19:46
-
Possible duplicate of Create a shortcut for URL? – Eliah Kagan Aug 01 '19 at 09:31
-
Refer this: https://askubuntu.com/a/1181688/534414 – Akshar Patel Oct 17 '19 at 18:27
2 Answers
1
Taking a hint from Jamie, I abandoned editing the original file, asked Google, and found the answer here.
The new file contains the following text only* and works great.
[Desktop Entry]
Encoding=UTF-8
Name=F@H WebCtrl
Type=Link
URL=http://client.foldingathome.org/
Icon=/home/steve/Downloads/cropped-folding-at-home-logo-1-300x300.png
*provided you edit the .desktop file and DO NOT select the icon to Open with Other Application
.

Steev43230
- 111
0
Manually edit the desktop launcher file using a text editor such as nano
or gedit
:
gedit FoldingClient.desktop
This should load a file starting with [Desktop Entry]
.
Find the line starting with Icon
, or add it if is doesn't exist. You can specify a path to your desired icon:
Icon=/home/user/Pictures/FoldingIcon.png

jamieweb
- 250
- 1
- 2
- 6
-
Thanks, jamieweb. How do I deal with the error, "Could not save the file "http://client.foldingathome.org/" - Cannot handle "http:" locations in write mode. Please check that you typed the location correctly and try again"? P.S. I cannot access the file via Terminal - all I get is a blank file. I can access it by right-click and open with Text editor, but obviously cannot do so as sudo. – Steev43230 Jul 28 '19 at 20:54
-
Actually, the file starts out (with new icon identified) with `
Local Folding@home Web Control ` – Steev43230 Jul 28 '19 at 21:04