You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary
When uninstalling legacy theme packages (such as mint-themes-x or mint-themes-legacy) via APT, the physical directories for the modern Mint-Y themes are unexpectedly deleted. Furthermore, even after manually restoring these directories from a LiveCD environment, the themes remain unavailable for selection in the Cinnamon "Simplified settings" panel.
Steps to Reproduce
Install a standard Linux Mint Cinnamon edition.
Run the following command to purge legacy assets:
sudo apt purge mint-themes-x mint-x-icons mint-themes-legacy mint-l-icons
Check the /usr/share/themes/ directory.
Observe that the Mint-Y related folders (e.g., Mint-Y-Blue, Mint-Y-Sand) have been deleted alongside the legacy themes.
Manually restore the Mint-Y directories from a LiveCD to /usr/share/themes/.
Open System Settings -> Themes and click on "Simplified settings...".
Actual Result
The Mint-Y physical theme files are deleted by the post-rm or dependency logic of the legacy packages.
After manual restoration, Mint-Y still does not appear as a selectable option in the Simplified Settings UI, suggesting a broken index or hardcoded dependency on the now-missing legacy schemas.
Expected Result
The Mint-Y theme suite should be treated as a modern, independent entity. Purging legacy/obsolete themes (X and L series) should not impact the physical files or the usability of the current Mint-Y theme.
Theme selection logic should be decoupled so that Mint-Y remains valid even if Mint-X is not present on the system.
Environment Information
OS: Linux Mint 22.3 (Cinnamon Edition)
Cinnamon Version: 6.0+
Affected Packages: mint-themes, mint-themes-x, mint-themes-legacy
Technical Observation
It appears that the mint-themes package structure treats these directories as shared or uses a cleanup script that is too aggressive. The fact that the UI (especially the Simplified panel) fails to recognize the themes even after file restoration indicates that there is a deep-seated metadata dependency on the Mint-X structure within the Cinnamon theme-selection logic.
This command wouldn't have worked - there's no such package as 'mint-themes-x' or 'mint-themes-legacy'
You need to pay attention when removing packages - removing mint-x-icons will remove mint-themes, which has both Mint-X and Mint-Y themes along with it, as mint-themes depends on mint-x-icons:
[07:39:17 AM] mtwebster@mintbox3:~/bin/Mint/cinnamon[spices-harvester-merge %]> apt remove mint-x-icons
The following package was automatically installed and is no longer required:
libutempter0
Use 'sudo apt autoremove' to remove it.
REMOVING:
mint-artwork mint-meta-cinnamon mint-meta-core mint-themes mint-x-icons
Summary:
Upgrading: 0, Installing: 0, Removing: 5, Not Upgrading: 220
Freed space: 250 MB
Continue? [Y/n] n
Abort.
Thanks for the clarification! I didn't realize that mint-themes has a strict dependency on mint-x-icons. That explains why purging the legacy icons removed the entire theme suite. Learned something new today! 👍
Thanks again for your time and the detailed explanation.
Activity
[-]Purging mint-themes-x unexpectedly deletes Mint-Y directories and breaks theme selection[/-][+]Bug Report: Purging mint-themes-x unexpectedly deletes Mint-Y directories and breaks theme selection[/+]mtwebster commentedon May 9, 2026
This command wouldn't have worked - there's no such package as 'mint-themes-x' or 'mint-themes-legacy'
You need to pay attention when removing packages - removing mint-x-icons will remove mint-themes, which has both Mint-X and Mint-Y themes along with it, as mint-themes depends on mint-x-icons:
To fix,
You can't remove the Mint-X theme by itself.
mayloglog commentedon May 9, 2026
Thanks for the clarification! I didn't realize that mint-themes has a strict dependency on mint-x-icons. That explains why purging the legacy icons removed the entire theme suite. Learned something new today! 👍
Thanks again for your time and the detailed explanation.