Add cinnamon-remove-application helper script - #3
Open
Tuxman2 wants to merge 1 commit into
Open
Conversation
Author
|
I attached the pot file here. Po files are needed to be translated. Thanks. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
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.
Automatically detects "flatpak" in the filename
Prompts for confirmation, then removes using
flatpak uninstallandflatpak uninstall unused(runtimes)Simpler interface with a spinning wheel
If interrupted, a dialog box displays an error message.
Orphaned .desktop files → direct deletion
Clean interface with warning/error icons
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.