Broken xfce4 applications menu entry - I know where the executable is but I don't know how to fix it












1















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?










share|improve this question


















  • 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 at 0:02











  • I don't know but I'll check

    – Pointy
    Feb 6 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 at 0:16
















1















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?










share|improve this question


















  • 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 at 0:02











  • I don't know but I'll check

    – Pointy
    Feb 6 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 at 0:16














1












1








1








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?










share|improve this question














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?







xfce menu pcloud






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 5 at 23:55









PointyPointy

66741638




66741638








  • 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 at 0:02











  • I don't know but I'll check

    – Pointy
    Feb 6 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 at 0:16














  • 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 at 0:02











  • I don't know but I'll check

    – Pointy
    Feb 6 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 at 0:16








2




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 at 0:02





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 at 0:02













I don't know but I'll check

– Pointy
Feb 6 at 0:13





I don't know but I'll check

– Pointy
Feb 6 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 at 0:16





@ByteCommander that was what I was looking for, thanks. I'll upvote and accept an answer if you like.

– Pointy
Feb 6 at 0:16










1 Answer
1






active

oldest

votes


















2














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.






share|improve this answer
























  • 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 at 0:29











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1115960%2fbroken-xfce4-applications-menu-entry-i-know-where-the-executable-is-but-i-don%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









2














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.






share|improve this answer
























  • 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 at 0:29
















2














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.






share|improve this answer
























  • 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 at 0:29














2












2








2







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.






share|improve this answer













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.







share|improve this answer












share|improve this answer



share|improve this answer










answered Feb 6 at 0:28









Byte CommanderByte Commander

65.6k27179302




65.6k27179302













  • 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 at 0:29



















  • 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 at 0:29

















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 at 0:29





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 at 0:29


















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1115960%2fbroken-xfce4-applications-menu-entry-i-know-where-the-executable-is-but-i-don%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How to make a Squid Proxy server?

第一次世界大戦

Touch on Surface Book