SYSTEM
Linux Mint 18.3 Sylvia x64 Cinnamon
Kernel 4.15.0-36-generic
Ubuntu 16.04.1
Cinnamon 3.6.7
SITUATION
In the Mint Menu (Cinnamon main menu), you can right-click an application and click 'Deinstall'.
You are asked for the admin password and the corresponding software package is removed.
QUESTION 1
How/where is the software package assigned to the menu entry?
How is the package-removal invoked?
I have inspected a game in /usr/share/games, but found nothing.
QUESTION 2
Can I use this mechanism without a deb pkg?
I have got a game installed with a self-extracting tar file and a install/deinstall script,
but dpkg -r won't work.
Any hints will be appreciated!
[SOLVED] Deinstall application from the Mint Menu
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] Deinstall application from the Mint Menu
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.
- smurphos
- Level 18
- Posts: 8501
- Joined: Fri Sep 05, 2014 12:18 am
- Location: Irish Brit in Portugal
- Contact:
Re: Deinstall application from the Mint Menu
Hi,
It runs the python-script in
This script will perform
Menu entries are created by applications .desktop files. Normal install location is
If the game as a deinstall script - use it. If it doesn't clean up the menu entry look for a corresponding .desktop file in the locations listed above.
It runs the python-script in
/usr/lib/linuxmint/common/mint-remove-application.py
This script will perform
apt-get remove
if relevant or can run the flatpak removal script. In all other cases it will simply remove the menu entry.Menu entries are created by applications .desktop files. Normal install location is
/usr/share/applications
. User added or modified entries will be in ~/.local/share/applications
. Flatpak .desktop files are in /var/lib/flatpak/exports/share/applications
If the game as a deinstall script - use it. If it doesn't clean up the menu entry look for a corresponding .desktop file in the locations listed above.
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
Re: Deinstall application from the Mint Menu
Thanx for the quick and profound reply!!!
So, I can use the deinstall from the menue only with apt packages and flatpaks,
not with self-extracting archives. The users of my game will have to start
a removal script manually.
Best Greetings, Dieter
So, I can use the deinstall from the menue only with apt packages and flatpaks,
not with self-extracting archives. The users of my game will have to start
a removal script manually.
Best Greetings, Dieter