Auto mount external hdd in xfce with luks btfs zstd:15 compression

Hi,

I am using xfce with external usb hdd for data encrypted with luks formatted with btrfs.

I would like to:

  1. Auto mount the luks usb disk with btrfs max compression (zstd:15). Perhaps a keyfile is needed for the auto option, but I would also like a password option perhaps added to another slot, incase keyfile is ever damaged/lost.

If this is not possible, then at least

  1. When I enter the luks password in thunar, mount with btrfs max compress (zstd:15).

Thunar has an option when mounting a luks drive to remember password ‘forever’, but it never does. It always asks for the password each time you try to mount the same usb drive.

If somebody could please point me in the right direction with helpful link that would be great.

Thanks

i recommend using gnome-disk-utility, it should be able to do everything you are looking for.

Tried running that, but can’t see any options to auto-mount external usb disks?

From what I’ve seen, this is controlled by org.freedesktop.UDisks2.Filesystem and perhaps Volman in Thunar.

Just haven’t figured why it auto mounts luks usb in EndeavourOS but not in Manjaro.