PCMan / gtk3-nocsd

A hack to disable gtk+ 3 client side decoration
GNU Lesser General Public License v2.1
320 stars 41 forks source link

How to integrate gtk3-nocsd in KDE to be used also for apps launched with sudo? #53

Open tnilzon opened 4 years ago

tnilzon commented 4 years ago

Example: Launch "BleachBit" with $ sudo bleachbit then you get the default gtk3 CSD (you don't want this). Launch "BleachBit" with $ sudo /usr/bin/gtk3-nocsd bleachbit then you get the KDE window caption (which is what you want).

Is there any way to integrate this behavior as default in KDE for all apps launched with sudo (without the need to use /usr/bin/gtk3-nocsd), as the way it works for non sudo?

Kernel: 5.5.8-1-MANJARO x86_64 bits: 64 Desktop: KDE Plasma 5.18.3 Distro: Manjaro Linux

Screenshots:

"BleachBit" launched with $ sudo bleachbit (not desired theming). 1

"BleachBit" launched with $ sudo /usr/bin/gtk3-nocsd bleachbit (desired theming). 2