I like to have my devices mounted in Nautilus/Nemo by default when I log in, so I can have symlinks to certain directories.
And I don't mean a custom mount or a mount with 10 lines of cryptSetup and luksOpen commands that would require me to hardcode a LUKS password. Not only because, but also because it is not compatible with the devices list in Nautilus/Nemo.

To do this, I can have an autostart script (Startup Applications) using gvfs-mount -d like so, very easy to maintain and it will automatically get LUKS-passwords from the keyring if necessary:
#!/usr/bin/env bash
# Redsandro 2013-03-01
# Mount (LUKS) drives and such
doMount() {
# Devices change every now and then. UUID does not.
DEV=`ls -l --color=never /dev/disk/by-uuid/ | grep $UUID | cut -d\> -f2 | cut -d/ -f3`
gvfs-mount -d /dev/$DEV
}
# LUKS-1TB
# /dev/sdb1
UUID='9dd6df52-c901-4b70-8151-27086ba7db16'
doMount
# Projects 1TB
# /dev/sdd1
UUID='6b01a30e-af6e-48b4-810a-f9824558f041'
doMount
# MyBook 1
# /dev/sdc2
UUID='b36a4a52-a73d-43b5-a96a-d92074b8ef3f'
doMount
# MyBook 2
# /dev/sdc3
UUID='c771609f-018e-45a4-b4f3-5eebc8e67c83'
doMount
However, this will open a window for every device. How can I prevent those windows from opening?