I have installed some KDE and GNOME applications on the same computer. I use the applications at the same time. I find, I often hit the wrong button when I see "OK" or "Cancel" or "Yes" or "No" buttons, because the order is different. Is there any way to set these consistently, either changing to the KDE order or to the GNOME order?

1 Answer 1


So I found out that this is not configurable within KDE Plasma. Here is the culprit: QDialogButtonBox::KdeLayout is hard-coded in the source code as a style hint of the Qt5 intergration plugin. One way to change this is to patch plasma-intergration to use QDialogButtonBox::GnomeLayout instead.

Another option is to use qt5ct. If you set the theme to Breeze and set the following menu option to GNOME, things look and feel much like KDE.

enter image description here

However, since I'd like to stay as close to KDE behavior as possible in all respects but the dialog button layout, I didn't find this option satisfactory. Your best bet is to patch plasma-intergration. Maybe at some point it will be updated so that it's possible to set your preferred dialog button layout.

  • Two years later, it is still hardcoded. I'm surprised that there is no option to change this. Commented Mar 31, 2020 at 16:46
  • @valsaysReinstateMonica Be the change you want to see in the world I guess. ;) Commented Mar 31, 2020 at 18:06
  • I've found how to change this: use gtk2 theme (available in ubuntu repo). Should write an answer about this. Commented Mar 31, 2020 at 21:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .