How to install gtk3-nocsd on Ubuntu 17.04

How to install gtk3-nocsd on Ubuntu 17.04

The gtk3-nocsd is a module used to disable client-side decorations, either globally or only for certain applications by using commands to override the Glib, GDK and Gtk API calls with customized variants. This tutorial covers the installation procedure of gtk3-nocsd on Ubuntu 17.04.

Installation procedure

To start the installation procedure, add the repo by executing the following command.

root@linuxhelp1:~# add-apt-repository ppa:eugenesan/ppa
This repository contains collection of customized, updated, ported and backported
packages for two last LTS releases and latest pre-LTS release.
Packages for older releases relocated to ppa:eugenesan/archive or deleted.
+-------------------------------------------------------------------------------------+
| Disclaimer:
+-------------------------------------------------------------------------------------+
* Packages in this a nd related PPAs are for personal use only
  They developed specifically for several custom environments and may not work for you.
* Usage of packages in this PPA, in some forms, might contradict licenses of software
  packaged in this and related PPAs. End users and administrator are responsible fo
  runtime licensing and possible legal consequences.
* Some packages provided with their dependencies while some might require additional
  Ubuntu repositories and external PPAs. Below is the list of
.
.
.
Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keybox ' /tmp/tmp58gcy2yp/pubring.gpg'  created
gpg: /tmp/tmp58gcy2yp/trustdb.gpg: trustdb created
gpg: key E61380B28313A596: public key " Launchpad synergy+"  imported
gpg: Total number processed: 1
gpg:imported: 1
OK

The repositories are added to the target system. Update the repo by executing the apt-get update command.

root@linuxhelp1:~# apt-get update   
Get:1 http://ppa.launchpad.net/eugenesan/ppa/ubuntu zesty InRelease [15.4 kB]
Hit:2 http://in.archive.ubuntu.com/ubuntu zesty InRelease
Hit:3 http://security.ubuntu.com/ubuntu zesty-security InRelease
Hit:4 http://in.archive.ubuntu.com/ubuntu zesty-updates InRelease
Hit:5 http://in.archive.ubuntu.com/ubuntu zesty-backports InRelease
Get:6 http://ppa.launchpad.net/eugenesan/ppa/ubuntu zesty/main amd64 Packages [1,100 B]
Get:7 http://ppa.launchpad.net/eugenesan/ppa/ubuntu zesty/main i386 Packages [1,108 B]
Get:8 http://ppa.launchpad.net/eugenesan/ppa/ubuntu zesty/main Translation-en [1,288 B]
Fetched 18.9 kB in 1s (12.3 kB/s)
Reading package lists... Done

The target system is updated with the required repositories. Install the gtk3-nocsd package and press y to continue with the installation process.

root@linuxhelp1:~# apt-get install gtk3-nocsd -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libgtk3-nocsd0
The following NEW packages will be installed:
gtk3-nocsd libgtk3-nocsd0
0 upgraded, 2 newly installed, 0 to remove and 63 not upgraded.
Need to get 53.0 kB of archives.
After this operation, 125 kB of additional disk space will be used.
Get:1 http://in.archive.ubuntu.com/ubuntu zesty/universe amd64 libgtk3-nocsd0 amd64 3-1 [13.5 kB]
Get:2 http://in.archive.ubuntu.com/ubuntu zesty/universe amd64 gtk3-nocsd all 3-1 [39.5 kB]
Fetched 53.0 kB in 1s (52.6 kB/s)
Selecting previously unselected package libgtk3-nocsd0:amd64.
(Reading database ... 168833 files and directories currently installed.)
Preparing to unpack .../libgtk3-nocsd0_3-1_amd64.deb ...
Unpacking libgtk3-nocsd0:amd64 (3-1) ...
Selecting previously unselected package gtk3-nocsd.
Preparing to unpack .../gtk3-nocsd_3-1_all.deb ...
Unpacking gtk3-nocsd (3-1) ...
Setting up libgtk3-nocsd0:amd64 (3-1) ...
Setting up gtk3-nocsd (3-1) ...
Processing triggers for libc-bin (2.24-9ubuntu2) ...
Processing triggers for man-db (2.7.6.1-2) ...

The application is installed successfully. To know more about the options and help, execute the following command.

root@linuxhelp1:~# gtk3-nocsd --help
Usage: /usr/bin/gtk3-nocsd program [args]

For removing the package, run the following remove command and press y to continue with the uninstallation process.

root@linuxhelp1:~# apt-get remove gtk3-nocsd -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
libgtk3-nocsd0
Use ' apt autoremove'  to remove it.
The following packages will be REMOVED:
gtk3-nocsd
0 upgraded, 0 newly installed, 1 to remove and 63 not upgraded.
After this operation, 80.9 kB disk space will be freed.
(Reading database ... 168852 files and directories currently installed.)
Removing gtk3-nocsd (3-1) ...
Processing triggers for man-db (2.7.6.1-2) ...

Wasn' t that an easy installation procedure? The gtk3-nocsd is a custom CSS for cosmetic improvements of the header bar.

Tag : Ubuntu
FAQ
Q
where to install the added repo package of gtk3-nocsd in terminal?
A
Install the gtk3-nocsd package by following command
# apt-get install gtk3-nocsd -y
Q
how to add the repo for gtk3-nocsd in ubuntu?
A
add the repo for gtk3-nocsd by executing the following command.
# add-apt-repository ppa:eugenesan/ppa
Q
Is gtk3-nocs customizable?
A
It provides Glib, GDK and Gtk API calls with customized variants
Q
What is the package name that is to be used to install in debian?
A
the package name like in ubuntu "apt-get install gtk3-nocsd -y"
Q
where to check the options available for gtk3-nocsd?
A
check the options available for gtk3-nocsd by gtk3-nocsd --help