Disable steam udev Auto-mounting of media which breaks Desktop Automounters

As root copy the steam automounter udev rules from:

/usr/lib/udev/rules.d/99-steamos-automount.rules


to:
/etc/udev/rules.d/99-steamos-automount.rules


Comment the two lines that begin
ACTION
by adding a
#
at the start of them i.e:

#ACTION=="add",    RUN+="/usr/bin/systemd-run --no-block --collect /usr/libexec/hwsupport/block-device-event.sh add %k"
#ACTION=="remove", RUN+="/usr/bin/systemd-run --no-block --collect /usr/libexec/hwsupport/block-device-event.sh remove %k" 


reload the udev rules:

 udevadm control --reload 


This will return the system to using the 'on-click' mount behavior expected for storage in every other distro/DE, as well as allowing users who need to manipulate the storage devices at blocklevel (i.e with dd / media-imager, recovery tools etc) without having a mounted filesystem break these workflows.
Was this page helpful?