Page 1 of 1

Rounded corners in windows...?

Posted: Tue Oct 10, 2023 6:23 am
by MintHawk
Hello, everyone.
I was wondering if there is a way we can manually configure the windows in XFCE so as to have rounded corners in the default MX theme.

Re: Rounded corners in windows...?

Posted: Tue Oct 10, 2023 11:16 am
by CharlesV
Supposedly, you can use the picom compositor (available in the MX Repos) to round corners, however I have not been successful in making that work.

You CAN however modify any theme you like and with a little work round the corners pretty nicely.

Re: Rounded corners in windows...?

Posted: Tue Oct 10, 2023 11:49 am
by asqwerth
I assume you are referring to MX XFCE.

For gtk3 applications that don't use the gnome CSD theming, the XFCE window decorations/border theme is separate from the gtk3 theme (which themes the elements within the window) and is themed by xfwm4 border decoration themes.

Either you learn how to edit all the graphical elements in the xfwm4 theme for mx-comfort:
http://sevkeifert.blogspot.com/2014/12/ ... buntu.html

https://superuser.com/questions/436541/ ... untu-12-04

https://wiki.xfce.org/howto/xfwm4_theme

OR
you search around for xfwm4 themes with rounded corners (check the "default" xfwm4 theme under "Window Manager" in the whisker menu. I believe that xfwm4 theme has slightly rounded corners.

[note - some xfwm4 themes use picture files (like png) instead of .xpm format, so if you are handy with drawing/graphic tools, you can make your own xfwm4 png files with rounded corners, or edit from an existing theme. For instance, Matcha themes use png files for the xfwm4 theme.

However, gtk3 apps that use gnome CSD theming will have all elements including window borders themed by the gtk3 theme. So again, you will need to either find a gtk theme with rounded corners or learn css syntax so you can modify the css sheets in the gtk theme.

Or, I have previously used oomox (a helpful graphical tool) to create a theme with rounded corners for CSD apps, though the xfwm4 theme that was generated by oomox was a standard straight corner window.
Here's what a CSD gtk3 app looks like with that theme I created:
ksnip_20231010-234501.png
So you can try installing oomox. Not sure if it's in MX23's repos (I'm booted into another distro now), but it's available as a flatpak.

Caution: once Debian 13 hits, some apps will be be using gtk4. Gtk4 apps originating from Gnome will use libadwaita, and thus be hardcoded to use only adwaita theme. They will ignore whichever theme you use.

Re: Rounded corners in windows...?

Posted: Wed Oct 11, 2023 5:49 am
by MintHawk
Many thanks for the answers.
I'll check them out.

Re: Rounded corners in windows...?

Posted: Wed Oct 11, 2023 6:34 am
by manyroads
MintHawk wrote: Wed Oct 11, 2023 5:49 am Many thanks for the answers.
I'll check them out.
FWIW: If you use window managers (e.g. fluxbox, hlwm, i3wm, hyprland,etc.) other than xfce4, kde, etc, you have different options. Wayland, also, provides different options.

Re: Rounded corners in windows...?

Posted: Wed Oct 11, 2023 10:28 am
by MXRobo
Ye shall not round the corners of your heads. Leviticus 19:27 :p

Re: Rounded corners in windows...?

Posted: Wed Oct 11, 2023 11:05 am
by CharlesV
Sorry ... HAD to be done ;-p

This is the standard mx-comfort-thick-border, with rounded corners, increased upper border size and then my 'standard' larger Maximize and Close icons on Active windows. ( Inactive are all rounded too, but regular icons - makes spotting windows very simple.)

Re: Rounded corners in windows...?

Posted: Wed Oct 25, 2023 11:32 am
by bin
ksnip_20231025-163120.png
Bluecurve Revival provides nice rounded corners

Re: Rounded corners in windows...?

Posted: Sat Nov 04, 2023 5:40 am
by MintHawk
Thank you all for the answers.

Re: Rounded corners in windows...?

Posted: Mon Nov 06, 2023 4:08 pm
by ne0h
Fall in love with the legendary bluecurve theme of red hat!

Re: Rounded corners in windows...?

Posted: Mon Nov 06, 2023 4:52 pm
by Stevo
There are a few applications in Bookworm's and even our own MX 23 repos that are already using GTK 4, such as system-monitoring-center...