Skip to content

Simplify cinnamon-menu-editor#13362

Open
fredcw wants to merge 1 commit intolinuxmint:masterfrom
fredcw:simplifymenueditor
Open

Simplify cinnamon-menu-editor#13362
fredcw wants to merge 1 commit intolinuxmint:masterfrom
fredcw:simplifymenueditor

Conversation

@fredcw
Copy link
Contributor

@fredcw fredcw commented Jan 11, 2026

cinnamon-menu-editor:
Remove item cut/copy/paste from menu editor and add menu category selection to desktop editor instead so that instead of the menu editor adding <Include> and <Exclude> rules to the .menu file when launchers are added to/removed from categories, the desktop editor adds/removes categories to the Categories= field in the .desktop file.
Remove code related to separators and menu layout/ordering as these are not used in cinnamon applets.
Add "Restore Item" button and remove "Close" button.
Handle flatpak apps properly.

cinnamon-desktop editor:
Add menu category selection for launcher editor.
Add "Hide (NoDisplay)" toggle for launcher editor and directory editor.
Remove unnecessary <Include> and <Exclude> rules from the .menu file added in previous versions of menu-editor when a .desktop file is updated.

config.py:
delete unused constants

cinnamon-applications.menu:
simplify logic in "Administration" menu
remove unused "System" menu

Fixes #12890, #11998, #10139, #10581, #10141, #9293, #7961

Replaces: #13346

Known issues:
Some combinations of categories are not possible. An app can't be in Education and Science at the same time, in Universal Access and Preferences at the same time, or in Accessories or Preferences and Administration at the same time. This was not previously the case.

While Wine apps can be added to other categories, they cannot be removed from the Wine category as Wine creates it's own .menu file with <Include>'s.

Apps installed locally have no "Restore" (to system default) option once edited. This was previously the case also. This includes Wine apps, Steam games, Chrome's PWAs

@fredcw fredcw force-pushed the simplifymenueditor branch from 14be7eb to 5d12935 Compare January 17, 2026 15:27
@fredcw fredcw force-pushed the simplifymenueditor branch from 4b3f7f1 to c2bbfe7 Compare January 24, 2026 16:06
@fredcw fredcw changed the title [WIP] Simplify cinnamon-menu-editor Simplify cinnamon-menu-editor Jan 24, 2026
@fredcw fredcw force-pushed the simplifymenueditor branch from b565e4c to eebb995 Compare February 11, 2026 12:03
cinnamon-menu-editor:
   Remove item cut/copy/paste from menu editor and add menu category selection to desktop editor instead so that instead of the menu editor adding <Include> and <Exclude> rules to the .menu file when launchers are added to/remove from categories, the desktop editor adds/removes categories to the Categories= field in the .desktop file.
   Remove code related to separators and menu layout/ordering as these are not used in cinnamon applets.
   Add "Restore Item" button and remove "Close" button.
   Handle flatpak apps properly.
   Update some deprecated code.

cinnamon-desktop editor:
   Add menu category selection for launcher editor.
   Add "Hide (NoDisplay)" toggle for launcher editor and directory editor.
   Remove unnecessary <Include> and <Exclude> rules from the .menu file added in previous versions of menu-editor when a .desktop file is updated.
   Show a warning infobar when editing a local file when no "restore" to system is available.
   Don't create a new .desktop file in ~/.local/share/applications if original is in a subdirectory of ~/.local/share/applications as it would be overriden anyway and edit original instead
   Add command line option --show-categories so that unnecessary complexity can be avoided when launched from the app menu.

config.py:
   delete unused constants

cinnamon-applications.menu:
   simplify logic in "Administration" menu
   remove unused "System" menu
@fredcw fredcw force-pushed the simplifymenueditor branch from b8d280f to bba4748 Compare February 15, 2026 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Menu editor doesn't work and Crashes. Linux Mint 22.1, Cinnamon 6.4.8

1 participant