From 35418974b7c1df9886537c36d4442f0bda3936b5 Mon Sep 17 00:00:00 2001 From: Honore Doktorr Date: Fri, 28 Jul 2017 00:50:57 -0400 Subject: [PATCH] Fixed markdown headers Added description of fedora distro packages --- README.md | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 1319edd..75f9328 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ -#gtk3-nocsd +# gtk3-nocsd gtk3-nocsd is a small module used to disable the client side decoration of Gtk+ 3. -##Introduction: +## Introduction: 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 @@ -16,7 +16,7 @@ standards and provide "no option" to turn it off. Luckily, with gtk3-nocsd, we still have a way to (partially) turn it off. Window manager (title bar and window border) can be re-enabled. -##Preview: +## Preview: This is how the gtk3 windows look like before and after using `gtk3-nocsd`. @@ -24,7 +24,7 @@ This is how the gtk3 windows look like before and after using ![Screenshot of gedit with CSDs disabled by gtk3-nocsd](gedit-without-csd.png) -#How to use: +# How to use: * gtk3-nocsd should work with all Gtk+ 3 versions. @@ -74,7 +74,7 @@ This is how the gtk3 windows look like before and after using * Hooray! GTK+ 3 client-side decorations are disabled now. -#Distribution packages: +# Distribution packages: gtk3-nocsd is packaged in Debian's unstable and testing distributions, see [gtk3-nocsd in Debian's package database](https://packages.debian.org/testing/gtk3-nocsd). @@ -85,7 +85,15 @@ re-login is required to have CSDs disabled on non-GNOME desktops. There is also a [gtk3-nocsd-git](https://aur.archlinux.org/packages/gtk3-nocsd-git/) package for Arch Linux. -#How it works: +A [gtk3-nocsd copr repository](https://copr.fedorainfracloud.org/coprs/hdfssk/gtk3-nocsd/) +is available for currently supported Fedora releases. It also includes +integration code, automatically disabling CSDs for non-GNOME desktops, +and can be installed with these commands: + + # dnf copr enable hdfssk/gtk3-nocsd + # dnf install gtk3-nocsd + +# How it works: `$LD_PRELOAD` is used to override several Gdk and glib/gobject APIs to intercept related calls Gtk+ 3 uses to setup CSDs. For older versions