Short answer

The message means a GTK3 app was told to load Linux Mint’s XApp module, but the module isn’t installed. It’s only a warning: the app still works. To silence it, install the package that holds the module, or stop your session from asking for it.

The module is loaded through the GTK3_MODULES setting, which a login script sets when XApp or Cinnamon packages are, or were, installed. If the module itself is missing, GTK3 apps started from a terminal print this message.

Fix 1: Install the module

The package name depends on your Ubuntu version.

Advertisement

Ubuntu 22.04

sudo apt update
sudo apt install xapp

Already installed? Reinstall it:

sudo apt install --reinstall xapp libxapp1 gir1.2-xapp-1.0 xapps-common

Ubuntu 24.04 or 26.04

There is no xapp package here. The module is in libxapp-gtk3-module:

sudo apt update
sudo apt install libxapp-gtk3-module

Already installed? Reinstall it:

sudo apt install --reinstall libxapp-gtk3-module libxapp1 gir1.2-xapp-1.0 xapps-common

Close and reopen the app. The message should be gone.

Advertisement

Fix 2: Stop the session asking for it

Use this if you don’t use Cinnamon or Mint apps.

  1. See what asks for the module:

    echo "$GTK3_MODULES $GTK_MODULES"
    grep -rs xapp /etc/X11/Xsession.d/ ~/.profile ~/.xsessionrc ~/.bashrc
  2. Test the fix in the current terminal, then start the app from the same terminal:

    unset GTK_MODULES GTK3_MODULES
  3. If the message is gone, remove xapp-gtk3-module where step 1 found it.

On Ubuntu 24.04 and 26.04, the login script is /etc/X11/Xsession.d/80xapp-gtk3-module. It stays behind when you remove the package without purging it. Purge the package to delete it, then log out and back in:

sudo apt purge libxapp-gtk3-module

Fix 3: Ignore it

The message doesn’t stop the app. If everything works, you can leave it.

Questions people ask

Can I ignore the "Failed to load module 'xapp-gtk3-module'" message?

Yes. It’s a message, not an error. The app runs without the module and only misses a few small XApp features.