Thierry de Coulon composed on 2021-08-31 05:04 (UTC-0400):
In Configure Desktop - Behaviour, one can define what objects appear on the desktop. There is one catch however:
More machines today use sd or micro-sd cards as mass storage (Raspi is an example, but my notebooks also do). If I choose to show mounted removable media, I get my fstab mounted partitions on the desktop, and if I don't want these, I can't get the dynamicaly mounted USB stick to show.
I doubt there is a way to make a difference between an fstab mounted "removable media" and a dynamicaly mounted one?
noauto
or not.
Give every removable (and non-removable) device a LABEL. For those LABELs found in fstab, fstab will control the mounting behavior.
LABELs are much easier for the brain to manage than are UUIDs - LABELs are readily remembered, and flexible in length. For each LABEL on a removable device, create a mount point where you wish to access it, and a corresponding fstab entry. Any without fstab entries are left to be handled same as non-LABELed, automatically mounted in /run/media/username/*, or as otherwise directed by Configure Desktop → Behaviour.
You can have multiple devices with the same LABEL, as long as you never try to have twins/triplets/etc mounted at the same time by LABEL. Those with duplicates can still be mounted, just not by LABEL. LABELs are readily changeable as long as not mounted, or not mounted by LABEL. LABELs can be changed as often as circumstances suggest, meaning if you want to create a clone of one to another, one can be changed, then restored after unmounting the other, or using other than by LABEL for mounting.
I have hundreds of installations. None of their fstabs have contained UUIDs for Linux native filesystems since more than a decade ago.