/etc/X11/Xsession.d/98xbindkeys is in xbindkeys 1.8.5-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | # This file is sourced by Xsession(5), not executed.
PROG="/usr/bin/xbindkeys"
NOAUTO="${HOME}/.xbindkeys.noauto"
# This file autostarts xbindkeysrc if the user (or system) has a config
# for it AND does NOT Have a .xbindkeys.noauto in his homedir.
# we only run if there is no NOAUTO file
if ! [ -f "${NOAUTO}" ] && [ -x "${PROG}" ]; then
# User config wins over system config
# guile config wins over classic config
for cfile in "/etc/xbindkeysrc" "$HOME/.xbindkeysrc" "$HOME/.xbindkeysrc.scm"; do
if [ -f "${cfile}" ] || [ -L "${cfile}" ]; then
CONF="${cfile}"
fi
done
# Run $PROG - if it has been configured
if [ -n "${CONF}" ]; then
$PROG -f $CONF
fi
fi
|