Xfce Forum

Sub domains
 

You are not logged in.

#1 2025-03-24 09:33:20

NameToBasic
Member
Registered: 2024-11-19
Posts: 7
LinuxFirefox 128.0

[Waiting for solution] Header font weight in thunar sidebar.

I've been trying to adjust the header fonts in Thunar's side pane to appear standard, but I'm running into an issue; I just cannot seem to change it.

image.png?raw=true
Current appearance of the Thunar side pane.

I experimented with GTK-inspector by adding a font-weight and font-style property targeting the selector ".thunar treeview.view header" including several other selectors, but the change had no effect; the font weight remains unchanged. I have also noticed that the header font size is a bit bigger as well.

For further clarification, here's an image detailing the issue:
image.png?raw=true

This is a image I edited in GIMP to represent the wanted result:
image.png?raw=true

Is it possible to make the header font weight normal at all? Any insights on how to achieve this customization would be greatly appreciated!

Last edited by NameToBasic (2025-04-06 20:48:01)

Offline

#2 2025-03-24 15:03:43

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,993
LinuxFirefox 136.0

Re: [Waiting for solution] Header font weight in thunar sidebar.

I can't affect this element either. Looks like its somehow hard-coded.


Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2025-03-24 15:44:02

Clio
Member
From: Germany
Registered: 2011-01-25
Posts: 118
LinuxFirefox 136.0

Re: [Waiting for solution] Header font weight in thunar sidebar.

You can look into the system theme if it is accessible for changes, i.e. if it is not a gresource file.
Search terms would be menu, menuitem, sidepane or headerbar.

Offline

#4 2025-03-24 16:38:23

NameToBasic
Member
Registered: 2024-11-19
Posts: 7
LinuxFirefox 128.0

Re: [Waiting for solution] Header font weight in thunar sidebar.

Thank you for the replies!

Hmm... perhaps there are no solutions to this problem. I have tried experimenting with several tools over the past months to achieve the result (such as GTK-Inspector and several template themes), but without success, therefore, I thought this forum could be the only way to solve my problem, but it does not look like it might be solved here either.

Oof...

Perhaps there is an internal setting I have to adjust or a configuration file I need to edit. I hope someone could get a further look at it.

Last edited by NameToBasic (2025-03-24 17:18:25)

Offline

#5 2025-04-06 20:44:43

NameToBasic
Member
Registered: 2024-11-19
Posts: 7
LinuxFirefox 128.0

Re: [Waiting for solution] Header font weight in thunar sidebar.

ToZ wrote:

I can't affect this element either. Looks like its somehow hard-coded.

Clio wrote:

You can look into the system theme if it is accessible for changes, i.e. if it is not a gresource file.
Search terms would be menu, menuitem, sidepane or headerbar.

Hi, are there any updates on this topic? Have anyone come up with a solution?

And, by the way, since you (Clio) mentioned it may be accessible through the GTK system theme; where is the system theme located?

Last edited by NameToBasic (2025-04-20 19:46:43)

Offline

#6 2025-04-20 19:43:38

NameToBasic
Member
Registered: 2024-11-19
Posts: 7
LinuxFirefox 128.0

Re: [Waiting for solution] Header font weight in thunar sidebar.

Are there? I am making a GTK-theme and I hope to reduce the font-weight on the sidepane headers any time soon...

Offline

#7 2025-04-20 21:34:43

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,993
LinuxFirefox 137.0

Re: [Waiting for solution] Header font weight in thunar sidebar.

I don't think its possible with CSS, or at least I don't see how. You can make a request here to see what the developer says.


Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#8 2025-04-25 08:43:56

NameToBasic
Member
Registered: 2024-11-19
Posts: 7
LinuxFirefox 128.0

Re: [Waiting for solution] Header font weight in thunar sidebar.

I just need to change some code in the "post-compiled" code to make the font weight to normal, it seems...

https://gitlab.xfce.org/xfce/thunar/-/issues/1617

ToZ wrote:

Looks like its somehow hard-coded.

Looks like you were right.

Last edited by NameToBasic (2025-04-25 14:33:18)

Offline

#9 2025-04-26 13:12:51

Clio
Member
From: Germany
Registered: 2011-01-25
Posts: 118
LinuxFirefox 137.0

Re: [Waiting for solution] Header font weight in thunar sidebar.

Your screenshot has made it clearer for me.
Unfortunately, it is not possible to change a system theme. But you could compile thunar yourself, as suggested by ToZ. It's not that difficult, the maintainer has already specified the relevant places.
By the way, the path for the system themes is /usr/share/themes.

Or as an alternative you can install the font fira
https://www.1001fonts.com/fira-sans-font.html
and select fira sans medium.  I use this font myself, so there is no difference.
Or you can try another font from the repo.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.015 seconds, 7 queries executed - Memory usage: 574.34 KiB (Peak: 591.18 KiB) ]