Xfce Forum

Sub domains
 

You are not logged in.

#1 2025-09-04 23:03:12

quefacilescriticar
Member
Registered: 2025-09-04
Posts: 6
LinuxFirefox 128.0

The desktop font size

The desktop font size cannot be set to 0, the minimum is 2. Does anyone know how to fix this problem?

Offline

#2 2025-09-04 23:10:26

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 12,190
LinuxFirefox 142.0

Re: The desktop font size

Hello and welcome.

The limit is a UI limit. Uncheck the font size option in desktop settings and add the following to ~/.config/gtk-3.0/gtk.css:

XfdesktopIconView {font-size: 0px}

You'll need to restart xfdesktop or log out and back in again for the change to have an effect.


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-09-07 11:05:56

quefacilescriticar
Member
Registered: 2025-09-04
Posts: 6
LinuxFirefox 128.0

Re: The desktop font size

Thank you very much for answering. Unfortunately, the solution you suggested didn't work for me on my Debian. I appreciate it anyway.





ToZ wrote:

Hello and welcome.

The limit is a UI limit. Uncheck the font size option in desktop settings and add the following to ~/.config/gtk-3.0/gtk.css:

XfdesktopIconView {font-size: 0px}

You'll need to restart xfdesktop or log out and back in again for the change to have an effect.

Offline

#4 2025-09-07 14:02:57

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 12,190
LinuxFirefox 142.0

Re: The desktop font size

It should work. Did you log out and back in again? Can you post back the contents of the gtk.css file?

Also, what version of xfdesktop are you running?

Last edited by ToZ (2025-09-07 14:10:11)


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

#5 2025-09-07 19:58:09

quefacilescriticar
Member
Registered: 2025-09-04
Posts: 6
LinuxFirefox 128.0

Re: The desktop font size

Hi toZ, thank you very much for helping me.
The version of xfdesktop is 4.20m. I created the gtk.css file since Debian didn't have it.
The file contents:
XfdesktopIconView {font-size: 0px}.
The file path is:
~/.config/gtk-3.0/gtk.css:



ToZ wrote:

It should work. Did you log out and back in again? Can you post back the contents of the gtk.css file?

Also, what version of xfdesktop are you running?

Offline

#6 2025-09-07 20:25:58

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 12,190
LinuxFirefox 142.0

Re: The desktop font size

Which debian version do you have?

Did you restart xfdesktop or log out and back in again?

Also, can you post back the output of:

ps -ef | grep -i desktop

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

#7 2025-09-08 19:03:02

quefacilescriticar
Member
Registered: 2025-09-04
Posts: 6
LinuxFirefox 128.0

Re: The desktop font size

Hi again toZ, xfdesktop --restart doesn't work on Debian, but I understand that xfdesktop restarts every time the system is rebooted.
The version of Debian I'm using is Trixie 13, but the problem is with xfce 4.20 and 4.18; it didn't happen with previous versions.

ps -ef | grep -i desktop

1014     870  0 19:43 ?        00:00:02 xfdesktop
   1297     845  0 19:44 ?        00:00:00 /usr/libexec/xdg-desktop-portal
   1333     845  0 19:45 ?        00:00:00 /usr/libexec/xdg-desktop-portal-gtk
    2978    2972  0 21:01 pts/0    00:00:00 grep -i desktop







ToZ wrote:

Which debian version do you have?

Did you restart xfdesktop or log out and back in again?

Also, can you post back the output of:

ps -ef | grep -i desktop

Offline

#8 2025-09-08 19:24:20

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 12,190
LinuxFirefox 142.0

Re: The desktop font size

Hmm. This is really strange. I've installed Debian Trixie in a VM and this snippet works for me.

Are you running as root and/or is the xfdesktop process running as a different user than your logged in user?

As a sanity check, can you post back the output after running these commands?

ls -l ~/.config/gtk-3.0
cat ~/.config/gtk-3.0/gth.css

And finally, what GTK (Appearance) theme are you using? Maybe its over-ridding something.


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

#9 2025-09-09 19:59:49

quefacilescriticar
Member
Registered: 2025-09-04
Posts: 6
LinuxFirefox 142.0

Re: The desktop font size

Hi hoZ, it seems the problem is with Debian and its derivatives (the same thing happens with MX Linux). Everything works correctly with Linux Mint Xfce, so I understand it's a Debian issue with Xfce. I thought the problem was with Xfce 4.20, but it seems I was mistaken. Thank you very much for your interest; I really appreciate it.



ToZ wrote:

Hmm. This is really strange. I've installed Debian Trixie in a VM and this snippet works for me.

Are you running as root and/or is the xfdesktop process running as a different user than your logged in user?

As a sanity check, can you post back the output after running these commands?

ls -l ~/.config/gtk-3.0
cat ~/.config/gtk-3.0/gth.css

And finally, what GTK (Appearance) theme are you using? Maybe its over-ridding something.

Offline

#10 2025-09-09 21:50:01

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 12,190
LinuxFirefox 142.0

Re: The desktop font size

But it works in my Debian VM. I'm curious now. Can you do the 3 following things:

  1. Post back the output of:

    ls -l ~/.config/gtk-3.0
    cat ~/.config/gtk-3.0/gth.css
  2. Are you running any aspect of your desktop as root?

  3. what GTK (Appearance) theme are you using?

    xfconf-query -c xsettings -p /Net/ThemeName

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

#11 2025-09-10 18:34:56

quefacilescriticar
Member
Registered: 2025-09-04
Posts: 6
LinuxFirefox 143.0

Re: The desktop font size

Hi hoZ, I've uninstalled Debian Xfce and installed Mint Xfce, which works correctly, so I can't do what you're asking. Thank you very much for everything.








ToZ wrote:

But it works in my Debian VM. I'm curious now. Can you do the 3 following things:

  1. Post back the output of:

    ls -l ~/.config/gtk-3.0
    cat ~/.config/gtk-3.0/gth.css
  2. Are you running any aspect of your desktop as root?

  3. what GTK (Appearance) theme are you using?

    xfconf-query -c xsettings -p /Net/ThemeName

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.012 seconds, 7 queries executed - Memory usage: 593.28 KiB (Peak: 610.13 KiB) ]