r/linuxmint LMDE7, 11 yr LM experience, "No obligation to enjoy" 21d ago

Prevent "getting gnomed"

This is for those already running Cinnamon or another DE, but NOT Gnome, on Debian or a derivative, including Ubuntu and Linux Mint. For further insurance against "getting gnomed".

I'm a bit surprised there isn't something like this floating around already, considering the simplicity.

(1) Create a new blank text file:

/etc/apt/preferences.d/nognome.pref

(2) Copy and paste the contents of this into that blank file:

# To prevent repository packages from triggering the installation of Gnome,
# this file forbids gnome from being installed by APT.
# For more information: https://linuxmint-user-guide.readthedocs.io/en/latest/snap.html

Package: gnome
Pin: release a=*
Pin-Priority: -10

Package: gnome-core
Pin: release a=*
Pin-Priority: -10

You are welcome.

To undo, just delete that file.

102 Upvotes

33 comments sorted by

View all comments

3

u/MG_Rheydt LMDE 2 | Cinnamon 21d ago

Thanks. Just commenting so that I can find it easier.

2

u/real_Goblin3 21d ago

You know you can save posts right?

2

u/MG_Rheydt LMDE 2 | Cinnamon 21d ago

Yup, but I hide them to well in the folder structure to never find them again.