Where are the mouse themes read?
Alexander Schwinn
acs82 at gmx.de
Fri Aug 15 15:32:05 CEST 2025
> That is the possible themes. I am after only the ones that show in
https://ibb.co/SDbj64kD
Mouse/Cursor themes afaik are PART of icon themes. But not all icon
themes do have a mouse theme.
> The ones in Red. In other words, the ones that Xfce has installed and
that show in Mouse and Touchpad themes tab.
Xfce does not install any icon/mouse themes at it's own. Distros do
usually install some by default.
Without looking at the code, I suppose xfce4-mouse-settings just scanns
$XDG_DATA_DIRS and $XDG_DATA_HOME and lists all themes which do provide
a "cursors" folder.
BR, Alex
Am 15.08.25 um 15:18 schrieb ToddAndMargo:
> On 8/15/25 4:30 AM, Silvio Knizek wrote:
>> Am Freitag, dem 15.08.2025 um 03:38 -0700 schrieb ToddAndMargo:
>>
>>> Hi All,
>>>
>>> Fedora 41
>>> Xfce 4.18
>>>
>>> I have been reading through
>>> [https://gitlab.xfce.org/xfce/xfce4-settings/-/tree/master/dialogs/mouse-settings](https://gitlab.xfce.org/xfce/xfce4-settings/-/tree/master/dialogs/mouse-settings)
>>>
>>> to try and figure out where mouse settings is reading the
>>> installed themes shown in the red block here:
>>>
>>> [https://ibb.co/SDbj64kD](https://ibb.co/SDbj64kD)
>>>
>>> I think is might start with line 542,
>>> if (xfce_rc_has_group (rc, "Icon Theme"))
>>>
>>> but I am thoroughly confused.
>>>
>>> Are the installed mouse themes not stored in a file
>>> somewhere or an X11 call that will list them?
>>>
>>> Yours in confusion,
>>> -T
>>
>> Hi,
>>
>> cursor themes are in
>> `{${XDG_DATA_DIRS},${XDG_DATA_HOME}}/icons/${theme_name}/cursors`
>>
>> - `$XDG_DATA_DIRS` defaults to `/usr/local/share:/usr/share`,
>> - `$XDG_DATA_HOME` defaults to `$HOME/.local/share`.
>>
>> HTH,
>> Silvio
>
> Hi Silvio,
>
> That is the possible themes. I am after only the ones that
> show in
> https://ibb.co/SDbj64kD
> The ones in Red. In other words, the ones that Xfce
> has installed and that show in Mouse and Touchpad
> themes tab.
>
> In the above, it is only three.
> Adwaita (which is the default)
> MATE (I have MATE installed too.)
> MATE (Black)
>
> I am after this list from the command line.
>
> -T
>
> _______________________________________________
> Xfce mailing list
> Xfce at xfce.org
> https://mail.xfce.org/mailman/listinfo/xfce
> http://www.xfce.org
More information about the Xfce
mailing list