Desktop Icon Labels

How do I change the label associated with an application that is displayed on the desktop? I am trying to do this on my machines running Zorin 18. The app label is ONLYOFFICE and I want to change it to Only Office. It is available to all users, but I can't locate it in /usr/share/applications.

Many thanks,

I am guessing, but have you checked ./local/share/applications?

Probably it is a flatpak or snap package, then it is not shown in this folder but at

/var/lib/flatpak/exports/share/applications (for flatpaks)
or
/var/lib/snapd (for snaps

If you don't find the .desktop file you can try to edit the name in the Zorin menu. Right-click on the Zorin menu > edit menu
and then search for the app, click on it and select properties to edit the name.
Maybe it helps to logout and login again if it isn't applied or to remove the app from the desktop before you edit it and afterwards add it to the desktop.

Edit: I found a guide about finding .desktop files, but I'm not sure if it works in Zorin 18, I haven't tested it yet. You can see there some paths you could check (if the method with editing in main menu doesn't work)

Edit: I have tested the program plocate in Zorin 18 and it works well with apt packages, but I didn't find the .desktop file for the flatpak app flatseal in my test, so I'm not sure if it really works for flatpaks and snaps or if you need to use another command to find it.

Edit: You don't need to search for the file. Right-click on the desktop icon, then select "open with another application" and go to "view all apps" if the texteditor isn't shown. Search for the text editor and click on "select." The file will then be opened and you can edit the name of the file. Then save it.

Welcome to the Forum!

Is Only Office installed as .deb, Snap or Flatpak?

Thank you for all the suggestions and questions! Using this info, I was able to figure it out. The process differs slightly between ZorinOS 17 and ZorinOS 18. Here are the steps:

Zorin 17

  1. Right click on the target icon, and select Properties
  2. Note the LOCATION of the folder listed (ie: /home/"usr-name"/desktop)
  3. Note the name of the file (ie: org.onlyoffice.desktopeditors.desktop)
  4. Use your text editor and change NAME=ONLYOFFICE to NAME=Only Office
  5. Save changes. Reboot is not required

Zorin 18

  1. Right Click on ICON and select Properties
  2. Click on Parent Folder Icon
  3. Select FOLDER icon on Program Name & open with text editor
  4. Follow steps 4 and 5 from ZorinOS 17 steps above.

Again, thank you for your help.

1 Like