public
Created

udisks-glue configuration

  • Download Gist
.udisks-glue.conf
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
#
# Filters
#
 
filter disks {
optical = false
partition_table = false
usage = filesystem
}
 
filter burnable {
# optical = true
removable = true
optical_disc_closed = false
}
 
filter optical {
removable = true
# optical = true
}
 
#
# The default entry (only used if no filters match)
#
 
default {
# post_insertion_command = "insertion-notify %device_file"
post_insertion_command = "gntp-send -u -a udisks-glue udisks-glue %device_fileを検出しましたが何も処理をしていません。"
}
 
#
# Additional entries
#
 
match disks {
automount = true
automount_options = { sync, noatime }
# post_mount_command = "mount-notify mounted %device_file %mount_point"
post_mount_command = "gntp-send -u -a udisks-glue マウント %device_fileを%mount_pointにマウントしました。"
# post_unmount_command = "mount-notify unmounted %device_file %mount_point"
post_unmount_command = "gntp-send -u -a udisks-glue アンマウント %device_fileを%mount_pointからアンマウントしました。"
}
 
match burnable {
# post_insertion_command = "k3b %device_file"
post_insertion_command = "brasero --device %device_file"
# post_mount_command = "mount-notify mounted %device_file %mount_point"
post_mount_command = "gntp-send -u -a udisks-glue マウント %device_fileを%mount_pointにマウントしました。"
post_insertion_command = "udisks --mount %device_file --mount-options ro"
}
 
match optical {
automount = true
automount_options = ro
# post_mount_command = "mount-notify mounted %device_file %mount_point"
post_mount_command = "gntp-send -u -a udisks-glue マウント %device_fileを%mount_pointにマウントしました。"
post_insertion_command = "udisks --mount %device_file --mount-options ro"
post_unmount_command = "gntp-send -u -a udisks-glue アンマウント %device_fileを%mount_pointからアンマウントしました。"
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.