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).
"BleachBit" launched with $ sudo /usr/bin/gtk3-nocsd bleachbit (desired theming).
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?Screenshots:
"BleachBit" launched with
$ sudo bleachbit
(not desired theming)."BleachBit" launched with
$ sudo /usr/bin/gtk3-nocsd bleachbit
(desired theming).