View Issue Details
|ID||Category||Date Submitted||Last Update|
|0008474||bugs||2020-11-23 18:57||2020-11-24 09:29|
|Fixed in Version|
|Summary||0008474: uninstaller fails to remove all .desktop items|
|Description||Ardour's uninstaller (.run bundle) fails to remove all .desktop items|
|Steps To Reproduce||1. Install Ardour(.run bundle) through sudo or directly as root user.|
2. Run the uninstaller directly as the root user(no sudo) with /opt/Ardour-6.5-uninstall.sh
The uninstaller should be able to remove all .desktop files whether the user is using sudo or not.
discovered this bug by luck when uninstalling an earlier release prior to trying out this latest one with 6.5..
the user can try to search paths in "XDG_DATA_DIRS=" and see if any ardour .desktop files have not fully been removed by /opt/Ardour-*uninstaller.sh
paths that have been spotted with lingering ardour .desktop files:
- When using sudo with the uninstaller, all .desktop files are removed.
occurs on a Debian-10 64-bit linux system.
|Tags||No tags attached.|
the latest installer when running without sudo, installs a .desktop in /home/user/Desktop instead of a system path. This seems incorrectly handled, now that I have bothered to verify the installer without the usage of sudo.
"Adding Ardour to the applications menu
Creating a desktop link for Ardour in /home/user/Desktop
The user shouldn't have to rely on using sudo to behave diferently than going without it.
When the root user is used, the installer should install everything in system paths and not at all in user paths.
There's a bug with the installer portion regarding .desktop items, and not only with the uninstaller as one would be able to tell.
||With Ardour 6.5 I also see that I get a .desktop file on the actual Desktop in Xubuntu 20.04 LTS, but the program in the start menu has only a generic icon. Something is indeed incorrect with the .desktop handling. It also occurred already with 6.3, maybe with any of the version 6 programs.|
||Correcting my last comment, the issue was indeed that the previous Ardour 6.3 .desktop file was not removed, as the OP mentioned, so I saw a stale link to 6.3 after it was deinstalled.|