2

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.

2 Answers2

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.

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