Skip to content

Add cinnamon-remove-application helper script - #3

Open
Tuxman2 wants to merge 1 commit into
leigh123linux:masterfrom
Tuxman2:add-cinnamon-remove-application
Open

Add cinnamon-remove-application helper script#3
Tuxman2 wants to merge 1 commit into
leigh123linux:masterfrom
Tuxman2:add-cinnamon-remove-application

Conversation

@Tuxman2

@Tuxman2 Tuxman2 commented Jan 21, 2026

Copy link
Copy Markdown

Hello,

I'm adding the python script /usr/bin/cinnamon-remove-application.

This script is based on the original Cinnamon-remove-application script from Linux Mint but has been recreated for Fedora Cinnamon.

It allows you to remove applications directly from the menu (right-click on the application -> uninstall).

What the script does:

  1. For normal RPM applications:
  • It first checks which packages will be removed (simulating DNF)

  • Displays a clear list with confirmation

  • Protects essential system components (Cinnamon, Nemo, etc.). It cannot remove a system item from the menu.

  • Starts the removal process with a detailed progress bar and logs

  • If interrupted, an interrupted log message appears in the dialog box. Close using the Cancel button.

  1. For Flatpaks:
  • Automatically detects "flatpak" in the filename

  • Prompts for confirmation, then removes using flatpak uninstall and flatpak uninstall unused (runtimes)

  • Simpler interface with a spinning wheel

  • If interrupted, a dialog box displays an error message.

  1. Special cases:
  • Orphaned .desktop files → direct deletion

  • Clean interface with warning/error icons

  1. Information:
  • This script is intended for Fedora Cinnamon only.

  • The script must be verified and tested before being validated and deployed.

Note: I have the .pot file named 'remove-rpmflatpak-application'. It is used to translate some items displayed on the screen for others languages. This is defined in the script for the i18n section. It is necessary to translate them into another language. The pot file is below.

Regards.

Alan.

@Tuxman2

Tuxman2 commented Jan 21, 2026

Copy link
Copy Markdown
Author

I attached the pot file here. Po files are needed to be translated. Thanks.
remove-rpmflatpak-application.pot.zip

remove-rpmflatpak-application.zip

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.

1 participant