2

I downloaded to a new computer the pcloud application (a cloud backup service). I've used it for a while and it works great. However, when I launched it I ran it straight from my "Downloads" directory instead of moving it to a better place first.

The application installs itself in the Applications menu on the xfce4 toolbar. When I re-launch it from the command line in its new location, it does not automatically fix the menu entry. The failure of course is that the binary it expects to be there in my Downloads folder is missing.

(Oddly, the "Applications" menu launched from the right-mouse popup on the desktop does not include the pcloud link at all.)

What can I do to repair the Applications menu entry?

3
  • 2
    Did it create a .desktop file in ~/.local/share/applications which you could edit (or delete to let it be recreated)?
    – Byte Commander
    Feb 6, 2019 at 0:02
  • I don't know but I'll check
    – Pointy
    Feb 6, 2019 at 0:13
  • @ByteCommander that was what I was looking for, thanks. I'll upvote and accept an answer if you like.
    – Pointy
    Feb 6, 2019 at 0:16

1 Answer 1

4

Application menu (or launcher or dash or however your desktop environment calls it) entries are usually defined by .desktop files, which are just regular text files that contain the needed information like name, command, icon, etc. in a specific format.

There are two places where these files are stored, either globally for all users in /usr/share/applications or locally for your own user account only in ~/.local/share/applications. If the system created such an entry for you and you were not required to enter your sudo password, it should be in the user location.

You can search for a .desktop file in that folder which corresponds to your application in question and either manually edit it with your favourite text editor to fix the command/executable path (some line starting with Exec=), or just delete the file and let your application recreate it.

1
  • That was it alright, and repairing the file was obvious (to me at least; I can imagine it'd be a little weird for somebody not used to editing text configuration files). Thank you for the help.
    – Pointy
    Feb 6, 2019 at 0:29

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .