/usr/share/upstart/sessions/unity-gtk-module.conf is in unity-gtk-module-common 0.0.0+18.04.20171202-0ubuntu1.
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 | description "Unity GTK Module Environment variables"
start on starting dbus
pre-start script
for DESKTOP in $(echo "$XDG_CURRENT_DESKTOP" | sed 's/:/ /g')
do
if [ "x$DESKTOP" = "xUnity" ]; then
exit 0
fi
done
stop
end script
script
if [ -n "$GTK_MODULES" ]
then
GTK_MODULES="$GTK_MODULES:unity-gtk-module"
else
GTK_MODULES="unity-gtk-module"
fi
initctl set-env --global GTK_MODULES=$GTK_MODULES
end script
|