/etc/X11/Xsession.d/81tcos-utils is in tcosmonitor-common 0.2.43.
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 24 25 26 27 28 29 30 | # $Id:$
# Startup script for tcos utils
#
if [ -f /usr/share/pyshared/tcosmonitor/shared.py ]; then
DISPLAY_HOST=$(python /usr/share/pyshared/tcosmonitor/shared.py "$DISPLAY" 2>/dev/null)
else
DISPLAY_HOST=$(python -c 'import os; import tcosmonitor.shared; print tcosmonitor.shared.parseIPAddress(os.environ["DISPLAY"])')
fi
if [ ! -z "${DISPLAY_HOST}" ]; then
# launch tcos-dbus-client
tcos-dbus-client &
# new device manager
tcos-devices-ng &
# volume levels
tcos-volume-manager &
fi
if [ -e /etc/default/tcos-standalone ]; then
. /etc/default/tcos-standalone
if [ "${TCOS_STANDALONE_START}" = "1" ]; then
tcos-dbus-client --only-local &
fi
fi
|