You are not logged in.

#1 2025-01-09 15:25:46

JoelMyBoy
Member
Registered: 2024-05-25
Posts: 6

[SOLVED] gsettings not setting cursor theme

Trying to customize my cursor on Hyprland.

Currently have these environment variables in my hyprland.conf

env = XCURSOR_SIZE,24
env = XCURSOR_THEME,Bibata-Modern-Ice

Its working for my terminal, Kitty, but not my electron browser, Min.

The page https://wiki.hyprland.org/Hypr-Ecosystem/hyprcursor/ informs me that I need to run

gsettings set org.gnome.desktop.interface cursor-theme 'THEME_NAME'

but that just does not work. See:

> gsettings set org.gnome.desktop.interface cursor-theme 'Bibata-Modern-Ice'
> gsettings get org.gnome.desktop.interface cursor-theme
'Adwaita'
> 

I found this answer: https://askubuntu.com/a/531754 on the askubuntu forums which suggest making sure everything is writeable and owned by you which didn't work either:

> sudo chown $USER:$USER ~/.config/dconf -R
> chmod u+w ~/.config/dconf -R
> gsettings set org.gnome.desktop.interface cursor-theme 'Bibata-Modern-Ice'
> gsettings get org.gnome.desktop.interface cursor-theme
'Adwaita'

Thanks in advance for the help

Last edited by JoelMyBoy (2025-01-11 21:00:43)

Offline

#2 2025-01-09 21:39:41

seth
Member
Registered: 2012-09-03
Posts: 60,768

Re: [SOLVED] gsettings not setting cursor theme

stat ~/.config/dconf/user

https://wiki.archlinux.org/title/Cursor_themes

~/.config/gtk-3.0/settings.ini

[Settings]
…
gtk-cursor-theme-name=Bibata-Modern-Ice
…

~/.icons/default/index.theme

[Icon Theme]
Name=Default
Comment=Default Cursor Theme
Inherits=Bibata-Modern-Ice

Offline

#3 2025-01-11 15:17:21

JoelMyBoy
Member
Registered: 2024-05-25
Posts: 6

Re: [SOLVED] gsettings not setting cursor theme

Manually modifying the config files didn't work for some reason. For posterity here's what worked:

In hyprland.conf

env = XCURSOR_SIZE,24
env = XCURSOR_THEME,Bibata-Modern-Ice

Selecting Bibata-Modern-Ice in nwg-look

And running

hyprctl setcursor Bibata-Modern-Ice 24

Offline

#4 2025-01-11 20:11:54

seth
Member
Registered: 2012-09-03
Posts: 60,768

Re: [SOLVED] gsettings not setting cursor theme

So basically the dealmaker was "hyprctl setcursor Bibata-Modern-Ice 24" (the only difference from your OP)?

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

#5 2025-01-11 21:00:59

JoelMyBoy
Member
Registered: 2024-05-25
Posts: 6

Re: [SOLVED] gsettings not setting cursor theme

Yep and gotcha will mark as solved

Offline

Board footer

Powered by FluxBB