- This topic has 3 replies, 4 voices, and was last updated Dec 2-12:28 pm by PPC.
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Forum for users of antiX Linux. Mean and Lean and Proudly anti-fascist.
Forum › Forums › New users › New Users and General Questions › .desktop files that don’t execute
Tagged: desktop
Hello,
I built Emacs 29 and part of the build includes creating .desktop files for it. However, these files do not start Emacs. I can click them on the menu, and various places I moved them (e.g., /usr/share/applications/antix) – no joy. Emacs itself runs fine from a command line.
I’ve compared properties, ownership, permissions, text of the files themselves, to working shortcuts. They look correct in every respect. I’ve never had this happen. I’ve made these files by hand before and they just work. (However, that was always in XFCE.) What is the mojo to get these files to execute on demand here?
Thanks.
mp
--
"Do not forget to do good, and to share what you have." - Hebrews 13:16
Show us one. Either copy & paste between CODE markers, or attach to the post…
confirmed antiX frugaler, since 2019
Been there, gave up, I use the application from control center, add to personal menu, take any application, change name, path, icon, refresh menu.
Try something like this- it should run any cli command stated in the Exec line (between the ‘ and the ; signs):
[Desktop Entry]
Version=1.0
Name=Emacs
Comment=Run Emacs
Exec=bash -c 'emacs;$SHELL'
Icon=utilities-terminal
Terminal=true
Type=Application
Categories=Application;
| Cookie | Duration | Description |
|---|---|---|
| cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
| cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
| cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
| cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
| cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
| viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |