Restrict FUSE unmount to gvfsd-fuse

Unmounting all FUSE filesystems breaks xdg-document-portal and AppImages
that rely on FUSE to stay mounted. It also doesn't restart them.
This commit is contained in:
David Heinemeier Hansson
2026-03-09 15:28:30 +01:00
parent cce8d878ec
commit a3839551e3
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ echo "HOOKS+=(resume)" | sudo tee "$MKINITCPIO_CONF" >/dev/null
# Ensure keyboard backlight doesn't prevent sleep
sudo cp -p "$OMARCHY_PATH/default/systemd/system-sleep/keyboard-backlight" /usr/lib/systemd/system-sleep/
# Ensure FUSE mounts don't prevent sleep
# Ensure gvfsd-fuse mounts don't prevent sleep
sudo install -m 0755 -o root -g root "$OMARCHY_PATH/default/systemd/system-sleep/unmount-fuse" /usr/lib/systemd/system-sleep/
# Add resume= kernel parameters so the initramfs resume hook knows where to find the