Xfce Forum

Sub domains
 

You are not logged in.

#1 2016-01-08 17:29:06

Yanpas
Member
From: Russian, Moscow
Registered: 2015-07-04
Posts: 14

CSD button layout configuration

Since 4.12 was introduced csd support. When I open any csd (client side decoration) app app, for example gnome-clocks - I see different button configuration. In my xfce every window has 3 button on the right (Close, min,max) and menu button the left. How to configure layout for csd apps? I saw screenhots where this layout matches xfce settings
xfwm4-csd.png

Offline

#2 2016-01-08 17:49:47

sixsixfive
Member
From: behind you
Registered: 2012-04-08
Posts: 579
Website

Re: CSD button layout configuration

Who cares? kill it!: https://github.com/PCMan/gtk3-nocsd

################

ok you need to set the gtk decoration layout in your GTK settings.ini

eg https://github.com/sixsixfive/Glare/blo … ttings.ini

cheers, also make sure your distro does not set any default settings eg remove /etc/gtk-3.0/settings.ini

Last edited by sixsixfive (2016-01-08 17:51:21)

Offline

#3 2016-01-08 18:39:14

Yanpas
Member
From: Russian, Moscow
Registered: 2015-07-04
Posts: 14

Re: CSD button layout configuration

@sixsixfive Thanks for the answer! Unfortunately this doesn't work for Linux Mint 17.3 (trusty), but works fine (via xfce gui config) in Ubuntu 16.04. I just have outdated gtk packages. I guess I'll install csd killer, cause such windows look eclectical and do not economy any pixel of free space

Offline

#4 2016-01-09 11:10:15

lottin
Member
Registered: 2014-08-12
Posts: 9

Re: CSD button layout configuration

You can set the gtk-decoration-layout property in ~/.config/gtk-3.0/settings.ini to change the order of the buttons. For instance

gtk-decoration-layout=menu:minimize,maximize,close

That said I doubt will be able to match CSD exactly with the Window Manager decorations. Basically, with CSD, clients can override your settings and they draw the decorations using different mechanisms, so they will never look the same. If you don't like CSD, I suggest don't use software that forces CSD onto you as most Gnome apps do. The MATE project has many Gnome equivalents that don't use CSD.

Last edited by lottin (2016-01-09 11:10:53)

Offline

Board footer

Powered by FluxBB