aboutsummaryrefslogtreecommitdiff
path: root/src/etc/myautomount.conf
blob: 543649ab360f2f28593f59181e14f5bab6429ee7 (plain)
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
# This config file is dot-sourced by a shell script, for both the daemon
# and myautomount-trayicon.

# TMPFILE is only needed for trayicon
test -z "${AUTOMOUNT_DAEMON}" && export AUTOMOUNT_TMPFILE="$( TMPDIR="/run/user/${UID}" mktemp -t ${USER}.automount.XXXXXXXXX )"

# DIR and FILE are for the initialization only. These are the most
# likely to change per distro.
export AUTOMOUNT_DIR=/etc/auto.master.d
export AUTOMOUNT_DIR_FILE=/etc/auto.master.d/myautomount.autofs
export AUTOMOUNT_FILE=/etc/autofs.myautomount

# BASEDIR is where the pseudo-xdg desktop files will go. This directory
# should not be controlled by anything else.
# The daemon places desktop files here that the trayicon uses.
export AUTOMOUNT_BASEDIR=/run/user/${UID}/automedia

# This needs to match what you put in /etc/autofs.myautomount, and is
# where the filesystems get mounted to. This location should not be
# controlled by anything else.
export AUTOMOUNT_BROWSEDIR=/browse

# These can be modified per-user in ${XDG_CONFIG_HOME}/myautomount.conf
export showmount=1                  # Default: 1, show "MOUNTED" for each drive that is currently mounted
export skip_sd_without_partitions=1 # Default: 1, skip sdb sdc, etc. # NOT IMPLEMENTED YET
export only_update_on_menuitem=0    # Default: 0, disable the mouseover poll. If 1, it breaks showmount=1
export hide_when_no_media=1         # Default: 1, stay hidden until some removable media is discovered
bgstack15