coldfix / udiskie

Automounter for removable media
MIT License
866 stars 53 forks source link

Tell daemon to pause automounting #250

Open CyberShadow opened 2 years ago

CyberShadow commented 2 years ago

Is it possible to do this noninteractively?

It would be useful, for example, to hook up to a lock screen program. Then, if the screen is locked, the machine will not react to any (possibly malicious) plugged in USB drives.

coldfix commented 2 years ago

Hi,

currently this is not implemented, but I agree that it sounds useful. This will probably require implementing a single-instance lock, as also needed for #223, and maybe for #207.

I'm currently not able to work on this but welcome contributions.

Best, Thomas