Rounded corners in windows...?

Message
Author
User avatar
MintHawk
Posts: 114
Joined: Tue Sep 10, 2019 12:27 pm

Rounded corners in windows...?

#1 Post 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.

User avatar
CharlesV
Global Moderator
Posts: 7479
Joined: Sun Jul 07, 2019 5:11 pm

Re: Rounded corners in windows...?

#2 Post 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.
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

User avatar
asqwerth
Developer
Posts: 7958
Joined: Sun May 27, 2007 5:37 am

Re: Rounded corners in windows...?

#3 Post 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.
You do not have the required permissions to view the files attached to this post.
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

User avatar
MintHawk
Posts: 114
Joined: Tue Sep 10, 2019 12:27 pm

Re: Rounded corners in windows...?

#4 Post by MintHawk »

Many thanks for the answers.
I'll check them out.

User avatar
manyroads
Posts: 2657
Joined: Sat Jun 30, 2018 6:33 pm

Re: Rounded corners in windows...?

#5 Post 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.
Pax vobiscum,
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken

MXRobo
Posts: 1834
Joined: Thu Nov 14, 2019 12:09 pm

Re: Rounded corners in windows...?

#6 Post by MXRobo »

Ye shall not round the corners of your heads. Leviticus 19:27 :p

User avatar
CharlesV
Global Moderator
Posts: 7479
Joined: Sun Jul 07, 2019 5:11 pm

Re: Rounded corners in windows...?

#7 Post 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.)
You do not have the required permissions to view the files attached to this post.
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

User avatar
bin
Posts: 68
Joined: Sun Aug 30, 2009 1:53 am

Re: Rounded corners in windows...?

#8 Post by bin »

ksnip_20231025-163120.png
Bluecurve Revival provides nice rounded corners
You do not have the required permissions to view the files attached to this post.

User avatar
MintHawk
Posts: 114
Joined: Tue Sep 10, 2019 12:27 pm

Re: Rounded corners in windows...?

#9 Post by MintHawk »

Thank you all for the answers.

ne0h
Posts: 102
Joined: Sun Jan 31, 2021 6:02 am

Re: Rounded corners in windows...?

#10 Post by ne0h »

Fall in love with the legendary bluecurve theme of red hat!
intel core i7-4790S-16giga RAM-Nvidia 1050ti- HDD 1T

Post Reply

Return to “XFCE Desktop Environment”