How do you change the order of the “OK” and “Cancel” buttons in dialog boxes of Gnome applications running in a KDE environment?  Is there a centralized place you can make such a setting?

I am running kubuntu 18.0.4.

enter image description here

I have figured out that for Firefox you can swap the buttons by changing the userChrome.css file, but this affects only Firefox.

enter image description here

.dialog-button-box { -moz-box-direction: reverse; -moz-box-pack: right; }
.dialog-button-box spacer { display: none !important; } 

I have also tried adding gtk-alternative-button-order = 1 to the settings.ini file in ~/.config/gtk-3.0/, but that does nothing.

Is it even possible?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.