Where are the mouse themes read?
ToddAndMargo
ToddAndMargo at zoho.com
Fri Aug 15 15:58:55 CEST 2025
> 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
On 8/15/25 6:32 AM, Alexander Schwinn wrote:
> > 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
>
Hi Alex,
Now it is making more sense.
$ find /usr/share -iname cursors
/usr/share/icons/mate-black/cursors
/usr/share/icons/Adwaita/cursors
/usr/share/icons/mate/cursors
/usr/share/inkscape/icons/Dash/cursors
/usr/share/inkscape/icons/multicolor/cursors
/usr/share/inkscape/icons/hicolor/cursors
But I am still confused as to why only
Adwaita (which is the default)
MATE (I have MATE installed too.)
MATE (Black)
show and not
Dash
multicolor
hicolor
as well.
How does Xfce know to avoid the "inkscape" directories?
Is something missing from them?
Your in confusion,
-T
More information about the Xfce
mailing list