Auto-mounting USB drives with EXWM

Table of Contents

Use udiskie to auto-mount devices plugged in to your machine, such as flash drives. I found that trying to install it from my OpenSUSE packagemanager didn’t work, alhtough it was listed, but I already had pip installed and that led to simple process. After installation, the following worked beautifully:

~/.local/bin/udiskie --no-notify --tray &

notifications did not play nice with exwm, but the tray works great. Then I just put the above into my .xinitrc.

Tory Anderson avatar
Tory Anderson
Full-time Web App Engineer, Digital Humanist, Researcher, Computer Psychologist