Created
October 10, 2011 11:06
-
-
Save msnoigrs/1275061 to your computer and use it in GitHub Desktop.
udisks-glue configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# 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からアンマウントしました。" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment