HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //snap/gnome-42-2204/current/usr/share/upstart/sessions/unity-gtk-module.conf
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