© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
BazziteB
Bazzite•2y ago•
3 replies
aenertia

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
/usr/lib/udev/rules.d/99-steamos-automount.rules


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


Comment the two lines that begin
ACTION
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" 
#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 
 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.
BazziteJoin
The operating system for the next generation of gamers.
29,482Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

trouble auto mounting nas
BazziteBBazzite / 🛟bazzite-help
2y ago
Disable Auto-Fullscreen Function on Steam Games
BazziteBBazzite / 🛟bazzite-help
11mo ago
Auto mounting my second drive
BazziteBBazzite / 🛟bazzite-help
8mo ago
auto mounting NTFS partitions/drives
BazziteBBazzite / 🛟bazzite-help
13mo ago