I got the same very ugly cursor in the DE COSMIC Epoch 1 (alpha 6) on the Pop!_OS 24.04 LTS (kernel 6.12, nvidia 565, and Wayland), Steam was installed using the official .deb downloaded from https://store.steampowered.com/about.
I'm trying to make Breeze_Snow or even breeze_cursors work which was installed with sudo apt install breeze-cursor-theme, heck the Steam cursor is so weird and ulgy that even the Adwaita cursor would make me happy, so I tried to make Adwaita work too but no luck.
I also tried adding this to /etc/profile and ~/.profile
export XCURSOR_PATH=/home/$USER/.icons/
export XCURSOR_THEME=Breeze_Snow
export XCURSOR_SIZE=16
This works for a lot of apps, the ones that don't get the Breeze cursor, use the default cursor in my system which is "adwaita" the only exception is Steam
I also tried sudo update-alternatives --config x-cursor-theme that also fixed some apps not using my cursor, but it did not work on Steam.
@z1atk0 solution (both the ones that worked for him and the ones that didn't) did not work for me unfortunately.
Edit: Just adding info, my cursors are in /usr/share/icons but I also tried doing a copy and a symlink to /home/$USER/.icons/, with every single change I restarted the whole system to see if it works.
I also got the same ugly cursor on COSMIC Epoch 1. Steam was installed from the COSMIC Store. I found that setting your cursor theme this way fixes it.
xrdb -merge <<EOF
Xcursor.theme: Adwaita
Xcursor.size: 24
EOF
Edit: This isn't permanent and will reset after a reboot so you'll need to set it permanently.
@z1atk0's solution also did not work for me, but the following from the other thread did: https://github.com/ValveSoftware/steam-for-linux/issues/11484#issuecomment-3431841461
Your system information
Please describe your issue in as much detail as possible:
At some point during the last weeks, my Steam client suddenly started using the old, ugly X11 default icons instead of the system-wide configured default ones from Adwaita.
Slackware does not ship GNOME, so on my system it's all self-compiled and installed into
/usr/localvia GNUstow. In particular, the Adwaita icon set is located in/usr/local/share/icons/Adwaita, and the cursors are located in thecursorssubfolder of that, ie./usr/local/share/icons/Adwaita/cursors. My$XDG_DATA_DIRSis set accordingly:After a lot of head-scratching, I decided to use
straceto see what's going on, and this showed that some Steam (sub)processes do look into/usr/local/share/icons/Adwaita/cursorsand are able to access it, some also do look there, but turn up empty handed for some reason (-1 ENOENT), and some don't even bother to look there, and only look into/usr/share/icons/Adwaita,/run/host/user-share/icons/Adwaitaand/run/host/share/icons/Adwaitainstead. I have no idea where/run/hostcomes from, this directory does not exist on my system.Of the two processes that do actually follow
$XDG_DATA_DIRS, only one of them manages to actually read the files, the other one, for some reason I cannot quite understand (chroot? sandbox? bwrap?), gets-1 ENOENT (No such file or directory)for the very same files that the other process can read just fine.All other (sub)processes are only looking in places which are bound to fail.
Here's a tarball containing the full strace logs, just in case that helps to figure out what's going on:
steam-strace.tar.gz NOTE: this is actually a
.tar.xz, but GitHub won't allow me to upload that. However, when compressing withgzip, the tarball is 28MB, and GitHub only allows 25MB for uploads. :roll_eyes: So I compressed it withxz(version 5.2.5, so no worries about backdoors :wink:) and renamed it to.gz.What does not fix the problem:
Adwaitadirectory directly to/usr/local/share/icons(instead of having it symlinked there bystow)cd ~/.icons; ln -s /usr/local/share/icons/Adwaita/ .orcd /usr/share/icons; ln -s /usr/local/share/icons/Adwaita/ .)mkdir ~/.icons/Adwaita/cursors; cd ~/.icons/Adwaita/cursors; ln -s /usr/local/share/icons/Adwaita/cursors/* .ormkdir /usr/share/icons/Adwaita/cursors; cd /usr/share/icons/Adwaita/cursors; ln -s /usr/local/share/icons/Adwaita/cursors*/ .)What does actually fix the problem:
Adwaitafolder to either~/.icons/Adwaitaor/usr/share/icons/Adwaita, ie.cp -av /usr/local/share/icons/Adwaita ~/.icons/.orcp -av /usr/local/share/icons/Adwaita /usr/share/icons/./usr/local/share/icons/Adwaitaat/home/zlatko/.local/share/icons/Adwaita, ie. having a line like/usr/local/share/icons/Adwaita /home/zlatko/.local/share/icons/Adwaita none bind,ro 1 0in/etc/fstabSooo ... what's up with that? Why can't I have my system icon & cursor theme in
/usr/localanymore, all of a sudden? :thinking: :man_shrugging:Steps for reproducing this issue:
/usr/local(or anywhere else, other than~/.iconsand/usr/share/icons, for that matter).$XDG_DATA_DIRSaccordingly.steam.steamproudly showing X11's cursor icons from the late 1980s, instead of your configured modern icon theme. :scream_cat:If there's anything else you need to know about my system or setup, just let me know. Thanks for listening! :+1: :slightly_smiling_face:
EDIT 2024-06-28: added second workaround