xed
from the terminal failed to list it anywhere in the Cinnamon menu. Already reset the menu to defaults, but it didn't help. Uninstalled and reinstalled it through the Software Manager, which finally created the local .desktop file.[SOLVED] Rebuilding apps' .desktop files
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
[SOLVED] Rebuilding apps' .desktop files
Is there a gnome, or system utility to clean and rebuild the .desktop files of installed applications? Installing
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Desktop: Linux Mint Cinnamon 21.3 English Edge - Desktop: Linux Mint Cinnamon 21.3 French
Laptop: Linux Mint Cinnamon 21.3 English - as of 24-04-15
Laptop: Linux Mint Cinnamon 21.3 English - as of 24-04-15
- Larry78723
- Level 14
- Posts: 5476
- Joined: Wed Jan 09, 2019 7:01 pm
- Location: Jasper County, SC, USA
Re: Rebuilding apps' .desktop files
xed shows as Text Editor in the Cinnamon menu.
If you have found the solution to your initial post, please open your original post, click on the pencil, and add (Solved) to the Subject, it helps other users looking for help, and keeps the forum clean.
Re: Rebuilding apps' .desktop files
Thanks for the reply. I know that xed is "Text editor", but nothing existed. Also, it was only an example. and it really doesn't help answer question.
Desktop: Linux Mint Cinnamon 21.3 English Edge - Desktop: Linux Mint Cinnamon 21.3 French
Laptop: Linux Mint Cinnamon 21.3 English - as of 24-04-15
Laptop: Linux Mint Cinnamon 21.3 English - as of 24-04-15
Re: Rebuilding apps' .desktop files
That is a reasonable request. I would settle for right clicking the LM menu item and obtaining the "exec" command that would launch the app from a terminal. What I request is pretty easy:Is there a gnome, or system utility to clean and rebuild the .desktop files of installed applications?
Code: Select all
ls -la /usr/share/applications
grep -rin 'exec=' /usr/share/applications
grep -rin 'name=' /usr/share/applications
Re: Rebuilding apps' .desktop files
Thanks for helping me to look. Next I will post on Gnome forum.
Desktop: Linux Mint Cinnamon 21.3 English Edge - Desktop: Linux Mint Cinnamon 21.3 French
Laptop: Linux Mint Cinnamon 21.3 English - as of 24-04-15
Laptop: Linux Mint Cinnamon 21.3 English - as of 24-04-15
Re: Rebuilding apps' .desktop files
When you say "clean and rebuild", are you talking about apps that you've edited via the menu editor and want to revert back? Check in $HOME/.local/share/applications - this is where any user-edited .desktop files are stored, which override the ones installed in /usr/share/applications.
Re: Rebuilding apps' .desktop files
@ajgringo619, apologies for the late reply, but I was swamped. By "clean and rebuild", at first it was assumed that there is a single file listing the menu entries, including uninstalled items that were not removed from the list. Then, I focused on both the system and local .desktop files and removed the uninstalled apps. Studied the differences and edit the ones in the .local/share, and reset the Mint menu several times. It seems that consecutive LM updates included a gnome update as well and corrected my issues.ajgringo619 wrote: ⤴Sun Jun 27, 2021 10:22 pm When you say "clean and rebuild", are you talking about apps that you've edited via the menu editor and want to revert back? Check in $HOME/.local/share/applications - this is where any user-edited .desktop files are stored, which override the ones installed in /usr/share/applications.
Desktop: Linux Mint Cinnamon 21.3 English Edge - Desktop: Linux Mint Cinnamon 21.3 French
Laptop: Linux Mint Cinnamon 21.3 English - as of 24-04-15
Laptop: Linux Mint Cinnamon 21.3 English - as of 24-04-15