How do I hide FUSE partition from Nautilus sidebar?

asked 2017-04-21 11:49:05 +0000

dawid gravatar image

Hi! I'm using gocryptfs and every mounted volume shows in Nautilus' sidebar. How can I hide them?
I tried writing udev rule but it doesn't seem to work:

# Hide gocryptfs volumes in Nautilus
SUBSYSTEM=="bdi", ENV{UDISKS_IGNORE}="1"

udevadm shows this:

$ udevadm monitor
[...]
KERNEL[480.941956] add      /devices/virtual/bdi/0:45 (bdi)
UDEV  [480.945199] add      /devices/virtual/bdi/0:45 (bdi)

$udevadm info -a -p /devices/virtual/bdi/0:45
[...]
looking at device '/devices/virtual/bdi/0:45':
KERNEL=="0:45"
SUBSYSTEM=="bdi"
DRIVER==""
ATTR{max_ratio}=="1"
ATTR{min_ratio}=="0"
ATTR{read_ahead_kb}=="128"
ATTR{stable_pages_required}=="0"

udisksctl monitor doesn't display anything when mounting/unmounting volumes.

edit retag flag offensive close merge delete