Skip to content

weird cursor on Linux #11484

Open
Open

Description

@griffi-gh

Your system information

  • Steam client version (build number or date): 1731433018
  • Distribution (e.g. Ubuntu): NixOS (nixos-unstable)
  • Opted into Steam client beta?: No
  • Have you checked for system updates?: Yes
  • Steam Logs: steam-logs.tar.gz
  • GPU: AMD

Please describe your issue in as much detail as possible:

Steam does not use system cursor (except pointer in non-Web ui parts only) and instead falls back onto some sort of default one.

Steps for reproducing this issue:

  1. Open steam
  2. Hover either over any webui part, any part of the ui that changes the cursor or the steam overlay

Screenshot_20241117_155112
Screenshot_20241117_155123
Screenshot_20241117_155130

Non-webui parts of the UI still display the correct cursor:

image

I'm using breeze_cursors on KDE Plasma 6 (Wayland)

Activity

  1. o-alquimista commented on Dec 2, 2024

    @o-alquimista

    I can reproduce on elementary OS 8 "Circe", on Secure Session (Wayland). Maybe it's not specific to NixOS.

  2. andre4ik3 commented on Dec 15, 2024

    @andre4ik3

    For NixOS, this fix worked for me:

    {
      xdg.icons.fallbackCursorThemes = [ "breeze_cursors" ];
    }

    (or substitute any other cursor theme)

    For other OS'es, put this into /usr/share/icons/default/index.theme? (haven't tested but it's what the NixOS option does internally):

    [Icon Theme]
    Inherits=breeze_cursors
  3. LunaAmora commented on Dec 16, 2024

    @LunaAmora

    For NixOS, this fix worked for me:

    {
      xdg.icons.fallbackCursorThemes = [ "breeze" ];
    }

    Was glad someone had a solution, but sadly it did not fix the issue on my machine :/

  4. MichaelCDormann commented on Dec 26, 2024

    @MichaelCDormann

    Replying to #11484 (comment)

    This does not fix the issue for me either. Neither does manually creating /usr/share/icons/default/index.theme

  5. andre4ik3 commented on Dec 26, 2024

    @andre4ik3

    Sorry it's breeze_cursors and not breeze, breeze is just the normal icon theme :P

    This should work:

    {
      xdg.icons.fallbackCursorThemes = [ "breeze_cursors" ];
    }

    Followed by a nixos-rebuild switch and restarting Steam.

    You could also fix it by linking it like this: ln -s /run/current-system/sw/share/icons/breeze_cursors ~/.local/share/icons/default, for your user only.

    Or really any way of setting the default xcursor theme. You can see the paths Steam will search for the theme by running steam-run env | grep XCURSOR_PATH, and in one of them you just need to make a default theme pointing to your desired cursor theme, either by symlinking or making a theme that inherits it. The issue here is NixOS (and maybe elementary OS) doesn't set default cursor theme, and Steam can't seem to get it from anywhere else as it runs in its own FHS environment and under Xwayland.

  6. griffi-gh commented on Oct 22, 2025

    @griffi-gh
    Author

    xdg.icons.fallbackCursorThemes = [ "breeze_cursors" ];

    ln -s /run/current-system/sw/share/icons/breeze_cursors ~/.local/share/icons/default

    @andre4ik3 neither of those fix it for me

  7. griffi-gh commented on Oct 22, 2025

    @griffi-gh
    Author

    what DID work for me though is:

    cp -rL /run/current-system/sw/share/icons/breeze_cursors ~/.local/share/icons/default
    

    Physically/recursively copying the cursor theme to my home directory without any symlinks

    seems to be related to #10808

  8. maxdexh commented on Oct 23, 2025

    @maxdexh
    cp -rL /run/current-system/sw/share/icons/breeze_cursors ~/.local/share/icons/default
    

    Thanks, this worked for me too! Based on this, using home-manager you can just do:

    home.file.".local/share/icons/default" = {
      source = "${pkgs.kdePackages.breeze}/share/icons/breeze_cursors/";
      recursive = true;
    };

    This only copies the directory structure; the files are symlinked, but it worked anyway.
    I guess steam doesn't follow symlinked directories?

  9. mazdatribute commented on Dec 4, 2025

    @mazdatribute

    btw that "weird cursor" is the adwaita cursor. in case anyone cared. changing it breaks my client.

  10. gregorywaynepower commented on May 27, 2026

    @gregorywaynepower

    Replying to #11484 (comment)

    Is this possible without home manager? Seems like we'd need additional logic for GNOME and KDE at the least.

  11. maxdexh commented on May 27, 2026

    @maxdexh

    Not practically, unless you can find a system path that works the same way. Home directory is home-manager territory for the most part

    idk what you mean with gnome/kde

  12. gregorywaynepower commented on May 27, 2026

    @gregorywaynepower

    Not practically, unless you can find a system path that works the same way. Home directory is home-manager territory for the most part

    idk what you mean with gnome/kde

    Your example only references pkgs.kdePackages.breeze is why I bring it up. I'm assuming a GNOME user would complain that their cursor would be look different from the rest of their environment.

    I see your point with home manager being the reasonable option here. I wasn't sure if there was a path towards implementing this as an option for end users who haven't used home manager.

  13. maxdexh commented on May 27, 2026

    @maxdexh

    I mean the reasonable way forward would be for someone to fix this bug, but at this point this has been in my config for so long that I wasn't even aware that it still exists until your comment ^^

    regarding gnome/kde, yes, in general, you should replace kdePackages.breeze with whatever cursor theme you are using and adjust the rest of the path to match its directory structure.

  14. gregorywaynepower commented on May 28, 2026

    @gregorywaynepower

    Replying to #11484 (comment)

    Unfortunately, the first of these two solutions didn't work--which leads me to believe that it doesn't solve the second. Especially with my issue of Steam not respecting my scaling.

  15. maxdexh commented on May 28, 2026

    @maxdexh

    Did you try with breeze or with a gnome theme? If the latter, try with breeze to check if it works at all.
    Also what desktop are you on? My solution worked in KDE back in the day and now I am using hyprland and it still works.

    Oh, also, the scaling is an XWayland thing. You can fix it the way KDE does by running echo "Xft.dpi: <DPI>" | xrdb -merge once every startup, where you replace <DPI> with your scaling factor times 96. For example, I use scaling factor 1.333, so I use dpi 128. This might break some applications (none that I know of) and cannot be set per-monitor, but is better than no scaling.

  16. gregorywaynepower commented on Jun 24, 2026

    @gregorywaynepower

    Did you try with breeze or with a gnome theme? If the latter, try with breeze to check if it works at all. Also what desktop are you on? My solution worked in KDE back in the day and now I am using hyprland and it still works.

    Oh, also, the scaling is an XWayland thing. You can fix it the way KDE does by running echo "Xft.dpi: <DPI>" | xrdb -merge once every startup, where you replace <DPI> with your scaling factor times 96. For example, I use scaling factor 1.333, so I use dpi 128. This might break some applications (none that I know of) and cannot be set per-monitor, but is better than no scaling.

    I tried it with breeze dark specifically. I appreciate the insight. I'll see if I can give it a go and report back if I have the time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions