disks: Add removable media automounting

`udiskie` is kept running in the background and automatically
mounting any inserted media, which will then also show its
tray icon so that it can be quickly unmounted as well.

Additional ideas would be to allow mounting / unmounting through
keyboard sequences instead of gui (via rofi for example).
This commit is contained in:
Marty Oehme 2020-10-21 16:46:59 +02:00
parent 2ad1389329
commit a57e9ab7da
Signed by: Marty
GPG key ID: B7538B8F50A1C800
4 changed files with 29 additions and 0 deletions

9
disks/README.md Normal file
View file

@ -0,0 +1,9 @@
# Removable disk configuration
This simple unit depends on `udiskie2` being installed and enables auto-mounting of any inserted removable media.
It will additionally *ignore* any snaps managed by `snapd`, since they would otherwise be detected as loopback devices.
Automatically installs a `systemd` service which is also enabled to start up on system start (as a user service).
The end result is `udiskie` running in the background and automatically mounting any inserted media,
which will then also show its tray icon so that it can be quickly unmounted as well.