gtk3-nocsd command not found

In this troubleshooting guide we learn how to fix gtk3-nocsd command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

gtk3-nocsd: command not found

or when using sudo you get the following error message

sudo: gtk3-nocsd: command not found

Solutions to gtk3-nocsd: command not found

How To Fix gtk3-nocsd: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu gtk3-nocsd is provided by gtk3-nocsd package.

gtk3-nocsd is:

gtk3-nocsd LD_PRELOADs a small library to disable the client side decorations (CSD) of Gtk+ 3.

Since Gtk+ 3.10, its developers added a so-called header bar or custom title bar. With this and the client-side decoration, the original title bar and window border provided by the window manager are disabled by Gtk+. This makes all Gtk+ 3 programs look like alike, but have different handling from other windows on non-GNOME desktops. Even worse, this may break some window manager or compositors.

Unfortunately, there is no reliable way of turning off CSDs in Gtk+ directly. This library makes this possible.

To fix this problem, we can install more using the command below.

sudo apt-get -y install gtk3-nocsd

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install gtk3-nocsd.

sudo apt -y install gtk3-nocsd

Or if you have aptitude installed you can use the following command.

sudo aptitude install gtk3-nocsd

Summary

In this tutorial we learn how to fix gtk3-nocsd command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.