Default cursor on electron apps

i have the problem that steam and heroic game launcher dont accept my cursor. i use the bibata cursor via yay. my uwsm env is set with:

export QT_QPA_PLATFORM=wayland,xcb
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
export QT_QPA_PLATFORMTHEME=qt6ct
export XCURSOR_THEME=Bibata-Modern-Classic
export XCURSOR_SIZE=24
export GDK_BACKEND=wayland,x11,*
export SDL_VIDEODRIVER=wayland
export CLUTTER_BACKEND=wayland

“gsettings set org.gnome.desktop.interface cursor-theme ‘Bibata-Modern-Classic’ “ and “hyprctl setcursor Bibata-Modern-Classic 24” is set

in the past i solved this problem. but i dont know this anymore. i’ve nuked my entire system and the problem is back….

I don’t know either, check the arch wiki. Client-side cursors are a mess

I think I fixed Steam (native) cursor by setting it with nwg-look. Nwg-look touches these files
Exporting /home/x/.config/gtk-3.0/settings.ini
Exporting /home/x/.gtkrc-2.0
Exporting /home/x/.icons/default/index.theme
Exporting /home/x/.config/xsettingsd/xsettingsd.conf
Symlinking files in /home/x/.config/gtk-4.0
Exporting /home/x/.config/gtk-4.0/settings.ini

Also I’m setting these things in Hyprland config

env = HYPRCURSOR_SIZE,32
env = HYPRCURSOR_THEME,Bibata-Modern-Amber
env = XCURSOR_SIZE,32
env = XCURSOR_THEME,Bibata-Modern-Amber
env = QT_CURSOR_SIZE,32

Also I had to manually copy cursor to /home/x/.icons/ or /usr/share/icons

Not sure any more which folder it was.

i got a solution… and it’s so stupid :disguised_face: i deleted the original adwaita cursor, duplicated my bibata folder and renamed it to adwaita